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
-
With 301 Redirects Does Changing URLs Matter?
We are redesigning our website in order to give it a more modern visual look. For the most part all the content will remain the same. Our old site is hosted on .asp so all of our current URLs look something like this: www.example.com/products/food.asp We plan on using 301 redirects in order to update every URL and remove the .asp. Since we are going to be doing 301 redirects for every existing URL anyways, does it matter from an SEO and ranking standpoint, if we also change the content and structure of the URL? For example, would we see a ranking impact if we were to change the above example URL to www.example.com/food? Obviously we want to try to retain as much link juice and ranking factors as possible during this redesign. Another issue we are seeing is with the image file names of our existing website images. We are moving to a new CMS platform (WordPress) that automatically saves images using a folder path similar to this: wp-uploads/2015-08/food. Will that change affect our SEO or ranking at all? When Google crawls an image does it care about the full path? Any insight would be much appreciated! 🙂
On-Page Optimization | | BlueLinkERP0 -
Duplicate Content aka 301 redirect from .com to .com/index.html
Moz reports are telling me that I have duplicate content on the home page because .com and .com/index.html are being seen as two pages. I have implemented 301 redirect using various codes I found online, but nothing seems to work. Currently I'm using this code. RewriteEngine On
On-Page Optimization | | omakad
RewriteBase /
RewriteCond %{HTTP_HOST} ^jacksonvilleacservice.com
RewriteRule ^index.html$ http://www.jacksonvilleacservice.com/ [L,R=301] Nothing is changing. What am I doing wrong? I have given it several weeks but report stays the same. Also according to webmasters tools they can't see this as duplicate content. What am I doing wrong?0 -
Www no longer redirects
Hi there, A while back I dropped the www from my domain. Everything redirected ok and I could still access my site using www and it would simply redirect to http://mysite This no longer seems to be occurring. I don't think I have changed anything? I don't believe I had anything in my htaccess however I am looking for some assistance in doing so. I've done a bit of reading but am not 100% confident! If anyone is interested, the url is http://cdkeyprices.com Thanks
On-Page Optimization | | MrPenguin0 -
Temporary Redirect pages
Hi, Temporary Redirect pages example when a non member goes to http://www.Somesite.com/detail/Username-Mike As he clicks the user names the user is directed to the login page http://www.Somesite.com/user/login We have 50K user accounts and 50K pages of content and each page has an option to comment and to comment user should be a member Moz campaing i get these 1,000's of links in Temporary Redirect page What is the action i can take thanks
On-Page Optimization | | mtthompsons0 -
Is this good practise for SEO: www.example.com/testing-once/testing-once.aspx?
My web developer is telling me that it is best practice for SEO to place your keyword in your URL twice. For Example: www.example.com/testing-once/testing-once.aspx. I'm sure that this is not true, could you please help?
On-Page Optimization | | CoGri0 -
Should I make All My "Non-Money" Pages No-Follow?
I'm branching out here from my novice seo status . . . In an effort to channel page rank to the pages I wish to rank for should I make all my non-money pages no-follow. Pages like "contact us", "about us", "application", etc. It seems to make sense to make these no follow so the page rank flows to the pages I wish to rank for. Am I on the right track?
On-Page Optimization | | leaseman0 -
Re-write homepage url for non EMD for SEO
Hi, A lot of talk about EMD's lately not just here but all over SEO and affiliate forums. I've dabbled in emd's but have decided to go against the grain and use a non emd. I think I can optimise hard enough to rank and at the same time build a brand, which is where most emd's fail. But my question is this: If you are targeting lets say the term 'running trainers' and the domain is runyoursocksoff.com would it be more beneficial to rewrite the root domain to this: runyoursocksoff.com/running-trainers/ It does look messy to me and more then likely I would not use this but I have seen it a few times and was wondering if its a work around for non emd's.
On-Page Optimization | | activitysuper0 -
Correct use of Canonical link vs 301 redirect
Hi All, Seeking yet more advice. SEOMOZ tools have told me I have duplicate content on one of my sites and I am keen to clean this up. I am not to familiar with the following so thought I would ask. The duplicate content is shown on : www.mysite.com www.mysite.com/index.html Obviously I only see index.html when I check the code so what is the best method of resolving the duplicate content, Canonical or 301? Can you give me an example 🙂 Thanks all
On-Page Optimization | | wedmonds0