WWW redirect confused

I have run a SEO website audio which throws up "WWW redirect" error. (see attachment)  My home page is called index.php and my registered domain is www.sowter.co.uk.    If I put sowter.co.uk into my browser (Chrome) it automatically changes it to www.sowter.co.uk.  I dont know how or why?  Do I need to add anything to my home page.  Is this a problem or not?
www_sowter_co_uk_2015_09_25.pdf
BrianSowterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
I went to 'sowter.co.uk' in both Firefox and Chrome and did Not get redirected to 'www.sowter.co.uk'.  I don't think you need to do anything.  I'm not sure why you are seeing that in your copy of Chrome.

Wish I could afford some of your transformers.
0
Dave BaldwinFixer of ProblemsCommented:
I just looked at the links on your home page.  All of them use http://www.sowter.co.uk so the minute you click on any of them, you will be seeing 'www' in your browser address bar.  If you are using 'sowter.co.uk' in your SEO, you should probably change it to 'www.sowter.co.uk' since that what all of your links are.
0
DrDamnitCommented:
Its not that he has Seo'd on a different domain, it's that the site will operate as two sites in Google's eyes.

If you have access to the Apache conf files, then use the Alias directive to fix this.

If your sure definition is www.domain.com, then you'll use:

Alias domain.com

 As the directive. (Or vice versa)

If you don't have access, then put a 301 redirect in an .htaccess file in the root.
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

BrianSowterAuthor Commented:
Thanks for this. Could you please let me have  sample code for the .htaccess file?
0
Lucas BishopClick TrackerCommented:
The htaccess code to force into www. version of your site:
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Open in new window

0
DrDamnitCommented:
+1 for Lucas' post.
0
BrianSowterAuthor Commented:
Sorry Guys but I am more confused than ever.
I have attached a screen clip from my Google dashboard showing 2 URL,s. I suppose the idea is that people can find us with and without the www .  I think this is causing the problem.  Should I delete one of them.
Dashboard-clip.pdf
0
Dave BaldwinFixer of ProblemsCommented:
Sorry but that isn't causing any problems.  One day a couple of years ago, Google decided to create separate listings for with and without 'www'.  I have a bunch of those and they make no difference at all.  If you delete one, it should be the one without 'www' since all your links include 'www'.
1
BrianSowterAuthor Commented:
Dave
Thanks for this.  I have asked the people who wrote the SEO tool I am using about this question.  I am going to wait and see what they say but it is looking as though this is red herring.
0
Dave BaldwinFixer of ProblemsCommented:
I went back and read that PDF from them.  To me and on the sites I support, that 'WWW redirect' comment is nonsense.

In my opinion, you would be better off spending your time fixing a lot of the little technical errors on your pages.  Because of an error at UTF-8", I can't even check your home with the W3C validator.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrianSowterAuthor Commented:
Brilliant!  Thanks.
I shall now have to learn about UTF-8!  Never a dull moment.
0
Lucas BishopClick TrackerCommented:
Sorry, just checked back in on this. The original issue you identified is a problem.

Your site should not render separately as:
http://www.sowter.co.uk
http://sowter.co.uk

One of those domains needs to redirect to the other one.

In Google's eyes currently these are two different sites, with duplicate content. If Google considers your content to be duplicated, it can hurt your rankings. There are two things you need to do:

1.

Set your preferred domain in search console

2.

Integrate the 301 redirect via the htaccess code specified previously in this thread
0
BrianSowterAuthor Commented:
I have done the search console bit.  Now I have access to server file manager. I cant find a file called .htaccess

Should I create one and if so where do I put it?  I attached a list of the folders on the host.

This is the code:  is it correct?

# And for a site running on port 80
RewriteCond %{HTTP_HOST}   !^www\sowter.co.uk [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteRule ^/(.*)         http://www.sowter.co.uk/$1 [L,R]
host-files.pdf
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Search Engine Optimization (SEO)

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.