If I have set up my www as a cname, do I still need to add a redirect?
-
Hello,
I am trying to minimize my redirect chains that have been popping up in my Moz crawl issues. So I'd like to get clear on some best practices. I have a few clients that are getting their first redesign in a while. We are moving into Wordpress from good ole .html files. So I've installed a redirection plug in to create 301 redirects for those .html versions of the pages.
But apparently I am already redirecting from www to non-www. I have the www set up as a CNAME going to the IP address - is that counting as the redirection? Sometimes though, the www is set up by making it an A record. Is one way better than the other?
Finally, I'm forcing https for all my new sites now. Is whatever the host does to "force" https also counting as a redirect and contributing to my chain?
Any advice will be appreciated!
-
Thank you!
Yep - I redirect the .html files to the https domain to as specific a page as possible. Its good to know that I don't have to factor in the CNAME or A records into the issue.
It sounds like I am doing the right things from what you say - yet I do have some redirect chain warnings in my Moz crawl.
-
I'd like to confirm that a CNAME is indeed not a redirect and that Steve is absolutely right. You will need to set up a proper 301 redirect to go from one to the other.
-
\The redirects for the old .html structure should go to the preferred domain, ie: https://nonwww.com/most-relevant-new-location
CNAME is not a redirect and just points the user to the right server and I don't think switching is going to have any impact on what you're seeing. Some services like Cloudflare prefer you CNAME your www and non-www to the server to help protect the server IP.
The switch to https is an important one and you want to be sure that you take every step to make that smooth transition, ultimately getting https pages ranked instead of your http versions, and then users will be hitting your preferred URL scheme.
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
-
Magento- Temporary Redirects
Hey guys! My organization just launched an eCommerce site and we are receiving a lot of temporary redirect issues. How do you solve this issue (36k of them) within Magento Enterprise? 1. All settings have been changed to 301 redirects but I am still receiving the same errors during my crawl report. 2. Website URL = www.CanyonOS.com Any support or advice is greatly appreciated! Oh and if you need any toner, you know where to go :)! Sincerely,
Moz Pro | | CanyonOS0 -
Is my 404 page set up correctly?
HI there! In using a few different tools, and I have received varied result concerning my 404 page. In WebSite Auditor from Link Assistant, it says my page is set up incorrectly. My webmaster has told me that it is set up correctly, but at this point I'm not entirely sure what's what. Is there another way to test it? I guess i'm not quite sure about the jargon and what "return 404 response code" actually means. Thanks for your help!
Moz Pro | | NutcrackerBalletGifts0 -
Rel="canonical" tag is implemented in my product pages, but still getting canoncal error for products in Moz. What is the problem? me or MOZ?
I have included the rel="canonical" tag in all my product pages, but still getting canonical error in MOZ reports for more than 6 month ! I would like to know if my code is wrong or the MOZ report system is not working properly. Here is an example of my canonical code in line 84 rel="canonical" href="http://www.doornmore.com/slab-single-door-80-fiberglass-courtlandt-1-panel-arch-lite-glass.html" /> Thanks Shayann
Moz Pro | | Shayann0 -
How do I exclude my blog subfolder from being crawled with my main domain (www.) folder?
I am trying to setup two separate campaigns for my blog and for my main site. While it is easy enough to do through the wizard the results I am getting for my main site still include pages that are in my blog sub folder. Please Advise!
Moz Pro | | sameufemia0 -
The videos we bought of the presentations on MozCon 2011 seem to be disappeared. Can I still watch them somewhere?
Last year we bought the videos of presentations on MozCon 2011. They seemed to be disappeared now. Is there a possibility to still watch them?
Moz Pro | | Hebels0 -
How do I add a logo to a campaign/report I had before I updated my account?
I have tried to go in and add a logo to a report on one of my campaigns, but I can't see where to do that anywhere. Thanks.
Moz Pro | | Rocket.Fuel0 -
Where is the best place to add links on my site?
If I'd like to put links to other sites in my site, is it better to have a page named "Our Helpful Links" etc. instead of just adding them to the bottom of an existing page like I've seen on some sites? I'm asking because I'm wanting to make Google as happy as possible and still add them. Just in case it helps to look at the site yourself to give advise its; http://www.allstatetransmission.net If you see anything else there that I should work on feel free to be hard on it, I value any criticism. Thanks, Jeff
Moz Pro | | allstatetransmission0 -
Www.mydomain.tld same as mydomain.tld - unexpected results
Hi I set up a campaign to monitor a website and chose to track the root domain, however the report showed every single page on my website was duplicated with itself when seen as www.mydomain.tld as opposed to just mydomain.tld. I deleted the campaign and set it up to monitor only the www.mydomain.tld as I don't use any other subdomains, however in Bing results the website is listed without the www and so is not recognised in the ranking checker. How can I set it up so that seomoz recognises the pages as the same either with or without the www?
Moz Pro | | PandyLegend0