Answer the question
In order to leave comments, you need to log in
RewriteRule in htaccess?
Hello!
Help me solve the problem, you need to open php from a specific url!
More or less like this:
RewriteRule ^?feed=news.yandex.ru$ /rss.php [L,R=301]
Answer the question
In order to leave comments, you need to log in
Try this:
RewriteCond %{QUERY_STRING} ^feed=news.yandex.ru$
RewriteRule ^(.*)$ /rss.php? [L,R=301]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question