Redirect one url to another

Get in touch

If you would like help with "Redirect one url to another" or with any other topic then feel free to get in touch for a chat.

by | 04/12/2021 | Hosting | 0 comments

If you move a page or a website its good practice to set up a diversion to show where the content has gone. This allows the search engines to update their records and visitors to find the correct page. 

While there are plugins that you can use to manage this they often add unnecessary bloat to your website which is best to be avoided. 

You can add redirects by editing the .htaccess file in the root folder of your website and adding lines like this.

Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html 
Redirect 301 /oldpage2.html http://www.yoursite.com/folder/

Alternatively you can redirect an entire site with

Redirect 301 / http://newsite.com/

To edit your .htaccess file you can follow the instructions below.

IT IS IMPORTANT YOU HAVE A BACKUP OF YOUR SITE BEFORE PROCEEDING WITH THESE STEPS. TO FIND OUT HOW TO BACK UP YOUR SITE CLICK HERE.

1. Install the plugin “File Manager“, If you have not installed plugins before follow the instructions here.

2. Once installed go to [WP File Manager] [WP File Manager]

3. Locate the file “.htaccess” located in the root html folder, right click on it and select [Code Editor]

4 Add the appropriate Htaccess Code: from the table above to the top of the file then click [Save and Close]

Upon reloading the site your redirects will now be active.

Can we help?

If you would like help with this, or any other topic then don’t hesitate to get in touch with us.

Premium Themes & Plugins

When you sign a website up for any of our monthly plans you get access to many of our favourite premium plugins and themes — at no additional charge. Savings up to £250 per year!

Gravity forms, Create stunning forms with ease.
~£43 per year.

Optimise Images, Website Cache, Security and more.
~£136 per year.

Add a range of extra tools to your Divi Website.
~£42

Backup your website to Google or Dropbox with ease.
~£54

Backup your website to Google or Dropbox with ease.
~£80 per year

K

Newsletter

Sign up to our newsletter for the latest hints tips & offers.

Did you know nearly 70% of people unsubscribe from email lists because they receive emails too often? That’s why we often don’t get round to sending a newsletter but when we do make sure its worth reading.

  • What’s happening with us and the internet/digital in general. 
  • Lots of helpful advice on a whole range of website and digital skills topics.
  • Sales and offfers from us and our partners. 

Get a free guide to creating sale funnels

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!