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.
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 Redirect from query string to new static page
If i want to create a redirect from a page where the slug ends like this "/?i=4839&mid=1000&id=41537" to a static, more SEO friendly slug like "/contact-us/", will a standard 301 redirect suffice? Thanks, Nails
Intermediate & Advanced SEO | | matt.nails0 -
301 Redirect and Canonical link tag pointing in opposite directions!
I'm working on a site which redirects the non-WWW version to WWW version so, for example https://website.com/page redirects to https://www.website.com/page However, canonical link tags have been set up on the page - pointing back to the non-WWW so for example Q - is this going to cause issues and should the canonical be updated to the same version as the redirect?
Intermediate & Advanced SEO | | SWEMII0 -
301 redirects in Wordpress vs. making old posts that you no longer want your audience to see private.
I'm working on Wordpress at the moment changing the content of a page on my website. The page has a lot of educational information and each section is unique. I had to go through and edit each section on google documents and now I'm posting all the new pages and making the old pages private on wordpress. Is this a good idea? I'm worried google will still crawl my private education pages and think these are duplicates since the new pages somewhat resemble the old. Also, should I be 301 redirecting all the old education pages to the corresponding new ones even if they are private on wordpress? I understand that the 301 redirect should only be used if you want the old page to go to a new one. What i don't understand id weather this will still be relevant or work if I've already made the old page private on wordpress. Thank You!
Intermediate & Advanced SEO | | SapphireCo0 -
SEO impact difference between a URL Rewrite and 301 redirect
Hi guys and girls! Just putting a new site live, we changed the URL from one thing to another and I created a 301 file redirecting the urls like for like. The developer installing it has created a different file with columns like: RewriteRule ^page/ http://www.site/page [R=301,L] RewriteRule ^/page/ http://www.site/page [R=301,L] What's the difference? The page redirects but is there a difference between the 301 redirect and this URL rewrite in terms of SEO and link value?
Intermediate & Advanced SEO | | shloy23-2945840 -
When is it time to kill 301 redirects
3 months we updated our site design design and as such lots of page urls changed. At the time we 301 redirected about 100 pages. (All pages are on the same domain - 301 redirects like .com/about-us/company to .com/company) Anyhow my question is should I leave these redirects active indefinitely or kill them assuming value has passed through by now? Your Thoughts are welcomed. Thanks, Glen.
Intermediate & Advanced SEO | | AdvanceSystems0 -
Time sensitive: HELP! We are having a problem doing a 301 redirect.....what can we do instead?
Our website has dynamic URLs and we are moving to another server/platform. 301 redirects is looking like a highly unlikely solution. A 3rd party company is handling the back-end of the website which they say works more like a "search engine" than a traditional website. Maybe that explains why they're having a hard time with the 301 redirects. Worst case scenario: we can't use the 301 redirect. What else can we do? We are considering "Indicate your canonical (preferred) URLs by including them in a Sitemap" as Google describes here: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139066#2. I'm wondering if this method only applies to duplicate content........and what would happen once the old website results in a 404 page...... HELP! We need to cross over to the new platform as soon as possible.
Intermediate & Advanced SEO | | PatriotOutfitters810 -
SEOMOZ found basically all my articles and says they need a 301 redirect ?
Hope someone can HELP. So my site looks like it has the proper 301 redirect to www. for the main domain. But for some reason my articles that have a /trackback on them redirect to same address with out the trackback at the end. How do i fix this? seomoz is saying all my articles need a 301 redirect .all like 100. Thanks any help would be great
Intermediate & Advanced SEO | | jstgobig0 -
Redirects/Forwarding
I have two niche e-commerce sites. One is a PR3 with 3K pages indexed, the other is PR0 with 5K pages indexed. Each site has a blog that has been updated regularly. They both rank well for some fairly competitive keywords and some good links pointing to them. I also have a main site that is PR3. I am thinking of closing down the sites because they are not generating enough revenue, here are my questions: What is the best way to get the most SEO value from these sites? Do I just do a redirect to the main site? Should I keep the sites and use canonical URLs to the main site? Should I keep the domain as a wordpress blog and point links to the main site? What should I do with the blogs? They are on sub-domains, neither has pagerank. Thanks
Intermediate & Advanced SEO | | inhouseseo0