301 Redirect and Webmaster Central
-
I've been working on removing canonical issues. My host is Apache.
Is this the correct code for my htaccess?
RewriteEngine On
RewriteCond %{HTTP_HOST} ^luckygemstones.com$ [NC]
RewriteRule ^(.*)$ http://www.luckygemstones.com/$1 [R=301,L]SECOND!!! I have two websites under Google's Webmaster Central;
http://luckygemstones.com which gets NO 404 soft errors...
AND
http://www.luckygemstones.com which has 247 soft 404 errors...
I think I should DELETE the http://luckygemstones.com site from Webmaster Central--the 301 redirect handles the"www" thing.
Is this correct? I hate to hose things (even worse?)
Help!
Kathleen
-
It seems like Google would want unused/unwanted pages removed--less "junk" on the web--less irrelevance to add to their already huge index...
A long time problem I think...I will sometimes put NOINDEX, NOFOLLOW in pages I wanted removed from the index--then after a few months, delete them.
Thanks for the feedback!
-
Hah, reading my daily dose of news and this came up.
"If we've seen a URL once, we're likely to retry it again and again, especially if we should run across new links to that URL. This isn't something that you really need to worry about, it's absolutely fine and even expected that a website returns 404 for URLs that don't exist. Assuming these are URLs that you don't want to have indexed, then these 404 errors will not negatively affect your site's performance in search. Having 404s is fine." - John Mueller
-
http://www.luckygemstones.com/anypage.htm" />
Yes, add the www. because that is what you want to be indexed.. you want the non-www version to be ignored and replaced with the www. version.
I wonder how people handle sold outs properly. - Keep the page and replace the "add to cart/buy now" button with a "Sold Out" graphic.
That way you get to keep all your pages (hopefully they are unique and get external links) and are able to target more keywords to cross sell your other items. And if you do get more of the item in stock, you can just add the payment buttons again.
-
So I still need the link rel tag on each page--including the 301 redirect?
So say or would the link tag require the www? I think not--but not totally clear!
We're a jewelry website--and things do sell out, so we remove the page (otherwise someone might try to order them) I have it in the sitemap to archive the pages yet still get 404 errors. I've been considering 410--but not sure how to implement...
We have literally thousands of items--so it'd be a bit of work to go over and manually remove sold out items at google every day. And what about yahoo/bing, etc?
I wonder how people handle sold outs properly.
Thx for your help!
Kathleen
-
Correct code for .htaccess.
I wouldn't remove the non-www version from GWT. Instead, set the preferred domain (configuration > settings > preferred domain > Display URLs as www.luckygemstones.com)
In addition, I would add rel canonical tags to the www. version of each page.
Can you list some sample soft 404s? By definition, they are pages that aren't found but return a 200 response code.
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
-
301 Redirecting from domain to subdomain
We're taking on a redesign of our corporate site on our main domain. We also have a number of well established, product based subdomains. There are a number of content pages that currently live on the corporate site that rank well, and bring in a great deal of traffic, though we are considering placing 301 redirects in place to point that traffic to the appropriate pages on the subdomains. If redirected correctly, can we expect the SEO value of the content pages currently living on the corporate site to transfer to the subdomains, or will we be negatively impacting our SEO by transferring this content from one domain to multiple subdomains?
Intermediate & Advanced SEO | | Chris81980 -
301 Redirect from unused domain
Hi All First question here so go easy.. I have a property site which is working well so far considering it;s early days, unfortunately some of my earlier efforts did not go so well and one in particular I pretty much destroyed in my attempts to improve the site SEO. Lucky enough my SEO skills have improved quite a bit lately, largely thanks to the great tools, tutorials and experts here at Moz 🙂 My question is whether I can use a 301 redirect to pass the domain authority and any link equity from an unused site to the one that ive done a better job on? it would seem a little sketchy to me and I would prefer not to get slapped and penalized "again" for doing something dodgy... Thanks everyone and thanks for all the help over the last 6 months or so.. Wes Dunn
Intermediate & Advanced SEO | | wesdunn19771 -
301 redirect to a temporary URL
Hi there, What would happen if I redirected a set of URLs to a temporary URL structure. And then a few weeks later redirected the original URLs and temporary URLs to the final permanent URLs? So for example:A -> B for a few weeks.
Intermediate & Advanced SEO | | sichristie
then: A->C and B->C where:
C is the final destination URL.
B is the temporary destination
A is the original URL. The reason we are doing this is the naming of the URLs and pages are different, and we wish to transition our customers carefully from old to new. I am looking for a pure technical response.
Would we lose link juice? Does Google care if we permanently redirect to a set of 'temporary' URLs, and then permanently redirect to a set of what we think are permanent URLs? Cheers, Simon0 -
301 Redirects?
We have an e-commerce website with about 4500 products for sale. About 1200 of these items were not showing up in the Google PLA ads because they were $0 dollar items, so we made those products invisible. Then Set 301 Redirects for each of the 1200 items. My question is this; we want to turn back on the 1200 items, should we delete the 301 redirects that are in place for them.? Will it hurt SEO performance by having them?
Intermediate & Advanced SEO | | Goriilla0 -
303 redirect
Hi, 303 redirect is a good thing or not ? I have a homepage in 2 languages FR and EN > mywebsite.com/fr/ and mywebsite.com/en/. A 303 redirect is on mywebsite.com to mywebsite.com/fr/. Thanks D.
Intermediate & Advanced SEO | | android_lyon0 -
DNS or 301 Website Redirect
We are running a marketplace site, so we have thousands of vendors selling their products on our site. Each vendor has a Profile page and we are soon to launch a premium store-front that is white label. Many of these vendors will want to point a custom url to their premium store-front (which is a sub domain of the marketplace) and we are trying to get an understanding of how we should instruct them to point their url in a way that will give the main marketplace site the seo juice. We also want to understand what will show up in the address bar. Will it be their url or our sub domain? Will any of the marketplace seo juice boost their url local listing status?
Intermediate & Advanced SEO | | bloomnation0 -
Does 301 Redirect solve many problems?
Hi, there are many problems with my site. I have a lot of duplicate page titles and a lot of missing meta tags. However, I think most of them are BECAUSE i have a lot of duplicate pages. So I have read some articles and I will 301 redirect all the duplicated pages. Will this solve the problem with duplicate titles and missing meta tags as well? For example, my homepage has like 10 duplicated pages. Since they are duplicated, they have the same titles and they are all missing meta tags. I am planning to fill in meta tags JUST for the canonical page and redirect all duplicated pages to that page. Is this a good practice? Also, just curious, do different title tags and different meta tag description make the pages "not duplicated?" I assume it will still appear as duplicated.... Sorry if this was confusing...
Intermediate & Advanced SEO | | waltergah0 -
301 Redirect - How Long Until Recovery?
How long after one moves a page and sets up the 301s should the site take to regain its previous rankings? Context: i've ported a site to a new framework. Along the way, several high ranked pages needed to have new URLs setup, as well as the site moved from www.domain.com to simply domain.com. About 1 week after the change, the site's traffic went down 70% and has been there for about another 2 weeks. I suppose it could be something about the new framework that is causing problems though according to SEOMoz tools, the new framework is checking out pretty well. I assume the problem is reconciling all those old www inbound links with the new non-www location. It is all 301'd however ... so it should be working, but is not. So my questions are: 1. How long should it take Google to reconcile these changes and put us back to original SERP positions 2. is there something inherently problematic with switching from www to non-www?
Intermediate & Advanced SEO | | NealCabage0