x

(www.) to non www. or visa versa

Being a complete noob at SEO (still am) and before I got Weebly I was using .htaccess files to redirect my www. domains to non www.domains and vice versa for a couple of sites I own.

For those that don't know, Google sees www. sites and none www. sites (for example http://www.yourdomain.com and http://youdomain.com) as two different entities and marks your site as duplicate. In the world of SEO duplication can damage your site....You need a permanent 301 redirect at server level to make sure Google knows what you are using....I think...

I have told Google, via the webmaster tools, which version of the site I want crawled, however without access to the server side of things, as it's on Weebly I can't change the htaccess file.

Am I wrong in assuming that this cannot be done with Weebly, or even needs to be done, being that Google knows which one to look at? 

8,828 Views
Message 1 of 32
Report
1 Best Answer
Square

Best Answer

It looks like you have an extra A record, @mistu:

mistu.es	A	184.168.221.41
mistu.es	A	199.34.228.48
www.mistu.es	A	199.34.228.48

If you remove that top record it should fix the problem for you.

View Best Answer >

8,612 Views
Message 11 of 32
Report
31 REPLIES 31
Square

Since we forward the non-www version to the www subdomain, there should really only be one site for Google. Are you saying you're able to actually add a property for the non-www version?

2,785 Views
Message 21 of 32
Report

I've done some more digging around and its not the non www, its duplicating the http and the https versions of the site. I have put a cannonical tag on the main page to avert this, but should this be done as a 301 redirect on the server side and the htaccess file from Weebly's end? 

I may be completely wrong about this as I am still a novice when it comes to SEO and i'm more than confused when it comes to cannonical and redirects.

Just on a side note if I have to put a cannonical tag on each page how would I do this on a category and product page as there is no header or footer area to put code in??? This would alse be handy for schema markup too.......

2,782 Views
Message 21 of 32
Report
Square

I'm definitely no SEO expert. I do have a site I manage outside of Weebly that had SSL enabled a year or two ago, and had to create a new property in webmaster console for it because Google thinks they are two separate sites. I saw zero negative SEO effects from enabling SSL and having two properties for the same site. I chalked it up to Google's product just being weird, especially since other Google products (like Google Analytics) will recognize http and https as the same site.

As for adding canonical tags to products and categories, I don't think there'd be a way to do that now. That also feels like something we could be adding automatically rather than something you should need to manually add.

2,781 Views
Message 21 of 32
Report

Hi , I am having some of the issues highlighted in this old thread. Everything was working fine up until a few days ago.

Now, all the non 'www' versions of the website are no longer working. I have SSL enabled and also tried switching this off, unpublishing, enabling SSL again and republishing (multiple times in different order too) but still no joy.

I did recently add <link rel="canonical" href="https://www.mysite.com.html"> in each page settings Header Code (with correct URL extension). Not sure if this has anything to do with the issue.

I checked my settings within Crazy Domains are all seems to be as it should be. It is as follows:

@.izonmarketing.co.uk
199.34.228.77

www.izonmarketing.co.uk
199.34.228.77

Thanks

2,537 Views
Message 21 of 32
Report
Square

I'm not getting any SSL errors from the homepage of your site, @Gee. Did you make any changes since posting? I can see that your SSL certificate renewed on December 30th, so it should be working fine as long as you aren't including third party content over http.

2,535 Views
Message 21 of 32
Report

@Adam, I'm really not sure why this is happening!?

If you visit either of the following, you will notice that none redirect or work.

izonmarketing.co.uk
http://izonmarketing.co.uk
https://izonmarketing.co.uk

Any ideas?

I have gone into the DNS settings in Crazy Domains and added an extra A Record for with ‘*” (that’s an asterisk by the way) to see if this fixes the issue.

2,533 Views
Message 21 of 32
Report
Square

I see A records for both the "www" subdomain and the wildcard "*", but I don't see one for the root domain. Try adding one with the host set to @ that points to the .77 IP.

2,532 Views
Message 21 of 32
Report

Hi @Adam, i have had a A record already set for "@" for some time (as you will see from the image).

Can't still figure out why non-www versions do not work!?

Gee


image

2,528 Views
Message 21 of 32
Report
Square

You said you noticed it stopped working when you added the tag? Have you tried removing it to see if that resolves the issue? 

2,522 Views
Message 21 of 32
Report

Hi @Bernadette and @Adam

I removed the <link rel="canonical" href="https://www.izonmarketing.co.uk/"> from the homepage hearder code only and still can't access the non-www version of my website. I even tried un-publishing, disabling SSL, re-publishing etc etc in different order but still no joy.

What can I try next?

2,476 Views
Message 21 of 32
Report
Square

Because we automatically always forward a custom domain to www.customdomain, there isn't really a way to view your site without it. When I visit just http://zonmarketing.co.uk it forwards to https://www.izonmarketing.co.uk with SSL working for me.

313 Views
Message 21 of 32
Report