CSS Breaks when not using www in the site address

Hi there,
I have got a strange issue I can’t figure out.
When not using www in the site address the CSS is broken.
What i mean is
When use https://www.queenstownmedia.com is absolutely fine
When using https://queenstownmedia.com the CSS is broken.

Any idea how to fix this?

Thanks in advance

Hi,

You need to choose only one version of your domain.

By allowing multiple versions of your domain open and crawlable to search engines you “split” your ranking authority and result in the issues you are seeing right now.

The best practice is to choose one version of your domain as the “true canonical” and then 301 redirect the others at the server level by means of mod_rewrite code. Doing so will consolidate your content, incoming links and PageRank and greatly increase the root domain authority of your site.

To search engines, if your site hasn’t instituted 301 redirect commands at the server level, all of these versions of your site home page would be treated as “separate pages” and each would accumulate authority individually:

http://yoursite.com/
http://www.yoursite.com/
http://yoursite.com/index.php
http://www.yoursite.com/index.php

If you want to have your domain with www, navigate to Settings > General and change the urls accordingly

You can then use this third party plugin to redirect non www to www

Hope this helps

Thanks for this.
Appriciated

We are delighted to assist you with this.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.