Цитата |
---|
tornadoeye пишет:
Проверьте .htaccess в корне сайта или сбросьте его содержание сюда. Скорей всего либо что-то с ним сделали, либо хостер отключил возможность использования этих файлов. |
#SPH-FLJ-28883-858 begin
RewriteEngine On
RewriteRule ^index.php$ / [QSA,R]
#SPH-FLJ-28883-858 end
Redirect 301 /index.html /
DirectoryIndex index.php
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.moiafazenda.ru$
RewriteRule ^(.*)
https://moiafazenda.ru/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#
RewriteRule ^page/([0-9]+)(/?)$ index.php?cstart= [L]
#
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html$ index.php?subaction=showfull&year=&month=&day=&news_page=&cstart=&news_name=&seourl= [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*).html$ index.php?subaction=showfull&year=&month=&day=&news_page=&news_name=&seourl= [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/print:page,([0-9]+),(.*).html$ engine/print.php?subaction=showfull&year=&month=&day=&news_page=&news_name=&seourl= [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*).html$ index.php?subaction=showfull&year=&month=&day=&news_name=&seourl= [L]
RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+),([0-9]+)-(.*).html$ index.php?newsid=&news_page=&cstart=&seourl=&seocat= [L]
RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+)-(.*).html$ index.php?newsid=&news_page=&seourl=&seocat= [L]
RewriteRule ^([^.]+)/print:page,([0-9]+),([0-9]+)-(.*).html$ engine/print.php?news_page=&newsid=&seourl=&seocat= [L]
RewriteRule ^([^.]+)/([0-9]+)-(.*).html$ index.php?newsid=&seourl=&seocat= [L]
RewriteRule ^page,([0-9]+),([0-9]+),([0-9]+)-(.*).html$ index.php?newsid=&news_page=&cstart=&seourl= [L]
RewriteRule ^page,([0-9]+),([0-9]+)-(.*).html$ index.php?newsid=&news_page=&seourl= [L]
RewriteRule ^print:page,([0-9]+),([0-9]+)-(.*).html$ engine/print.php?news_page=&newsid=&seourl= [L]
RewriteRule ^([0-9]+)-(.*).html$ index.php?newsid=&seourl= [L]
#
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$ index.php?year=&month=&day= [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=&month=&day=&cstart= [L]
#
RewriteRule ^([0-9]{4})/([0-9]{2})(/?)+$ index.php?year=&month= [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=&month=&cstart= [L]
#
RewriteRule ^([0-9]{4})(/?)+$ index.php?year= [L]
RewriteRule ^([0-9]{4})/page/([0-9]+)(/?)+$ index.php?year=&cstart= [L]
#
RewriteRule ^tags/([^/]*)(/?)+$ index.php?do=tags&tag= [L]
RewriteRule ^tags/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=tags&tag=&cstart= [L]
#
RewriteRule ^xfsearch/([^/]*)(/?)+$ index.php?do=xfsearch&xf= [L]
RewriteRule ^xfsearch/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=xfsearch&xf=&cstart= [L]
#
RewriteRule ^user/([^/]*)/rss.xml$ engine/rss.php?subaction=allnews&user= [L]
RewriteRule ^user/([^/]*)(/?)+$ index.php?subaction=userinfo&user= [L]
RewriteRule ^user/([^/]*)/page/([0-9]+)(/?)+$ index.php?subaction=userinfo&user=&cstart= [L]
RewriteRule ^user/([^/]*)/news(/?)+$ index.php?subaction=allnews&user= [L]
RewriteRule ^user/([^/]*)/news/page/([0-9]+)(/?)+$ index.php?subaction=allnews&user=&cstart= [L]
RewriteRule ^user/([^/]*)/news/rss.xml(/?)+$ engine/rss.php?subaction=allnews&user= [L]
#
RewriteRule ^lastnews(/?)+$ index.php?do=lastnews [L]
RewriteRule ^lastnews/page/([0-9]+)(/?)+$ index.php?do=lastnews&cstart= [L]
#
RewriteRule ^catalog/([^/]*)/rss.xml$ engine/rss.php?catalog= [L]
RewriteRule ^catalog/([^/]*)(/?)+$ index.php?catalog= [L]
RewriteRule ^catalog/([^/]*)/page/([0-9]+)(/?)+$ index.php?catalog=&cstart= [L]
#
RewriteRule ^newposts(/?)+$ index.php?subaction=newposts [L]
RewriteRule ^newposts/page/([0-9]+)(/?)+$ index.php?subaction=newposts&cstart= [L]
#
RewriteRule ^favorites(/?)+$ index.php?do=favorites [L]
RewriteRule ^favorites/page/([0-9]+)(/?)+$ index.php?do=favorites&cstart= [L]
RewriteRule ^rules.html$ index.php?do=rules [L]
RewriteRule ^statistics.html$ index.php?do=stats [L]
RewriteRule ^addnews.html$ index.php?do=addnews [L]
RewriteRule ^rss.xml$ engine/rss.php [L]
RewriteRule ^sitemap.xml$ uploads/sitemap.xml [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^.]+)/page/([0-9]+)(/?)+$ index.php?do=cat&category=&cstart= [L]
RewriteRule ^([^.]+)/?$ index.php?do=cat&category= [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)/rss.xml$ engine/rss.php?do=cat&category= [L]
RewriteRule ^page,([0-9]+),([^/]+).html$ index.php?do=static&page=&news_page=&seourl= [L]
RewriteRule ^print:([^/]+).html$ engine/print.php?do=static&page=&seourl= [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+).html$ index.php?do=static&page=&seourl= [L]
### begin Sprinthost-redirects 03.07.2017 23:55
### Sprinthost-redirects end
помогите, пожалуйста!!