A 301 redirect is a permanent redirect to a new URL when an old URL is entered into the browser. Simply put, a 301 redirect tells the web browser that the webpage entered has moved permanently.
Here’s how to set up a 301 redirect manually, without any plugins:
- In a text editor, copy this line of code and replace ‘https://www.example.com/’ with the new URL.
Redirect 301 / https://www.example.com/
- Save the file as ‘.htaccess’.
- Upload this file to your website’s server.
301 redirects will take effect immediately. However, you may need to wait up to a few weeks to see your new URLs show on search engine results pages.« Back to Glossary Index