Hi

I am trying to redirect a url in the htaccess file.

RewriteEngineOn
RewriteRule ^wakins.co.uk$ http://www.watkins.co.uk [R=301,L]

and I have also tried this

RewriteEngineOn
RewriteRule ^/wakins.co.uk$ http://www.watkins.co.uk [R=301,L]

Thanks in advance

D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.