Tag Archives: Redirects

Change Permalink Structure Then Redirect Old Permalinks To New Ones

Default WordPress permalink structure is not what Google suggests you to use. Search engines like simple permalink structure i.e. your website name followed by the post name.

Bloggers generally stick to old permalink structure because when the permalink structure is changed, the websites pointing links to you starts to send users on 404 error pages. Same in case of search engines, they sometimes takes months to update the old URLs to new ones on their SERPs.

Changing permalink structure is easy but pointing old permalinks to new ones is a little bit tricky. But no worries, in this lesson we will show you the easiest way to do so.

Continue reading Change Permalink Structure Then Redirect Old Permalinks To New Ones

How To Redirect Error 404 Pages To A Custom URL In WordPress?

Error 404 pages are not considered good for SEO and also as per adsense terms & conditions you cannot display the adsense ads on 404 pages and hence it is always good to redirect these pages to your website’s home. In this tutorial we will explain you how you can redirect 404 to home or to a custom URL of your website or to a sub domain or even if you need you can redirect it to some external URL.

Continue reading How To Redirect Error 404 Pages To A Custom URL In WordPress?

Eggplant 301 Redirects: A Robust Interface For Creating & Validating Redirects In WordPress

Eggplant 301 Redirects is an simple, straight forward and easiest plugin for creating 301 URL redirects from your admin area dashboard. The plugins provides you same powerful features as you get in cPanel URL Redirects option. With this plugin you can redirect any of your blog post, page, media file, archive and everything else, even you can create custom URLs and redirect them to the address you want. All redirects starts working instantly as you click Save button and you can quickly add as many redirects you want.

Continue reading Eggplant 301 Redirects: A Robust Interface For Creating & Validating Redirects In WordPress

Creating Temporary And Permanent Redirects Using Apache

301 is a permanent redirect and 302 is a temporary redirect. 301 redirect is used when you want to redirect pages without penalizing them in search engines. And 302 redirect is used when you want to set up temporary redirect for keeping your page rank better in search engines. Learn more.

How To Set Up Permanent Redirect Using Apache ?

Open your site’s .htaccess file.

If there is no .htaccess redirect then create a new text file in your site’s root.

Add this line at the very end of your .htaccess file:

Redirect 301 /REDIRECT_PATH NEW_URL

Where:

REDIRECT_PATH = Directory path on your web server. And

NEW_URL = Is the path you want the pages redirected to.

Save the file and test your URL.

Example: 

Redirect 301 /tags/lamp/ http://www.sangkrit.net/tags/lamp/

How To Set Up Temporary Redirect Using Apache ?

Open your site’s .htaccess file.

If there is no .htaccess redirect then create a new text file in your site’s root.

Add this line at the very end of your .htaccess file:

Redirect 302 /REDIRECT_PATH NEW_URL

Where:

REDIRECT_PATH = Directory path on your web server. And

NEW_URL = Is the path you want the pages redirected to.

Save the file and test your URL.

Example:

Redirect 302 /tags/lamp/ http://www.sangkrit.net/tags/lamp/