Www to non www redirect
-
HI there,
I was worried that my folder was not being crawled as when I searched for site:www.thekeepsakeco.co.uk/marketplace nothing came up but today I tried site:thekeepsakeco.co.uk/marketplace it does. So it is forwarding the www to the non www. When I do a search on links or analyse the domain it says there is a forwarder in place.
My site used to dominate in my niche and now is not doing very well since I moved to the new site. I know I did not handle the move well but wonder what I can do about it and wonder if this redirect is causing issues. So any link building it probably going to www. rather than non www so does that mean they are not counting.
What would you do? move everything back to www and could I do a 301 redirect for the whole folder?
Any help greatly received!
Kindest regards
Victoria
Thanks
Victoria
-
A 200 does mean "OK" - for that URL (note - not for the site).
So, if you want the www. version indexed rather than the non-www version then you want http://www.keepsake.... so return a 200 response ("Yes - this URL is OK"), but you want http://keepsake... to return a 301 ("This URL is not OK. It has moved to http://www.keepsake... ").
As I say, some of your URLs do that correctly, so whoever put the redirects in place understood what they were aiming for. However the ones with the trailing slash don't.
Is that a little clearer?
-
Thanks Billy - I did it back at the beginning of the new year I would say. I will see if I can go through and do all the re-directs again. Thanks
-
Thanks for looking at this for me in such detail. I thought a 200 response meant everything was ok with the site?
-
This baffled me for a moment. However I think that you have some bad regex in your .htaccess as not everything is being caught by that 301.
For instance:
http://thekeepsakeco.co.uk/marketplace/store/products/magic-mallow-impression-kit
301s just fine, yet add the trailing slash...http://thekeepsakeco.co.uk/marketplace/store/products/magic-mallow-impression-kit/
and you get a 200 response.That seems to happen across a lot of URLs for you.
If you do search for site:thekeepsakeco.co.uk -inurl:www.thekeepsakeco.co.uk you'll see the ones that have already been indexed (there may be more of course). I've checked about 10 of those for you and they were returning the 200 status.
Still not sure why I thought it was 302ing yesterday. I checked your homepage before I responded and I swear it was a 302. However that 200 response would seem to be your issue.
-
when was your site moved over to the new site? You say that didn't go well and I have to wonder if you left out a lot of redirecting there. If it hasnt been to long and Google still has the old site indexed (or even if not if you had good links) I would make sure you redirect every page of your old website to the relevant page of your new website.
-
Thanks for your time Matt - I can not find any 302's anywhere and only 301 and when I do a redirect check on http://www.webtoolhub.com/tn561352-url-redirection-checker.aspx it comes back as 301.
If it is 301 is it ok or can you show me how to see the 302?
-
HI Victoria,
The problem is that you have used the wrong type of redirect.
You are using a 302 redirect. This is a temporary redirect. Search engines treat this as "This has moved, but don't update anything - it'll be back soon".
What you want is a 301 redirect. This is more "This has changed address - please update all records".
This should be a very simple task for whoever did the redirect for you. They will probably have to literally change 1 character!
I hope that helps.
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 can I check spam score and non indexed links
Hi I am working on a project in which I have a local services website <a target="_self">www.thepcrrg.com</a> I want to be sure its links are getting indexed or not. Please help me.
On-Page Optimization | | Jioiebytt2 -
How do I redirect SEO from pages on old website to new website with new domain name?
How do I redirect SEO from pages on old website to new website with new domain name? My website in squarespace has good rankings and we have rebranded to a new name and enw domain name, how do I move across the rankings fomr the old site in squarespace to my new site thats in wordpress please?
On-Page Optimization | | Carrotpower0 -
Changing from www to non-www impacting page authority?
I moved my website in May from Wix to Wordpress. Since then the home page authority has dropped from 27 to 16. The old website displayed as www.ajlansell.co.uk, but the new site is set to ajlansell.co.uk without the www (this was set by my hosting company). I tried changing the settings in Wordpress to www.etc, and the home page bounces back up to a page authority of 27 - but it messes up the menus and some other elements on the page so that the page is not displayed correctly. Is there any other way I can get that page authority back? Thanks.
On-Page Optimization | | Photowife0 -
From an SEO perspective, which is preferable in the URL for a non-English site: local language or English?
For example, the article is titled ' गर्मी में त्वचा की देखभाल कुछ यूँ करें' (English Meaning: Skin Care Tips for Summer), which one of these three URLs is best for SEO purpose? 1. example.com/ गर्मी-में-त्वचा-की-देखभाल/ (URL in local language, Hindi in this case) 2. example.com/summer-skin-care-tips/ (URL uses English words with English translation) 3. example.com/garmi-mein-twacha-ki-dekhbhaal/ (Hindi words, but written in Roman English) A response will be much appreciated, Amit
On-Page Optimization | | DusBus0 -
Removing non www and index.php
Hi, I'm green when it comes to altering the htaccess file to remove non www and index.php. I think I've managed to redirect the urls to www however not sure if I've managed to remove the index.php. I'm pasting the contents of the htaccess file here maybe someone can identify if I have unwanted lines of code and if it is up to standard (there are a lot of comments in #) not sure if needed but I've left them as I don't want to screw up anything. Thanks 🙂 @package Joomla @copyright Copyright (C) 2005 - 2016 Open Source Matters. All rights reserved. @license GNU General Public License version 2 or later; see LICENSE.txt READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE! The line 'Options +FollowSymLinks' may cause problems with some server configurations. It is required for the use of mod_rewrite, but it may have already been set by your server administrator in a way that disallows changing it in this .htaccess file. If using it causes your site to produce an error, comment it out (add # to the beginning of the line), reload your site in your browser and test your sef urls. If they work, then it has been set by your server administrator and you do not need to set it here. No directory listings IndexIgnore * Can be commented out if causes errors, see notes above. Options +FollowSymlinks
On-Page Optimization | | KeithBugeja
Options -Indexes Mod_rewrite in use. RewriteEngine On
RewriteCond %{REQUEST_URI} ^/index.php/
RewriteRule ^index.php/(.*) /$1 [R,L] Begin - Rewrite rules to block out some common exploits. If you experience problems on your site then comment out the operations listed below by adding a # to the beginning of the line. This attempts to block the most common type of exploit attempts on Joomla! Block any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]([^)]) [OR] Block any script that includes a0 -
301 Redirect from .html
Hi there, Following on from this post:
On-Page Optimization | | finelinewebsolutions
http://moz.com/community/q/help-with-duplicated-content Please could one confirm that using the following code in our htaccess file will stop the duplicated content issue we are having. RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+.)+html?\ HTTP
RewriteRule (.+).html?$ http://www.bereavementstationery.co.uk/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html Kind Regards Alec0 -
302 redirect (temporary redirect)
Hello guys, I have a stupid problem, i guess you solved long time ago. After i crawl my website, i found out that i have 8k temporary redirect (302 redirect). All of them came from www.domain.com/enable-cookies, there are 8 k of this type. I guess i am not first one with magento having this problem. Could you explain what happen in fact? And more than that could you explain how to fix it? I bet people will find this thread important i will not be the last one with this problem Thank you in advance. With Respect, Andrei
On-Page Optimization | | Shanaki0 -
301 redirect and then keywords in URL
Hi, Matt Cutts says that 301 redirects, including the ones on internal pages, causes the loss of a little bit of link juice. But also, I know that keywords in the URL are very important. On our site, we've got unoptimized URLs (few keywords) in the internal pages. Is it worth doing a 301 redirect in order to optimize the URLs for each main page. 301 redirects are the only way we can do it on our premade cart For example (just an example) say our main (1 of the 4) keywords for the page is "brown shoes". I'm wondering if I should redirect something like shoes.com/shoecolors.html to shoes.com/brown-shoes.html In other words, with the loss of juice would we come out ahead? In what instances would we come out ahead?
On-Page Optimization | | BobGW0