url mod_rewrite

Posted by Pritam Borkar on Pro Webmasters See other posts from Pro Webmasters or by Pritam Borkar
Published on 2011-06-30T04:36:04Z Indexed on 2011/06/30 8:31 UTC
Read the original article Hit count: 282

Filed under:

I had an e-commerce website hosted on http://mydomain.com/beta for more than a year, eventually I decided to move the website to root http://mydomain.com I had done quite a lot of link postings to forums etc, when my site used to be hosted in the sub-dir /beta . Is there any way to do a mod_rewrite by which all the old links that I have posted do not return as broken links since now longer the site is hosted in /beta and is now hosted on the site root.

I did read that mod_rewrite can help resolve this issue, but also read about that this has to be done with care. Just a tip that this site is using Friendl URL.

© Pro Webmasters or respective owner

Related posts about mod-rewrite