Hi Russ - Free .htaccess Redirect Generator - this will create the file for you..
Just having a senior moment doing some htaccess 301 redirects and need to redirect following..
/component/tag/name.html to /tag/name
The name changes every time so if did
redirect 301 /component/tag/ /tag/
It would add the html on the end of the new tag etc which do not want it to do?
Ideas as brain gone completely today.
Last edited by russdev; 9th March 2011 at 12:04 PM.
russdev (11th March 2011)
The problem is the html file extension had look at that generator but can't for life of me get right combo for it to work.
Worked it out in the end after brain came back to me..
RedirectMatch 301 /component/tag/(.*).html /tag/$1
There are currently 1 users browsing this thread. (0 members and 1 guests)