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!
migrated from serverfault.com Jun 16 '11 at 2:09
This question came from our site for professional system and network administrators.
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):