The most common link redirects are done as “rules” on the server.
For example, let’s say I rename a page on my website for from oldpage.html to newpage.html . I want to ensure that the benefit of any links and traffic looking for oldpage.html end up with newpage.html .
I just have to add a rule for this. On Apache servers this is done in a file called htaccess. These rules are checked whenever a page is requested – before it is loaded. When the server sees the request for oldpage.html it will serve up new page HTML to the user.
You can have multiple redirects too – either subsequent rules in the same file or bouncing users from one server to another. It’s best to have a single redirect if possible.
Latest Answers