Redirecting to Another URL
After you have managed your own Web site for a while, you might decide you want to restructure its organization by renaming some pages, placing pages in folders, or hosting your site at a different location with a different URL. All that is fine, but what about the people who bookmarked the original page? They’ll be faced with an unfriendly Page Not Found message if you remove the old content entirely, and they won’t have any way of finding the page in its new location.
To help your past visitors find the new page, you can leave the old page in place and replace its text with a hyperlink that tells them where the new page is located. You already know how to create a hyperlink—that’s simple. But you can take it one step ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access