Redirecting to homepage ok?
-
I deleted a bunch of category pages (renamed mostly actually and thought they'd be auto redirected like my blog posts are but they weren't) so I used a plugin that reroutes any 404 page to the homepage. Is that the best thing to do in this situation? Google Webmasters says there are about 84 404-errors and this should get rid of those right? Is there anything SEO BAD about doing it this way?
-
Wow - thanks! I found a plugin for now but I will definitely save this info. I appreciate your help!
-
You will need FTP access to your root. If you do not have an .htaccess file, then you can create a text file, upload and then remove the .txt. Use Notepad or a similar application. If there is a file, be careful not to overwrite anything that is already there.
Create a new line that reads, for each page, and optionally use comments to keep track of your code
301 redirects
redirect 301 /old-category-page/ http://www.yourdomain.com/new-category-page/
redirect 301 /old-category2-page/ http://www.yourdomain.com/new-category2-page/Here's how that breaks down:
redirect 301 (the instruction that the page has moved)
/old-category-page/ (the original folder path and file name)
http://www.yourdomain.com/new-category-page/ (new path and file name)Save and upload.
If you are unsure about FTP to the root, contact your hosting provider. Hope this helps!
-
Thank you. I understand. I just need a tutorial on how to take a deleted URL and redirect it to the most relevant URL. I am a novice when it comes to HTML etc.
-
MIke is spot on and correct! Handling 404s should be a process in which you manually map one page to another, unless you have a large enterprise site and can setup server rules to handle the redirecting process.
For you, take the old category URL, and map it to the renamed category. Do this for each and every one. After you have done that, revisit GWT, and address the remaining 404s individually.
-
Alright, that is good to know. I deleted that plugin to stop the bulk redirects. I just don't know how to redirect the 404s since I already deleted them I don't know how to manipulate them.
Should I just create the category pages again? I suppose the URL would be the same right?
-
This is definitely NOT the best thing to do. Bulk redirects to the homepage will wind up killing a large chunk of the relevancy signals, link equity and traffic since you're not serving the most relevant alternative to your users. They should be redirected to their most relevant live counterpart. And using a plugin that redirects ALL 404s isn't good either since sometimes a 404 is useful. For example, how will you know if a link is broken if it can't 404? In this case, if you just renamed the categories... redirect the old URL to the renamed category it belongs to.
Take a look at Cyrus' blog post from the 18th How to Completely Ruin (or Save) Your Website with Redirects.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
My site auto redirects http to https. This is causing redirect chains. What can I do?
I noticed that Moz flags a lot of redirect chain issues on my site. I realized that this is mostly because the site automatically redirects http to https, and when I create a new URL (when a URL changes, for example) it is automatically flagged as a chain. Example: http://www.example-link Auto directs to: https://www.example-link Which is then redirected to: https://www.example-link-changed (when the address actually changes) I don't seem to have any control over changing where the initial http redirect goes. Any advice on fixing this problem?
On-Page Optimization | | baystatemarketing0 -
To redirect or not to redirect...That is the question
We have old product data that is being updated (approx 30k sku's). Most of the old pages have been indexed and drive the majority of our online sales. But, the updated products have different titles, H1's, etc and have been re-formatted for the better in terms of usability. So, should we redirect thousands of pages to the new pages? Will Google be ok with that?...or should we reformat the current url's with the new data? And, if we reformat current url's with new data...the fear is that the on-page elements that the pages are being pick up for will get wiped out, (be it the H1 in some cases or the title or alt tag for another, etc) because it's simply too much to retain them during the import. Please share
On-Page Optimization | | nisvision0 -
H1 Tag on Homepage
The name of our company is LEDSupply; our tag line is: "For All Your LED Project Needs!". Currently the H1 Tag for our homepage is LEDSupply: For All Your LED Project Needs - Low Prices, Big Bulk Discounts & Free Shipping My questions is should I break out everything but the tag line so the new H1 tag is: LEDSupply: For All Your LED Project Needs! Which is better in your opinion? Here is a link to our homepage: http://www.ledsupply.com/ Thanks! -Brooke
On-Page Optimization | | saultienut0 -
301 vs 302 redirect
Hello Mozers, I have a website which offers subscriptions on a monthly basis, when one profile expires the link of the profile gets a 301 redirect to the main category, just that if the member chooses to come back after a while he can reactivate the profile and the link will work again and the 301 will disappear, Should I be doing 302 redirect, as from this point of view it's only a temporarily redirect ? Thanks in advance
On-Page Optimization | | asmedia0 -
Reverse 301 redirect - how will that work?
Hi We have done some testing where we have changed our URL to a new name and 301 redirected the old to the new. It has now been decided to go back to the old url again but is there an seo risk to this? Will all the inbound links that as redirected in the first change be lost or?
On-Page Optimization | | AndersDK0 -
Www redirect
I get the following message when I try to start a new campaign. "We have detected that the domain www.shewula.nl and the domain shewula.nl both respond to web requests and do not redirect" In the q&a I found answers to this problem and tried to fix it. No success yet. This is what I have in my old ht.access file: RewriteCond %{HTTP_HOST} ^www.shewula.nl$ RewriteCond %{REQUEST_URI} !^/STICHTING_SHEWULA/ RewriteRule (.*) /STICHTING_SHEWULA/$1 [last] RewriteCond %{HTTP_HOST} ^shewula.nl$ RewriteCond %{REQUEST_URI} !^/STICHTING_SHEWULA/ RewriteRule (.*) /STICHTING_SHEWULA/$1 [last] I changed it to ( got it from the answers 😞 RewriteCond %{HTTP_HOST} ^shewula.nl
On-Page Optimization | | thomasfasting
RewriteRule (.*) http://www.shewula.nl/$1 [R=301,L] This gave me a 500 internal error in the server header checker tool. Does anybody know how I can fix this? The website is in a folder in the root of my other website www.fastingfotografie.nl Could this give me a problem? Thanks. Thomas0 -
Homepage Hogging Too Many Keyword Ranks?
Hello: I've been the publisher and SEO for Indie Rock Cafe since starting it in 2007. It's done great, and has #1 - #5 positions in Google for many strong keywords like "best new albums", "best new bands", "top new bands", "popular indie rock songs", and so on. However, for many of the results, the homepage keeps popping up over and over again. I thought I'd done everything right to get other pages on the site to rank for top keywords. Another potential issue is that I expected the homepage to have a 6 PR by now, but it seems stuck on 5. Any ideas? Insight from SEOs and experts is always enlightening and helpful, so thank you in advance for your thoughts and advice.
On-Page Optimization | | holdtheonion0 -
Redirecting to a keyword-rich domain URL
It's best practice to choose a domain that has keyword in it. But if someone has just launched a website and the domain name does not have keyword, is it better to purchase a new domain name that has a keyword in the name and redirect existing domain to the new domain? Will that help SEO? (This just launched website does not have any traffic or links yet.)
On-Page Optimization | | Amjath0