Forum Moderators: phranque
The site is officially on example.com.
Unfortunatelly, Google still indexes example.org and example.net with the same content.
I would like to add a permanent redirect into my .htaccess which would redirect anyone when they use example.org or example.net to example.com.
How would I go about it?
thanks!
[edited by: Tapolyai at 8:30 pm (utc) on June 7, 2007]
Redirect directives: [httpd.apache.org...]
or, more complicated: mod_rewrite: [httpd.apache.org...]
Jim
<form method="GET" action="http://www.google.com/search" target="_blank"><input type="hidden" name="domains" value="webmasterworld.com"><input TYPE="text" name="q" size="25" maxlength="255" value><input type="submit" name="btnG" value="Google"><input type="radio" name="sitesearch" value="webmasterworld.com" checked> webmasterworld.com <input type="radio" name="sitesearch" value>www</form>
:-)
jdMorgan also helped out yesterday with a slight variation on the 301 redirect, it's not the "usual" way but it got around some problems for me:
[webmasterworld.com...]