Hi there Kindly clau provided me with this rewrite code that appends a .au to the end of a domain name for all addresses point to the old domain however currently when it redirects it is missing a / between the domain and the sub page im sure its an easy fix but i just have no idea when it comes to Apache any help would really make my day and be most appreciated example http://www.domain.com/page/ <==== entered in browser http://www.domain.com.aupage/ <==== redirects to this address Thanks in advanced Nick AddHandler cgi-script .cgi #AddType application/x-httpd-cgi .cgi .pl #Options +Indexes +ExecCGI #DirectoryIndex index.cgi #AllowOverride Limit FileInfo Indexes RewriteEngine On RewriteCond %{HTTP_HOST} ^quantumb2bnetwork.com/$ [OR] RewriteCond %{HTTP_HOST} ^www.quantumb2bnetwork.com/$ RewriteRule ^(.*)$ "http\:\/\/www\.quantumb2bnetwork\.com\.au\/$1" [R=301,L] Code (markup):
RewriteCond %{HTTP_HOST} ^(quantumb2bnetwork.com|www.quantumb2bnetwork.com)$ RewriteRule ^(.*)$ http://www.quantumb2bnetwork.com.au/$1 [R=301,L]