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
example.com/forum/topic/144934-pio-threatened-rti-applicant/ is now example.com/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 permanent redirection only 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
.htaccess?<Directory>container? Server config or<VirtualHost>container? – DocRoot Jun 04 '18 at 01:25