I had a forum with /forum but it has changed to /forums I want to know if there is a single line code which can redirect my old URL to new ones. It is not simple redirection from /forum to /forums The URL after /forum/abc.html are now /forums/abc.html There are some 500000 URL that need to be changed. Could anybody help
For example
xxx.org/forum/topic/144934-pio-threatened-rti-applicant/ is now xxx.org/forums/topic/144934-pio-threatened-rti-applicant/
If you see above the change is just 'S' for all the 500000 URLs
I have already tried this RewriteEngine On RewriteRule ^forum/(.*)$ /forums/$1 [NC,L]
I am left with permanant redirection ony I am trying this way Redirect 301 /forum/42534-how-know-my-pf-account-no.html /forums/42534-how-know-my-pf-account-no.html
PLease let me know if you can help
Thanks
Shrawan
For example
xxx.org/forum/topic/144934-pio-threatened-rti-applicant/ is now xxx.org/forums/topic/144934-pio-threatened-rti-applicant/
If you see above the change is just 'S' for all the 500000 URLs
I have already tried this RewriteEngine On RewriteRule ^forum/(.*)$ /forums/$1 [NC,L]
I am left with permanant redirection ony I am trying this way Redirect 301 /forum/42534-how-know-my-pf-account-no.html /forums/42534-how-know-my-pf-account-no.html
PLease let me know if you can help
Thanks
Shrawan