Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



SEO Class in Chicago, IL

Learn How To Optimize Your Website on July 26, 2013


Looking for personalized in-depth SEO training among your peers?



High Rankings is offering a 1-day customized SEO training class in Chicago. Class size is limited so please sign-up now if you want in!



 


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Does .asp And .php Extensions Affect Ranking?


  • Please log in to reply
5 replies to this topic

#1 rshilkrot

rshilkrot

    HR 2

  • Members
  • PipPip
  • 15 posts

Posted 07 October 2003 - 06:01 PM

[Moved to dynamically generated site issues category. - Jill]

hi!
I have a couple of questions regarding Active Server Pages (whether .asp or PHP or whatever kinds there are available)

First of all, i'd like to know if google or any other SE recognize an ASP/PHP page when it's the index page of a domain.
like: http://www.widget.com/, is actually a referral to http://www.widget.com/index.php.
So what gets ranked? the ".../" or the ".../index.php"?

Also, how does .asp/.php affect the ranking of a certain page?
For example: i have a news section in my site, and i have a article insertion proggy that updates that news section.
The index page of the news section is .php, but the inner articles are built dynamically by the insertion proggy. How the the fact that the news index page is .php will affect it's rank?

Cheers mates! :)

Edited by Jill, 07 October 2003 - 06:32 PM.


#2 Vertster

Vertster

    Google wristbar installed

  • Active Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Salt Lake City, Utah

Posted 07 October 2003 - 06:08 PM

Hi rshilkrot!

Most of the search engines do not have a big problem following simple dynamic links anymore. You should check out this thread: How do I get my inventory database indexed? It has lots of great tips for making certain that your dynamic content gets indexed by the spiders. Even though you probably aren't faced with the exact challenge of 1,000,000s of products, I started out with some fundamental tips.

PHP and ASP won't make much of a difference.

#3 eatapeach

eatapeach

    HR 2

  • Active Members
  • PipPip
  • 12 posts
  • Location:Overland Park, KS

Posted 08 October 2003 - 01:45 AM

in the past i've had .php sites that ranked well on google for competitive keywords, so i don't think that the extension is a problem.

the sites weren't dynamically generated and my pages were named index.php etc, so the spider had no problem with them.

#4 TheGreatDane

TheGreatDane

    HR 4

  • Active Members
  • PipPipPipPip
  • 150 posts
  • Location:Vejle, Denmark

Posted 08 October 2003 - 09:27 AM

Hi rshilkrot,
all my (or rather my customers) sites are a mix of .html and .php files, and it doesn't make any difference with regards to ranking.

Per

#5 mopacfan

mopacfan

    HR 3

  • Active Members
  • PipPipPip
  • 103 posts
  • Location:Missouri

Posted 08 October 2003 - 11:12 AM

rshilkrot,

My site is all asp and it is all indexed and it ranks very well. For many of my kw/p's I'm number one or in the top ten. I don't use session id's in the query string and I don't us "id" in the query string either. I did find that once I added a site map, that my rankings did improve some.

Hope that helps.

#6 rezla

rezla

    HR 1

  • Members
  • Pip
  • 4 posts
  • Location:West Yorkshire, England

Posted 08 October 2003 - 04:02 PM

Lets clear up a definition to make life easier; using server side scripting - perl, ASP, JSP, php, CF whatever doesn't neccessarily imply a truly "dynamic" site.

If you have an .asp etc page, where you are passing harvested details from a form around in variables from page to page, and then submit the collected information to yourself in an email; that uses server side technology but isn't really dynamic at all. Therefore, "feedback.asp", "comments.php" etc are very simple pages which never really change, so are easily indexed by a search engine.

The next level up from this is a database driven site, where one 'template' page is used to pull in product details, using a querystring to populate the information on the page from a database.

Examples would be;

"product.asp?id=214",

"section.php?category=books&subcat=fiction&author=cslewis"

Once again, these present very few problems for most crawlers, who can index these "constant" pages, complete with querystring as in the second example, cslewis is always an author of fiction books (and will never be a 'director' of 'DVDs' in the category 'films')

Where search engines fail to index sites successfully, is where the unique visitor or session id is encoded into the URL. Notice the word unique. A 32 bit hex number in the url somewhere means that the exact same URL is (theoretically....) NEVER going to appear again. So if a SE tries to index your site and you encode the URL in there straight away as soon as they hit the index page.... trouble. A search engine spider is just another "user agent" or browser as far as your dynamic site is concerned, and the URL it retrieves might have the format:

http://63b2e9f26cef7...co.uk/index.php

every subsequent page would be indexed with the base URL
http://63b2e9f26cef7...blahblah.co.uk/

which, being theoretically unique means that either, every time the search engine spiders the site, it adds a new instance of the entire site to it's database as a seperate entity form the previous one - hence you risk spamming their index with an infinite number of versions of your site. More commonly "this session has expired" message appears when a user clicks the link, which means the URL no longer exists - so even if you are spidered and indexed, the link ceases to be valid and clickable after 30 minutes because the session has timed out - no one is ever going to find that page even if a search engine does link to it.

The partial solution is to not have session id's in your URL needlessly. If you gotta have it there, save it for when you REALLY need it - like when a punter adds soemething to their cart. I don't know of many spiders who actually go shopping !!

And mopacfan is right - sitemaps rule, especially dynamically generated ones !! Trawl your database with code - have a site map that includes
"<a href=news.asp?article_id=1 (to n)>" & Response.Write (fldArticleTitle) & "</a><br>" etc

That way all your dynamic stuff is in the sitemap and will be indexed. Sitemaps are great for spiders, but they are actually great for you users too !!!!!

Rez




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users