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
-
Is this method of redirecting of 404 okay?
Hi all, This is my first post at this forum 🙂 I'am running a Opencart shop with a SEO extension installed. This extension has a redirect module which works like this. When visiting the site on 404 url (and if there is setup a redirect for that url). It serves the correct content but on the 404 url with the correct url set in rel canonical. For example: Try visit this url:
On-Page Optimization | | mrmagnecom
https://makitech.no/ventilasjon/ventilasjons-pakketilbud
Here i have setup a redirect to the correct content, which is actually this url https://makitech.no/pakketilbud I am used to use a 301 header redirect so the user get redirected to the correct url. So my question is this. Is it a okay practice to serve the content on the 404 url (it responds 200) when the correct url is set in canonical? Any thoughts?0 -
Redirect and Redirect Error in Moz Crawl
Hello, We have a wordpress blog attached to our magento website located at domain.co.uk/blog/ Moz was coming back showing we had multiple page versions on show (http and https) So i updated the htaccess file to what is below. This has fixed most of the errors, however the homepage is being a little tricky. Moz is now saying that the page is redirecting and redirecting again http://www.domain.co.uk/blog to
On-Page Optimization | | ATP
http://www.domain.co.uk/blog/ to
https://www.domain.co.uk/blog/ BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /blog/</ifmodule> RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L] END WordPress Within wordpress settings the urls are set up as follows Wordpress Address URL: https://www.domain.co.uk/blog Site Address URL: https://www.domain.co.uk/blog i tried to add a trailing / to these but it gets automatically removed. So i am assuming that wordpress is serving up https://www.domain.co.uk/blog **RewriteBase /blog/ **is re-directing it to / then my https rewrite is re-directing it again I am not sure where exactly to fix this, could anybody advise? Many thanks,0 -
How can I redirect anything after the article url to main article?
Hello everyone, When someone visits my websites article like http://www.website.com/article-title/lol , it give to 404 page error. But when someone http://www.website.com/article-title/ , it shows the article. The word "lol" can be changed to anything. I would like that to be redirected to the main article. Example: Someone visits website.com/article-title/lol, they should be redirected to website.com/article-title/ Is it possible to do so? If yes, please tell me how. Note: I'm using WordPress Thank you
On-Page Optimization | | hakhan2011 -
Redirecting https pages
If I add 301 redirects from the https versions of the root domain to the http:www.website.com (canonical version), will this prevent users from being able to access the https version? I believe the https version is only accessed once users log into the site. Thank you!
On-Page Optimization | | HiddenPeak0 -
302 Temporary Redirects
Hi, We currently have a number of 302 redirects set up on our e-commerce store that redirect from no forward slash at the end to a forward slash at the end of the url (see below). example: domain.com/treadmills
On-Page Optimization | | DustyBraband
Redirects to
domain.com/treadmills/ Am I correct in saying that this will not pass link juice and the redirects should be changed to 301's (or just removed?). Or are the two urls treated the same (with or without forward slash)? Thanks in advance! Regards,
Dusty0 -
Redirect a blog category page to the homepage?
Hi folks Following Penguin 1.1, I have a client site at number 5 for their primary keyword. (was creeping up page 2 with whitehat link building and tight on-site SEO.) However now the page ranking at No. 5 is for a blog category archive. What do people think the quickest / safest way to get this ranking directed back to the homepage is? Many thanks Simon
On-Page Optimization | | SCL-SEO0 -
Which is better, a directory 301 redirect or each page in the directory?
A customer of mine has a site with lots of articles and they are all quite spammy. They have not been affected by penguin yet so they asked what to do. I suggested losing the articles directory and 301 redirect to either the home page or another important page. Would a 301 redirect on the entire directory to a single page be the way to go or add redirects from each page within the directory and spread out redirects to various pages in website? Or do you have a better suggestion?
On-Page Optimization | | anthonytjm0 -
Non essential and essential on page optimisation?
I'm very new and not to sure about seo, but i want to know what on page factors are important and what are not important (example: meta tags and meta descriptions) are they important or not, a small list would be greatly appreciated of both thanks.
On-Page Optimization | | shrikey0