Reputation: 3901
I have a website which contains links like so:
http://www.example.com/about
http://www.example.com/about-computing
http://www.example.com/about-web
I'm designing a new version of my website which will eventually replace the old.
How can I handle users with these bookmarked to my new website's format?:
http://www.example.com/about
http://www.example.com/about/computing
http://www.example.com/about/web
Upvotes: 1
Views: 38
Reputation: 4872
You could keep your old structure and do a manual redirect on each page... But that could get messy very quickly.
Or much cleaner & easier to maintain, you could do it via the .htaccess file
eg:
redirect old-URL URL-to-go-to
so you could do something like
redirect /about-computing http://www.example.com/about/computing
redirect /about-web http://www.example.com/about/web
etc...
more information on this here
Upvotes: 1