Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
Reflects user activity within the last 5 minutes
Moderator(s): Prowler, jcokos
Member Message

rol_one
Joined: Eons Ago
# Posts: 68

View the profile for rol_one Send rol_one a private message

Posted: 05/12/2005 03:35 pm
Edit Message Delete Message Reply to this message

This may be an obvious question to some, but I recently had my site revamped by a professioal developer and there are a number of pages that now .php as opposed to the basic .htm

I appreciate that this makes the site a lot easier to modify, but does this mean the pages located in the database are no longer listed and won't be picked up by spiders? Does a website site with the same amount of .htm pages rank heavier due to quality and quantity of content than those with a mix of .htm and .php?


Would really appreciate your comments and any first hand experience on this




g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10181

View the profile for g1smd Send g1smd a private message

Posted: 05/12/2005 04:31 pm
Edit Message Delete Message Reply to this message

The extension itself doesn't matter; you can have whatever you like.

However, changing the names will cause your rankings to drop, a lot.

You should set up the server so that DirectoryIndex now points to index.php as the default filename. You might want to redirect all calls for .htm filenames over to the equivalent .php files OR you could run your entire PHP site with the old .htm filenames but parsed for their PHP content OR you could rewrite the URLs. There is a setting for these latter two options right there in the server configuration files.

If you ever link to an index file that is in a folder, then never include the actual filename of the index file in the link. Link to the folder name followed by a trailing / on the URL. Let the server decide what the index file is actually called, find it, and serve it. That way, you don't have to change anything at all when all your index files change from being index.htm to be index.php as the links will still carry on working.

Additionally, note that URLs with more than 3 variables or anything that looks like a session ID in them do not get indexed properly. Avoid that whatever you do.



lizardz
Joined: Nov 12, 2004
# Posts: 1394

View the profile for lizardz Send lizardz a private message

Posted: 05/12/2005 06:10 pm
Edit Message Delete Message Reply to this message

"but I recently had my site revamped by a professioal developer"

Professional? Developer, hmmm. To me a professional should know about these types of issues, I havent' made a .php page for years, all are parsed php with .htm extensions, it's simply too easy to do that to even consider any other option, and since every page of every site I do is scripted, there's no reason not to use .htm always, or nothing, as some people prefer, although I prefer to have an extension if only for old time's sake.

This might only be me, but when I see a site that uses php, asp, aspx, jsp etc, it's not a good first sign, it assumes the same processing language will always be running your website, which it may not be. Much safer to just stick with plain old htm, which is what the user is always receiving anyway, the php/asp/asp/jsp is really only relevant to the server, and aren't necessary at all.

It will be a good day when professional developers understand enough about seo and good site urls [good urls don't change] to stop making these types of mistakes.

By the way, I just checked an old site I did for someone, and they had switched it to shtml, probably to include nav bars or something, thinking they were all clever, not realizing the site was always setup to run as php if required. All their backlinks picked up over the last year, broken, all pages now treated as duplicate content by search engines, sad. I'm starting to think the number of actually professional web developers is MUCH smaller than we believe, by a very large percentage.



rol_one
Joined: Eons Ago
# Posts: 68

View the profile for rol_one Send rol_one a private message

Posted: 05/12/2005 11:41 pm
Edit Message Delete Message Reply to this message

I guess part of this comes down to if I go onto internet explorer and use View > Source then I guess what I see as content is what the Spider sees right? Or wrong?






lizardz
Joined: Nov 12, 2004
# Posts: 1394

View the profile for lizardz Send lizardz a private message

Posted: 05/13/2005 02:47 am
Edit Message Delete Message Reply to this message

Right. Or you can download lynx for windows and surf your site with that, it's a text only browser that shows you almost exactly what the spider sees, literally, the spider isn't that different a program than lynx.



g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10181

View the profile for g1smd Send g1smd a private message

Posted: 05/13/2005 11:55 am
Edit Message Delete Message Reply to this message

Server-Side Includes and Server Side Scripting simply means that all the work is done in the server. The server assembles the page of HTML before it is delivered to the browser or bot that requested it. It is identical to the code that would appear on a static page, and will rank the same too.



rol_one
Joined: Eons Ago
# Posts: 68

View the profile for rol_one Send rol_one a private message

Posted: 05/13/2005 04:57 pm
Edit Message Delete Message Reply to this message

THANK YOU FOR ALL YOUR HELP ON THIS

smile


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions