homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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

5+ Year Member

Msg#: 4178920 posted 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.



WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4178920 posted 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.


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