Hi,
I really hope someone can help me with a .htaccess problem, or point me in the right direction.
I'm trying to set 301 redirects on a URL similar to:
[
somesite.com...]
I need to 301 redirect .../updates/latest-news/... to /news/article/... and drop the -me suffix
So if I create the rule:
RewriteRule ^(.*)(-me.*)$ $1 [R=301,L]
the URL is the same and the trailing -me is cleaned up. I'm happy that rewrite works, the regex works, and I comment this out.
However, neither of the following will work and I am confused:
RewriteRule ^(.*)/updates/latest-news/(.*)(-me.*)$ $1/news/article/$2 [R=301,L]
or
RewriteRule ^http://www.somesite.com/updates/latest-news/48927-doc-resource-admission-notice-me10$ [
somesite.com...] [R=301,L]
This is on a Joomla site.
Could some kind soul please help and point me the right way?
thanks
Mick