I moved my website to a new CMS and some of my URLs look different now, so I want to delete a part of incoming URLs so that links to my page still work properly.
The old URL looks like:
www.example.com/MY-FORUM/my-forum/category/postingtitle
I want to get rid of the MY-FORUM
, so it looks like:
www.example.com/my-forum/category/postingtitle
After reading through different posts I tried the following:
RewriteRule ^MY-FORUM/(.*) /$1 [R=301,L]
Which gives me back an error message stating:
Infinite loop detected in JError
(I'm using joomla)
What is causing this?