redirecting url from old to new

tuffclassified nginx-forum at nginx.us
Wed May 11 16:23:53 MSD 2011


Any body will help me to redirect my old  wordpress post
http://tuffclassified.com/xyz/ to new custom post
http://tuffclassified.com/ads/xyz/  . It was easy in apache as i have to
add just 

# END WordPress
RewriteRule ^/(.*)$ http://tuffclassified.com/ads/$1 [R=301,L]

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,197247,197247#msg-197247




More information about the nginx mailing list