Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Ошибка 404 на ImageCMS

1 USD

Client does not wish to make a prepayment? Payment through Safe helps avoid potential fraud.
  1. 1893    72  4   3
    1 day7 USD

    Давайте гляну, опыт есть.
    Пишите сюда, либо в личку, в течении часа решу.

  2. 1 proposal concealed
  • Profile blocked
    7 April 2018, 20:14 |

    Можно пожалуйста ссылку на сайт

  • Andrey Tokarev
    7 April 2018, 20:14 |

    http://likel.com.ua/

  • Andrey S
    7 April 2018, 20:15 |

    htaccess угробили

  • Andrey Tokarev
    7 April 2018, 20:16 |

    AddDefaultCharset UTF-8


    <IfModule mod_deflate.c>
        AddOutputFilterByType DEFLATE text/html text/xml image/x-icon text/css text/javascript

        # обработка "кривых" броузеров
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch Konqueror no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    </IfModule>


    #browser caching
    #apache2ctl -M && sudo a2enmod expires && sudo service apache2 restart (to enable mod_expires on ubuntu)
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access 7 days"
    ExpiresByType application/javascript "access plus 1 year"
    ExpiresByType text/javascript "access plus 1 year"
    ExpiresByType text/css "access plus 1 year"
    ExpiresByType text/html "access plus 7 day"
    ExpiresByType text/x-javascript "access 1 year"
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType image/jpg "access plus 1 year"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresByType application/x-shockwave-flash "access 1 year"
    </IfModule>

    # Cache-Control
    <ifModule mod_headers.c>
    # 30 дней
    <filesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
    Header set Cache-Control "max-age=2592000, public"
    </filesMatch>
    # 30 дней
    <filesMatch "\.(css|js)$">
    Header set Cache-Control "max-age=2592000, public"
    </filesMatch>
    # 2 дня
    <filesMatch "\.(xml|txt)$">
    Header set Cache-Control "max-age=172800, public, must-revalidate"
    </filesMatch>
    # 1 день
    <filesMatch "\.(html|htm|php)$">
    Header set Cache-Control "max-age=172800, private, must-revalidate"
    </filesMatch>
    </ifModule>

    # использование кеша браузеров
    FileETag MTime Size
    <ifmodule mod_expires.c>
    <filesmatch ".(jpg|jpeg|gif|png|ico|css|js)$">
    ExpiresActive on
    ExpiresDefault "access plus 1 month"
    </filesmatch>
    </ifmodule>

    #Запрет отдачи HTTP-заголовков Vary браузерам семейства MSIE
    <IfModule mod_setenvif.c>
    BrowserMatch "MSIE" force-no-vary
    BrowserMatch "Mozilla/4.[0-9]{2}" force-no-vary
    </IfModule>





    #Options +FollowSymLinks
    Options -Indexes

    RewriteEngine on
    RewriteRule ^(.*)\.tpl$ [R=404]
    RewriteRule ^(.*)\.zip$ [R=404]
    # RewriteCond %{HTTP_HOST} ^www.site.com$ [NC]
    # RewriteRule ^(.*)$ http://site.com/$1 [L,R=301]


    RewriteCond $1 !^(index\.php|test.php|user_guide|uploads/.*|favicon\.ico|favicon\.png|captcha/.*|application/modules/.*/templates|templates|js|robots\.txt|application/controllers/install/images/.*)
    RewriteRule ^(.*)$ /index.php/$1 [L]

    ####################################
    # or
    # RewriteRule ^(.+)$ index.php?$1 [L]
    # or
    # RewriteRule ^(.*)$ /index.php?/$1 [L,QSA]

  • Profile blocked
    7 April 2018, 20:16 |

    Все верно, испортили файл htaccess 

  • Andrey Tokarev
    7 April 2018, 20:17 |

    AddDefaultCharset UTF-8


    <IfModule mod_deflate.c>
        AddOutputFilterByType DEFLATE text/html text/xml image/x-icon text/css text/javascript

        # обработка "кривых" броузеров
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch Konqueror no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    </IfModule>


    #browser caching
    #apache2ctl -M && sudo a2enmod expires && sudo service apache2 restart (to enable mod_expires on ubuntu)
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access 7 days"
    ExpiresByType application/javascript "access plus 1 year"
    ExpiresByType text/javascript "access plus 1 year"
    ExpiresByType text/css "access plus 1 year"
    ExpiresByType text/html "access plus 7 day"
    ExpiresByType text/x-javascript "access 1 year"
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType image/jpg "access plus 1 year"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresByType application/x-shockwave-flash "access 1 year"
    </IfModule>

    # Cache-Control
    <ifModule mod_headers.c>
    # 30 дней
    <filesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
    Header set Cache-Control "max-age=2592000, public"
    </filesMatch>
    # 30 дней
    <filesMatch "\.(css|js)$">
    Header set Cache-Control "max-age=2592000, public"
    </filesMatch>
    # 2 дня
    <filesMatch "\.(xml|txt)$">
    Header set Cache-Control "max-age=172800, public, must-revalidate"
    </filesMatch>
    # 1 день
    <filesMatch "\.(html|htm|php)$">
    Header set Cache-Control "max-age=172800, private, must-revalidate"
    </filesMatch>
    </ifModule>

    # использование кеша браузеров
    FileETag MTime Size
    <ifmodule mod_expires.c>
    <filesmatch ".(jpg|jpeg|gif|png|ico|css|js)$">
    ExpiresActive on
    ExpiresDefault "access plus 1 month"
    </filesmatch>
    </ifmodule>

    #Запрет отдачи HTTP-заголовков Vary браузерам семейства MSIE
    <IfModule mod_setenvif.c>
    BrowserMatch "MSIE" force-no-vary
    BrowserMatch "Mozilla/4.[0-9]{2}" force-no-vary
    </IfModule>





    #Options +FollowSymLinks
    Options -Indexes

    RewriteEngine on
    RewriteRule ^(.*)\.tpl$ [R=404]
    RewriteRule ^(.*)\.zip$ [R=404]
    # RewriteCond %{HTTP_HOST} ^www.site.com$ [NC]
    # RewriteRule ^(.*)$ http://site.com/$1 [L,R=301]


    RewriteCond $1 !^(index\.php|test.php|user_guide|uploads/.*|favicon\.ico|favicon\.png|captcha/.*|application/modules/.*/templates|templates|js|robots\.txt|application/controllers/install/images/.*)
    RewriteRule ^(.*)$ /index.php/$1 [L]

    ####################################
    # or
    # RewriteRule ^(.+)$ index.php?$1 [L]
    # or
    # RewriteRule ^(.*)$ /index.php?/$1 [L,QSA]

  • Artyom Paseka
    7 April 2018, 20:21 |

    Возможно сервер сайта перестал работать,или ваш домен(http://likel.com.ua) перестал другие находить
    Без исходного кода сложно понять
    А вообще рекомендую обратиться к тому кто делал это сайт(если есть такая возможность)

  • Andrey Tokarev
    7 April 2018, 20:25 |

    он сегодня работал, открыли файл optimized.htaccess посмотреть как там что настроенно и не чего не меня там сайт перестал работать, как так может быть 

  • Andrey S
    7 April 2018, 20:24 |

    попробуйте второй ор


    #RewriteRule ^(.*)$ /index.php/$1 [L]

    ####################################
    # or
    RewriteRule ^(.+)$ index.php?$1 [L] 


    типа так

  • Andrey Tokarev
    7 April 2018, 20:41 |

    не ваш способ решил проблему, а просто убрать optimized

  • Andrey S
    7 April 2018, 22:32 |

    т.е. не "запороли htaccess"

  • Profile blocked
    7 April 2018, 20:26 |

    Уберите optimized - чтобы было просто .htaccess 

  • Andrey Tokarev
    7 April 2018, 20:29 |

    сайт заработал, вышлю по 20 грн пишите карту

  • Profile blocked
    7 April 2018, 20:41 |

    5168757347979355  -  Алексеева Алина, спасибо

Current freelance projects in the category Content Management Systems

Updating WP plugins and themes on the site putevka.uz

There is a serious problem with plugins on the site putevka.uz, lack of licenses for paid ones, old versions with vulnerabilities: 1. Critically outdated or problematic (Needs urgent resolution) These plugins create the greatest risks for security, performance, or stability.…

Content Management SystemsWeb Programming ∙ 18 minutes back ∙ 18 proposals

New website for sto-vag.com.ua

We want to update the website of our small auto service center. Currently, it is 1 page, and we want to make it multi-page. The CMS will be chosen by the contractor. For us, the main points are: - fast website loading - cross-browser compatibility - good mobile version The…

Content Management SystemsWeb Programming ∙ 12 hours 45 minutes back ∙ 103 proposals

Svitlahata

17 USD

It is necessary to import 1819 products from the XML/YML feed of Prom.ua to OpenCart 3. A ready XML file is available, which contains product names, descriptions, prices, photos, specifications, manufacturers, and categories. Requirements: import all products to OpenCart…

Content Management SystemsData Parsing ∙ 1 day 1 hour back ∙ 32 proposals

Transfer of a small business card website with 58 pages from Joomla 1.5 to Joomla 6

There is a small business card website made on Joomla 1.5 with 58 pages (if counted in two languages), which contains small texts with photos. One page has a table. Two pages have PDF files that take up the entire page in a frame. The site is made in two languages with a…

Content Management SystemsHTML & CSS ∙ 1 day 2 hours back ∙ 33 proposals

Freelance shopify & designer expert -live collaboration(hourly project)

I am looking for a Shopify and design expert to work directly with me live. ;we will build, design, and learn together live via screen-share on a set schedule. Our first task will be a paid test project. Key Responsibilities: Store Setup: Build a second Shopify store from…

Content Management SystemsWeb Design ∙ 1 day 22 hours back ∙ 8 proposals

Client
Andrey Tokarev
Ukraine Zaporizhzhia  7  0
Project published
8 years back
101 views
Tags
  • imageCMS