Actions

Difference between revisions of "Creating 301 redirects"

From Joomla! Documentation

(Created page with "We often need to create redirects to point an old page at a new page. While this is possible to do with extensions, it's very simple to add to your .htaccess file. At the bo...")
 
 
Line 7: Line 7:
 
http://www.htaccessredirect.net/
 
http://www.htaccessredirect.net/
  
This site allows you to create a number of different redirects - if you're redirecting single pages simply enter the old URL and new URL in the fields highlighted below.
+
This site allows you to create a number of different redirects - if you're redirecting single pages simply enter the old URL and new URL in the fields highlighted below, and when you generate the htaccess it will show the code in the box on the right hand side.  Copy this, and paste it at the very bottom of your htaccess file.
  
 
[[File:htaccess.jpg]]
 
[[File:htaccess.jpg]]

Latest revision as of 21:07, 9 November 2013

We often need to create redirects to point an old page at a new page.

While this is possible to do with extensions, it's very simple to add to your .htaccess file. At the bottom of the page, after the end of the core Joomla! SEF section, simply append any redirects.

If you're not confident using redirects, check out

http://www.htaccessredirect.net/

This site allows you to create a number of different redirects - if you're redirecting single pages simply enter the old URL and new URL in the fields highlighted below, and when you generate the htaccess it will show the code in the box on the right hand side. Copy this, and paste it at the very bottom of your htaccess file.

Htaccess.jpg