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
-
How do I carry out a redirect? Is there a code I need to use?
How do I carry out a redirect? Is there a code I need to use? Thank you in advance.
On-Page Optimization | | laurentjb0 -
H2 tags always recommended? Or ok without?
Is it ok to have no h2 tags? There are no "keywords" relevant to the product in these example h2 tags. Also, is it ok to not have a PRODUCT DESCRIPTION header, or is it better with that header? It's for a "product page". Examples: <h1>Used Bow Front Desk With Mahogany Laminate</h1> <h2 style="display:inline;">QTY:</h2> 3 - <h2 style="display:inline;">Manufacturer:</h2> Hon <h2>Product Description:</h2> <p>This bow front desk is in excellent condition. It has a beautiful mahogany laminate.</p> OR (no h2 tags or product description header at all) <h1>Used Bow Front Desk With Mahogany Laminate</h1> <p>QTY: 3 - Manufacturer: Hon</p> <p>This bow front desk is in excellent condition. It has a beautiful mahogany laminate.</p> I prefer the last one as it's much simpler, but I'm curious if search engines would prefer the existence of h2 tags in the first version. Thanks,
On-Page Optimization | | NRSmart
Todd0 -
How to 301 redirect, without access to .htaccess and to a new domain
There are few ways to do this and I would like to ask other Mozzers if they have found the best way. We have a site .co.uk and are moving it back to .com. However we do not have any access to the site folders for .co.uk. (We have to move it anyway as our provider is withdrawing their service). We have built our URL 301 redirect file and it is ready to go, but how to impliment it? We can repoint .co.uk to another site, and then redirect all traffic for each URL but this is quite messy, or just forget trying to 301 each page and just rediect the whole site.
On-Page Optimization | | BruceA
the .com has more authority already, but we ready do not want to frustrate visitors who are using a link to reach a product, only to find they hit our homepage and not the product. Your thoughts would be very welcome or other ideas Bruce0 -
Redirect www.domain to domain
How do I redirect www.entrepreneurhandbook.co.uk to entrepreneurhandbook.co.uk The latter is an existing site. Thanks James
On-Page Optimization | | entrepreneurhandbook1 -
Which version of the homepage on the sitemap?
We have been wondering this for a while now. When we build our sitemaps, or when the yoast plugin does in WP we are often left with www.yourdomain.co.uk/ and www.yourdomain.co.uk/index.html in our sitemaps. Surely it isn't healthy to have both in the sitemap. Which one should we take out? Thanks
On-Page Optimization | | EveronSEO0 -
301 Redirects From a URL without Keyphrases to one With Keyphrases
I have a client that sells services. Each service offered currently has a URL structure like this: www.companyname.com/product/asp$view-id-page3022-item-24 These pages are pretty old, and I would love to have a more user-friendly URL like this: www.companyname.com/product/purple-swatch-watch If I rename the URL and do a 301 redirect, what impact will that have on search? Ideally, this page will be optimized for "purple swatch watch", but the current URL structure is so... well, you know. My apologies if this has been answered before. I tried looking through archived of 301 issues, but lost hope after my first 10 or so attempts at answered didn't help this specific issue.
On-Page Optimization | | ericav0 -
Is it redundant to include a redirect to my canonical domain (www) in my .htaccess file since I already have the correct rel="canonical" in my header?
I've been reading the benefits of each practice, but not found anyone mentioning whether it's really necessary to do both? Personally I try to stay clear of .htaccess rewrites unless it's absolutely necessary, since because I've read they can slow down a website.
On-Page Optimization | | HOPdigital0 -
How much juice do you lose in a 301 redirect?
Our site has a number of, shall we say, unoptimized URLs. I would like to change the URLs to be more relevant; if a page is about red widgets, the URL should be www.domain.com/red-widgets.html, right? I'm getting resistance on this, however, based on the belief that you lose something significant when you 301 an old URL to a new one. Now, I know that if you have a long chain of redirects, the spiders will stop following at some point, and that is a huge problem. That wouldn't apply if there's only one step in the chain, however. I've also heard that you lose some link juice in a 301, but I'm unsure how serious that problem actually is. Is it small enough that we'd win out in the long run with better-optimized URLs?
On-Page Optimization | | CMC-SD0