homepage Welcome to WebmasterWorld Guest from 54.196.168.78
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
redirect issue, robots plus pagerank
mrealty




msg:4178922
 1:07 am on Jul 30, 2010 (gmt 0)

Quick questions:

If I have this in .htaccess:

Rewriterule ^old.html new.html [L]

Then in robots.txt I have:

Disallow: new.html

What happens when googlebot attempts to crawl old.html and new.html? Assuming old.html is already indexed by google, should new.html get indexed given the scenario above? What happens to pagerank for old.html?

Thanks in advance for any info.

 

jdMorgan




msg:4179532
 1:12 am on Jul 31, 2010 (gmt 0)

old.html is the URL. new.html exists only as a filepath inside your server, and is not visible to clients unless you link to it somewhere.

This is a URL-to-filepath rewrite only. As far as visitors are concerned, there has been no change to your site, because all you have done is changed the filename, and then mapped the old URL to that new file. Since Web clients see only URLs and not filepaths inside the server, they see no change.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
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