Hello everybody
I'm doing a website for a client (Boutique Perfumes) and the site is live and going swimmingly. However, I've noticed that the non-www of the page shows up an error page. I've had not yet found a way around this and here is my htaccess of the site:
I'm a bit confuzzled as to why it doesn't work, but have noticed http://test.boutiqueperfumes.co.uk has a site associated to it, so it *could* be a dns, rather than server issue?Code:RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.boutiqueperfumes\.co.uk$ RewriteRule (.*) http://www.boutiqueperfumes.co.uk/$1 [R=301,L] ErrorDocument 404 http://www.boutiqueperfumes.co.uk/
Any suggestions?
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
Both work for me, but the non-www is NOT redirected, the site just loads for both.
For my sites that I redirect to www, I do NOT use the !^www - I just do this:
Code:RewriteCond %{HTTP_HOST} ^germanshepherd-breed\.(org|com|info) RewriteRule (.*) http://www.germanshepherd-breed.org/$1 [R=301,L]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks