.htaccess

  • Автор темы AlexanderC
  • Дата начала
Статус
Закрыто для дальнейших ответов.
A

AlexanderC

#1
...Почему выдаёт 500 ? подскажите плз...
Код:
<IfModule mod_rewrite.c>
RewriteEngine on
Options +FollowSymlinks

# rss bots redirect -- start
RewriteCond %{HTTP_USER_AGENT} ^Feedster Crawler [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Feedfetcher-Google [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Feed24.com [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^RSSMicro [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Feed Seeker Bot [NC]
RewriteRule ^.* /rss/feed.xml [R,L]
# rss bots redirect -- end

# redirect search engines to SEO friendly page -- start
RewriteCond %{HTTP_USER_AGENT} ^Googlebot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Yandex [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Yahoo [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^WorldLight [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Vespa Crawler [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Teoma [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^StackRambler [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^SpiderMan [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Speedy_Spider [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Speedy Spider [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Scooter [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^ReadABlog [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Overture-WebCrawler/ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Msnbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^MSNPTC [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Mercator [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Inktomi [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^i1searchbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Harvest-NG [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^gsa-crawler [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^gonzo1 [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Gonzo [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^FineBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^FastCrawler [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^DaviesBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Bdcindexer [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^AltaVista [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Slurp [NC]
RewriteRule ^.* /seo/seo.html [R,L]
# redirect search engines to SEO friendly page -- end
</IfModule>
 
A

AlexanderC

#2
...блин забыл бэкслэши поставить ((((...усталость...
можно закрывать
 
Статус
Закрыто для дальнейших ответов.