I am simply trying to get this URL:
http://foo.com/entry/random-entry-123
to redirect to:
http://foo.com/random-entry-123
The "random-entry-123" is dynamic.
Different for each entry.
Any help with this is greatly appreciated!
I am simply trying to get this URL:
http://foo.com/entry/random-entry-123
to redirect to:
http://foo.com/random-entry-123
The "random-entry-123" is dynamic.
Different for each entry.
Any help with this is greatly appreciated!
Although this has already been answered, it didn't work for me when I had two segments after the first, eg:
Instead this worked for me and also takes care of 301 redirects:
Hope this helps.
Assuming no further rewrites are in use, and all links inside
/entry/
are to rewritten, then try this:Lose the
[L]
if there are further rewrites ahead in the file.