Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

how to redirect 404 error page to homepage?

make money online
dodgersbenny Offline referral

Posts: 82
Joined: Aug 2015
Reputation: 1

I don't know this is right place to put this question or not. I recently log in to my google webmaster tool and found more than 50 pages of my website not found errors. Now i wanna redirect those pages to home page. Please let me know how to redirect those pages?
marcus_avrelius Offline referral

Posts: 2,507
Joined: May 2013
Reputation: 109

Support Team
You can easily redirect any type of error to any URL or your homepage with Apache htaccess file. Add this to it:

ErrorDocument 404 http://www.example.com/404/

In the code above replace http://www.example.com/404/ with your own URL of home page!
hmb-robert Offline referral

Posts: 13
Joined: Jan 2016
Reputation: 0

Junior Member

In your control panel file management section you will need to click show hidden files so it will display you a .htaccess file. You can use this file to place your redirects. Settings applied here will get apply for your complete account.
damponting44 Offline referral

Posts: 536
Joined: Oct 2016
Reputation: 0

Senior Member
Straightforward divert WordPress module, every one of the 404 mistake pages are diverted to landing page. Google may bring down PageRank of site if there are 404 mistake pages(Page not discovered), this module will settle that issue and help to enhance your locales positioning.
Zarinekhan646 Offline referral

Posts: 45
Joined: Jun 2017
Reputation: 3

Junior Member
404 Error Page Redirect to Active Page in htaccess.

Page Redirect Code:

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

This code structure use in htaccess file.


Google this topic

User(s) browsing this thread: 1 Guest(s)