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
-
Issues with Multiple H1 tags on homepage?
Hi folks, My homepage has 3 identical H1 tags due to the fact that I have had to create individual hero images (with headings) for desktop, tablet and mobile. I couldn't get my theme to display the layout in exactly the way I wanted on each device without doing a specific hero image and tag for each device type. Does this have a major impact on my SEO? Thanks,
On-Page Optimization | | Veevlimike
Mike.0 -
301 Redirect to external site
Hi guys, We have a client who is getting their website redesigned through us. They are discontinuing couple of their services which will not get featured in the new site. They are fairly well ranked for these services and my client wishes to 301 redirect these pages to an external site owned by his friend so that they benefit out of the ranking. The question is: Will my client's website's general ranking get affected due to 301 redirecting to an external site? The external site is not spammy or red-flagged by Google (at the moment, at least). Thanks in advance!
On-Page Optimization | | RameshNair
Ramesh Nair0 -
Removing & redirecting old pages
Hi In the case of an e-commerce store when you remove/delete an old sub department page because you no longer sell the products that page was for can you/should you redirect it to its parent main category/dept page first or just delete and let become a 404 ? Being a sub department it is obviously closely related to the main category/dept but seem strange to 301 it since its not really moved permanently to that page but i hear that's what people do to transfer that pages authority before deleting it so its not lost cheers dan
On-Page Optimization | | Dan-Lawrence0 -
301 twice redirect (no negative)
Can i made twice 301 redirect, because i got "droped" domain and i dont want negative effect to new website. Can i redirect users some other way with no negative effect for fresh website?
On-Page Optimization | | cerar0 -
301 Redirect to product page or category?
We manage an ecommerce website that sells health products. A few products have now been discontinued. I’m just wondering what would be the best practice in this case. Should we 301 redirect to a similar product or to a similar category page? ANY HELP IS GREATLY APPRECIATED!
On-Page Optimization | | odegi0 -
Can you 301 redirect to a page that has other pages 301 to it?
Two years ago updated url page to include better keywords and used a 301 redirect from the old page to the new. so www.example.com/keyword-1st-generation.html now points to ... www.example.com/keyword-2nd-generation.html That moved the pages up in ranking, but now have better kw for the url, so is it okay to redirect the /keyword-2nd-geration-html to www.example.com/keyword-3rd-generation.html And what is a good length of time before removing the 1st-generation url? It's been 3 years and there is no chance of using it again. Plus, no sign of it in analytics.
On-Page Optimization | | AllIsWell0 -
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 -
My homepage no longer ranks for a keyword, instead a page from the blog now appears in the results
Hello, Our site used to rank for a specific keyword - "eco products", with a link going to the homepage. However, in the last few weeks, we've noticed that the home page no longer ranks for this keyword, and instead the second result on the page is a link to a catagory page on our blog. I'd be very grateful if anyone had any information about why this might have happened, and what possible steps I could take to remedy the situation. Many thanks, Sophy
On-Page Optimization | | sophycolbert0