| | #1 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: New York
Posts: 338
Thanks: 1
Thanked 33 Times in 26 Posts
|
Hi warriors, In my GWT, I have a lot of 404 errors, how do I create a redirect to my homepage. thanks |
| |
| | #2 |
| Active Warrior Join Date: 2011 Location: Atlanta, GA
Posts: 96
Thanks: 0
Thanked 15 Times in 15 Posts
|
Pretty simple. Create an .htaccess file on the /public_html/ (or equivalent) folder with the code below: Code: ErrorDocument 404 / |
|
Services offered: PSD to Wordpress, Joomla, Drupal Templates or Full Site, Custom PHP or C# Programming, Fix problems on any software, and more. You will get 25% OFF all services by mentioning the Warrior Forum. PM me here or email me to ivanphp404@gmail.com if interested and/or if you have questions. | |
| |
| | #3 |
| Active Warrior War Room Member Join Date: 2011 Location: Oakland, CA
Posts: 69
Thanks: 1
Thanked 11 Times in 11 Posts
Blog Entries: 1 |
Your readers might get confused if they are looking for something but keep ending up on the homepage... A good solution to to provide a 404 page what displays similar posts. "Sorry we couldn't find xxx... Here are similar posts" |
| | |
| |
| | #4 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: New York
Posts: 338
Thanks: 1
Thanked 33 Times in 26 Posts
|
thanks for your replies, I discovered that within my hosting account, I can create custom 404 pages, just go to your cpanel and then to error pages and follow the directions. |
| |
| | #5 |
| Warrior Member Join Date: 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
thanks but can i create costume 404 error page??
|
| | |
| |
| | #6 |
| Head Nerd In Charge War Room Member Join Date: 2011 Location: So Cal
Posts: 19
Thanks: 0
Thanked 4 Times in 4 Posts
| |
| |
| | #7 |
| Active Warrior War Room Member Join Date: 2008
Posts: 48
Thanks: 0
Thanked 12 Times in 11 Posts
|
Has anyone experimented with setting up 404 pages that recommend other relevant products or information through an affiliate link?
|
| | |
| |
| | #8 |
| Fluent SEO War Room Member Join Date: 2013
Posts: 32
Thanks: 2
Thanked 3 Times in 2 Posts
|
If you are using a Wordpress site and don't want to mess around with .htaccess, you can also just install a simple redirect plugin. The one I use is by Jordi Plana and works perfectly. You can find it at Jordi PlanaWordpress Plugin: 404 Simple Redirect | Jordi Plana Essentially, you just have to activate the plugin and then set the url of the homepage and you are good to go. |
| |
| | #9 |
| Warrior Member War Room Member Join Date: 2012
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
|
In your 404 doc you can add <meta http-equiv="Refresh" content="5; URL=/"> in the <head> section and that will redirect them to your homepage after 5 seconds |
| |
|
| Bookmarks |
| Tags |
| 404, create, homepage, page, redirect |
| |