Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. Share your own thoughts and experience, accounts may be terminated for violations.
  • Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

Strange

Status
Not open for further replies.
Joined
Sep 19, 2007
Posts
103
Reaction score
1
Hi, I have a site that for some reason appears to have two url's.
www dot sitename dot com and sitename dot com. Is this normal?
 
If you are a bit techie, or know someone who is, you can edit your .htaccess file to sort this out - so that whether someone types the www or not, it always resolves to the same version

IIRC it's called "canonicalisation" and is recommended by SEOs to avoid possible duplicate content issues

A google for "htaccess canonical" brings up several articles that might be useful

HTH

Cheers, Jon
 
This is the code you need for your htaccess file:

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} ^yourdomainname\.com$ [NC]
RewriteRule ^(.*)$ http://www.yourdomainname.com/$1 [R=301,L]

Save it as .htaccess & upload to the root after replacing yourdomainname with your domain name.

Beware to check first & see if there is already a .htaccess file there (select view hidden files in your ftp) - if there is don't upload a new one, you'll need to amend the existing one.
 
Status
Not open for further replies.
Top Bottom