I need to convertthe following Apache htaccess rules to Nginx Rewrite rules:
Redirect 301 /feed.php http://www.example.com/feed/
Thanks very much~
I need to convertthe following Apache htaccess rules to Nginx Rewrite rules:
Redirect 301 /feed.php http://www.example.com/feed/
Thanks very much~
Formatting's a bit off, but I assume your original rule was
Redirect 301 /feed.php http://www.example.com/feed/
so the Nginx rewrite would be
rewrite ^/feed\.php http://www.example.com/feed/ permanent;
Not difficult if you read the documentation.