From IndieWeb
Jump to: navigation, search

A redirect is a way to automatically make one page on this wiki load another page. You can edit a page and turn it into a redirect by using code like:


A broader web-specific version of a redirect is a way to send both users and search engines to a different URL from the one they originally requested. The three most commonly used redirects are 301, 302, and Meta Refresh. These are frequently used/needed when changing CMSes and potentially the structure of one's permalinks to get the old URLs to redirect to the new ones.

Here's a useful gist for creating 301 redirects within an .htaccess file for sites using Apache :

See Also