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
-
Need advise/strategy for cleaning up backlinks to my site
I recently redesigned my website (studio35design.com), and with that, I'm finally paying attention to SEO. I used a few different tools to find the amount of backlinking domains I've built up through the 7 or so years. The numbers are the following: 52 Total Backlinking Domains (800+ links):
Moz Pro | | rubennunez
• 17 of those are from blog commenting - they are pretty much all NF
• 20 of those are from sitewide footer credits on websites I've built. They are all old, as I stopped adding sitewide links to my client sites over a year ago.
• 7 of those are from spam. My site was hacked last year which contributed to alot of it. I've since then completely scrapped my old site and built this one on webflow (Not self-hosted like my old WP site).
• The other 10 or so are from forums, and the odd photo credit. As you can tell, almost none of these backlinks links are really any good. I'm surprised that my DA is 27 really. So moving forward, I need to know the best strategy dealing with these "bad" links. For the spam, I'm going to disavow in google webmasters. As for the rest, here are my questions... QUESTION 1:
As for the sitewide links, would the best thing be to remove the link altogether from the footer of each one of those sites? Some I can't because they are really old, and I don't have access to them (I'll probably disavow), but the rest I can still go in and update. QUESTION 2:
Will removing a ton of links at once hurt my DA and my google ranking? I can probably eliminate 500-600 links within a few days just by removing the sitewide links. How quickly can I expect those links to drop off? A few months? QUESTIONS 3:
Should I disavow blog commenting links even though they are NF? Does it matter at all? QUESTION 4:
I noticed 5 or so of the domains I have links one aren't working domains anymore. How quickly can I expect those links to drop off? Thanks in advance for your help.0 -
How to resolve recurring 302 redirects?
In my Moz site crawl there is a fluctuating number of 302 redirect pages that don't physically exist - most are through a 'compare product' option. The number of 302s varies significantly by how many pages Rogerbot has crawled - the more pages crawled, the higher the number of 302s, so I'm pretty sure it's the 'compare product' that's causing the issue. I can't find a way to remove the compare product button so I need another way to resolve it. I can;t canonicalise the pages as they don't exist as such. Does anyone have any ideas?
Moz Pro | | MrLeeB0 -
New to Moz, need some probably basic answers about Keywords, Linking, Competitors and General SEO
Hi, So I have quite a lot of data colelcted about my site now, regarding keyword research, page crawling and competitor research ect. But I find myself second guessing myself about what I have done and what to do next. I have done basic research for as many relevant keywords I could think of to my site, including branded and non branded terms. If the main competitive keywords for my niche are very competitive, shall I start doing more research for long tail keywords and only try to rank for them? Does is matter how many keywords I am doing research for? Does is matter how many keywords I try to optimise for each webpage? Are the amount of branded keywords I am researching skewing my results? As they are all ranked #1, but nearly all of the non branded keywords are much further down the list... Once I have decided what keywords are worth trying to ranking for for each page, are the techniques to actually rank more highly for them - Title, H1 Tag, Description, Meta Data, Fresh Content and using the keywords on the page? Or are there more techniques I haven't heard of? Under Keyword Rankings - I noticded that some of my keywords are directing to specific pages, like "Cavity Waxes" is directing to the URL ending in .com/cavity-waxes - How do you assign the keywords im researching to specific URLs? - Or does Moz do it automatically? As most of my keywords seem to be unassigned to any URL, is that because they are not ranking highly enough? How do I best use the data collected through Moz? Good practices? Techniques? Tips and Tricks? What is the best practice for finding potential link partners and asking them for mutual linking? Techniques for finding partners that are likely to link with us, but still provides link juice. I must apologise for this long-winded set of questions, but these are troubling me! Any help would be greatly appreciated, Kind regards, Max Johnson
Moz Pro | | BiltHamber10 -
Question on redirect and internal link count
After crawl I saw that dup content came from domain.com/index.php and domain.com. I was going to redirect one of them but im curious which way to go. The /index.php has domain auth of 19, the other 17, so not big difference. Domain.com has 2 external linking domains and index.php has 1. The big difference is in the internal link counts where index.php has 76 and the other only 4. So should I direct index.php to / or the other way around?
Moz Pro | | satoridesign0 -
Campaign set-up: root domain vs. subdomain
Hi, I have a question about the proper way to set up a new SEOmoz campaign for a simple 5-page website (home, about, services, blog, contact). If I'm tracking only www.domain.com, does it make a difference if I set it up to track just that subdomain or should I track it at the root domain? Is it better to use the root domain? Are there pros or cons to using one over the other? If the website is expanded in the future, any future pages will most likely be on the same subdomain (e.g., www.domain.com/page). Thanks in advance! Carolina
Moz Pro | | csmm0 -
Can we add sites to the crawl queue for OSE?
Is it possible to request that Open Site Explorer crawls a new URL on its next run? This tool is the first place I go to when working on a new site, and when there is "No Data Available" this is a little frustrating. I fully appreciate that this lack of data is usually a signal that the website is either very new or of low quality, however that if often the reason that I am brought in and would very much like to benchmark and provide initial analysis using this tool. It would make sense that OSE crawls the sites that Moz members are working on wouldnt it? Scott.
Moz Pro | | eseyo0 -
Set crawl frequency
Current crawl frequency is weekly, is it possible for me to set this frequency our-self?
Moz Pro | | bhanu22170 -
Why is my site showing a redirect that doesn't exist?
I have two sites. www.plasticandfoampackaging.com www.flyfitters.com Previously I had flyfitters 301 redirecting to plasticandfoampackaging. I stopped that about a month ago. I moved the nameservers and stopped the redirect. I am a novice but it seems to be working perfectly. However, SEOMOZ is showing that the redirect still exists. Does the site need to be recrawled or do I need to update the info somewhere? Please advise. Thanks Patrick
Moz Pro | | PlasticandFoamPackaging0