Msg#: 20897 posted 4:01 am on Jan 27, 2004 (gmt 0)
I agree with jesserud that using mod_rewrite is a much better solution than using a redirect.
With mod_rewrite the user (including any search engine crawler) will see the front page URL with the second page's content. All redirection is done within the server before it reaches the browser (or the bot).
On the other hand, the redirect is handled by the browser. It first retrieves your front/main page and then, per the instructions in its header, retrieves the second page. If it is a permanent redirect, the SE bot *might* be smart enough to stick the new URL into its list for the next crawl, but I doubt if it would reassociate all the links to the first page to the new page.
Something like this in your httpd.conf file is all you need: RewriteEngine on RewriteRule ^/index.html$ /directory/classifieds.php [L]