I had urls with /content/ prefix e.g. mysite.com/content/bla-bla-bla/ now I whant redirect all to mysite.com/bla-bla-bla/ without /content/ Is this possible? Thanks!
Tell me more
×
Webmasters Stack Exchange is a question and answer site for
pro webmasters. It's 100% free, no registration required.
|
migrated from serverfault.com Jun 16 '11 at 2:09
|
It is possible -- but you need to tell at least which web server do you use. For Apache this can be achieved with the following rule (using mod_rewrite):
If you are using Microsoft IIS7.x then it is also possible with the help of URL Rewrite Module (you may need to download and install it separately -- depends which IIS version you have):
|
|||
|
|