Read more about web design Cork and drop us a message!

Just copy and paste the code below into a new file at root level on the server called rewrite.script

Change the domain to your own and all non www will be forwarded to the correct URL, prevents duplicate content errors with Google!

match IN:Host into $ with ^mydomain\.ie$
if matched
match URL into $ with ^/(.*)$
if matched
set OUT:Location =$1
set OUT:Content-Type = text/html
set RESPONSE = 301
set BODY = Moved

- Posted - Categories

Back to Top

Random Web Design Testimonials

“Hilary is an experienced web designer who understands the most complex coding issues web designers can face. Very easy to work with and always meets her deadlines.” January 17, 2011

Paul Feeney -