.htaccess - Get link and Redirect with Htaccess -
i have website domain example.com
, have file example.com/example.php
how redirect file other website there have same domain name different in extension redirect example.com/example.php
example.net/example.php
htaccess? much!
try this:
rewriteengine on rewritebase / rewritecond %{http_host} !newdomain.com$ [nc] rewriterule ^(.*)$ http://newdomain.com/$1 [l,r=301]
Comments
Post a Comment