I know what to do. I have been also experinmenting in redirects through .htaccess also.
WARNING!: You will have to use mod_rewrite, and tell apache to use .htaccess files.
Ok what you do is put in this configuration.
Code:
RewriteEngine On
RewriteBase /
RewriteRule /page.html, or whatever http://google.com(example) [R] or your could use [P] for proxy
or like this mworking example:
RewriteRule / http://mysiteredirected.com [R]
Oh yeah on more thing make sure if you redirect it's a permanent redirection otherwise Google could drop your ranks and think your a spammer. You know not search engine friendly.
you could edit your servers http headers, or somehow let all the search engines google, yahjoo, msn, and others know that your site is redirecting permanently.
Last edited by hyipo; 08-06-2006 at 07:27 PM..
|