homepage Welcome to WebmasterWorld Guest from 54.166.108.167
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Google / Google News Archive
Forum Library, Charter, Moderator: open

Google News Archive Forum

    
PR impact of Apache redirect?
CPCretirement




msg:146672
 6:32 pm on Dec 31, 2003 (gmt 0)

One of my sites is setup so that when you go to the main domain, www.mydomain.com you are redirected by Apache to www.mydomain.com/directory/classifieds.php.

I'm using a script for this classifieds site. I had it setup this way so that it goes right to the main page of the classifieds on the site.

Will this hurt my PR since most links are to www.mydomain.com but noone ever actually visits that page? It can't really be indexed. Is there a better way to handle this situation?

 

anallawalla




msg:146673
 3:31 am on Jan 1, 2004 (gmt 0)

If it is a permanent redirect, it should be fine.

jesserud




msg:146674
 1:24 pm on Jan 10, 2004 (gmt 0)

You should be able to get apache to treat front page loads like www.mydomain.com/directory/classifieds.php loads. mod_rewrite, maybe?

I don't know what effect fixing it would have on search engines, but it would make your site faster and more professional-looking.

frappyjohn




msg:146675
 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]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google News Archive
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved