Real Estate Forums

Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here.

Reply
 
Thread Tools Display Modes
Old 02-10-2005, 09:14 PM
SanDiego's Avatar
SanDiego SanDiego is offline
Uber Real Estate Webmaster
 
Join Date: Jul 2004
Posts: 902
SanDiego is on a distinguished road
Question index.html to index.php ???

If I were to change the index page of my site from html to php but leave everything the same (at first), do you think I could lose PR / serps / or anything else?
Every link (that I know of) to the page is to the domain name..... all internal one as well....
__________________
Search Homes for Sale in SAN DIEGO and other San Diego Real Estate via the San Diego MLS.
Reply With Quote
Old 02-10-2005, 09:22 PM
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
Real Estate Webmaster
 
Join Date: Jun 2004
Posts: 4,727
ResaleBroker is on a distinguished road
Default Re: index.html to index.php ???

If you change the file extension then you have a new URL. This new URL will have its own PageRank.

Since PageRank is a factor in Google's Algo for determining SERPs I would say "Yes" that would have a impact.

Last edited by ResaleBroker : 02-10-2005 at 09:25 PM.
Reply With Quote
Old 02-10-2005, 10:09 PM
SanDiego's Avatar
SanDiego SanDiego is offline
Uber Real Estate Webmaster
 
Join Date: Jul 2004
Posts: 902
SanDiego is on a distinguished road
Default Re: index.html to index.php ???

But it's the domain I'd thought.. (this is the problem I am having..lol)
see, I took a secondary site I have (pr3) and changed it's index.html file to index.php and then cleared my cache memory and typed it in again (the domain) and the PR is still there.... (toolbar).. but when i type in domain.com/index.php it is PR0 and the retype index.html (no page now) and you get PR3 again... but the domain is still PR3 when you don't specify a file.. ??

I just dont want to mess up anything I have now with my main site...So i figured I'd ask here before jumping in on recoding stuff....
__________________
Search Homes for Sale in SAN DIEGO and other San Diego Real Estate via the San Diego MLS.
Reply With Quote
Old 02-10-2005, 10:14 PM
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
Real Estate Webmaster
 
Join Date: Jun 2004
Posts: 4,727
ResaleBroker is on a distinguished road
Default Re: index.html to index.php ???

As long as you are pointing to the "Domain" then file extension will not matter. As soon as you point to a "Page" then file extensions come into play.

This is just another reason why links should point to the domain and not the index page.
Reply With Quote
Old 02-10-2005, 10:23 PM
SanDiego's Avatar
SanDiego SanDiego is offline
Uber Real Estate Webmaster
 
Join Date: Jul 2004
Posts: 902
SanDiego is on a distinguished road
Default Re: index.html to index.php ???

So with all my links pointed to my domain.. could it be expected that a file extention change would NOT change PR/serps of the front page?
__________________
Search Homes for Sale in SAN DIEGO and other San Diego Real Estate via the San Diego MLS.
Reply With Quote
Old 02-10-2005, 10:24 PM
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
Real Estate Webmaster
 
Join Date: Jun 2004
Posts: 4,727
ResaleBroker is on a distinguished road
Default Re: index.html to index.php ???

Quote:
Originally Posted by SanDiego
So with all my links pointed to my domain.. could it be expected that a file extention change would NOT change PR/serps of the front page?
I don't see a problem.
Reply With Quote
Old 02-10-2005, 10:33 PM
SanDiego's Avatar
SanDiego SanDiego is offline
Uber Real Estate Webmaster
 
Join Date: Jul 2004
Posts: 902
SanDiego is on a distinguished road
Default Re: index.html to index.php ???

Thanks for the opinion Jeffery! Appreciated
__________________
Search Homes for Sale in SAN DIEGO and other San Diego Real Estate via the San Diego MLS.
Reply With Quote
Old 02-10-2005, 10:39 PM
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
Real Estate Webmaster
 
Join Date: Jun 2004
Posts: 4,727
ResaleBroker is on a distinguished road
Default Re: index.html to index.php ???

Rustin, after reading this thread again I realized you did mention "Domain." Sorry about that.
Reply With Quote
Old 02-10-2005, 10:55 PM
webmaster's Avatar
webmaster webmaster is offline
Administrator
 
Join Date: Apr 2004
Posts: 13,460
webmaster will become famous soon enough
Default Re: index.html to index.php ???

Rustin, I am assuming you want to do this so that you can use php coding on your site. Instead of actually changing the extensions the SE's see put this in your .htaccess file

RewriteRule ^(.*).html $1.php [L]

This will allow you to save files as file.php but link to them as file.html that way there is no PR loss etc, I do this on www.seo-guy.com every .html is actually a .php http://www.seo-guy.com/tutorial.html is saved as tutorial.php for instance
__________________
Webmasters who spend their energies upholding the spirit of the basic principles [Of Google] will provide a much better user experience and subsequently enjoy better ranking than those who spend their time looking for loopholes they can exploit. Google.com
Reply With Quote
Old 02-10-2005, 11:00 PM
SanDiego's Avatar
SanDiego SanDiego is offline
Uber Real Estate Webmaster
 
Join Date: Jul 2004
Posts: 902
SanDiego is on a distinguished road
Default Re: index.html to index.php ???

Yeah, I don't care what they say about you.. You're a genius!
__________________
Search Homes for Sale in SAN DIEGO and other San Diego Real Estate via the San Diego MLS.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 04:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.