I know that there is probably no definitive answer, but
does it matter in search engine optimization whether you use PHP or ASP for your CMS.

Look forward to hearing your ideas.

There is no difference at all. Search engines don't care what server-side language you use. They only see the HTML they produce.

There is an absolutely definitive answer: search engines see pages. Search engines do not see the code that produces pages.

I remember the day when "web developers" first concerned themselves about oh, performance, database connectivity, effeciency, code reuse... now we worry about search engine "optimization" before even learning the most fundamental first principles of web development, such as the difference between "client" and "server".

This is sad.

Slightly OT, one thing you might consider is that search engines don't tend to carry results like http://www.example.com/products.php?category=5&id=6. Instead, you might want to use something like mod_rewrite (if you use Apache) and have your links point to http://www.example.com/products/5/6 instead, and have mod_rewrite re-write it to the original URL. That's a negative effect of these scripting languages. Back to the original question, it then doesn't matter what language you use, as the search engine won't even know you're using php (well, they can find out under normal config, but you can disable things like that too (php.ini expose_php setting)).

That's simply not true. Bots can follow parameterized links just fine. Nor do they have access to configuration files. I'm sure you mean well, but spreading "SEO" rumors and mis-information is not helpful.

I disagree! Nearly all bots can follow paramaterized links just fine. However, they are aware that they are dynamic URLs and are often much more reluctant to include them. MCP was right in stating that "search engines don't tend to carry results like" ... he said nothing about having a problem following them.

Based on what evidence? I know you use mod_rewrite here, but I don't on my forum, and when I do a targeted search for specific pages, there isn't an issue finding them. I think this is one of the great myths of SEO.

Search engines will index any page that has a query string with the she same results as a page without a query string. The only time a query string will cause SEO issues is if it contains a session ID or id= in the query string (because that can be perceived as a session ID). Otherwise there is no difference between the two as far as getting pages indexed.

tgreer, it depends on the URL, specifically the types and number of parameters present. stymiee is more correct in this regard. There's a video by Matt Cutts (see http://en.wikipedia.org/wiki/Matt_Cutts for more on who he is) on how Google pageranks dynamic URLs vs static URLs. You can view this here http://video.google.com/videoplay?docid=-6860320126300142609

Of course, this is only talks about how Google treats these, and other search engines may use different logic.

My original point was more along the lines that mod_rewrite can help eliminate any bias search engine logic may weigh against dynamic URLs. I can't see how it can hurt anyhow.

(And, for the record, I found this video with that URL through Google and it was the #1 hit.)

Keep in mind, though, that "PageRanks" have very little to do with actual search engine results, the indexing of the pages. All search engines can and do index parameterized URLs, so there should be no excessive hand-wringing in regard to dynamically-generated pages with PHP and/or ASP.

Based on what evidence?

Based on a seminar presented by Google engineers at a Search Engine Strategies conference.

Sorry, I place very little credence on anything Google says regarding "Search Engine Strategies". To essentially claim that their own bots are so flawed that they can't follow perfectly valid links, or that they can follow those links, but gosh, just can't index them properly, is just too ludicrous for words. They have a vested interest in the SEO-industry, which is more or less synonymous with the AdSense industry. They have a history of double-talk and obfuscation on the topic.

I believe what I see, and again, targeted searchs return pages with querystrings just fine.

from experience, i can say that parameter-carrying urls do get indexed perfectly well, however your page may carry a slighlty more ranking weightage if its url contains your page keyword.

By the way, one can rewrite urls using isapi rewrite in asp.

I am new to here. I created a site i linked to some pages in other sites, in last 10 days. But my page rank shows nothing. Why?


because google hasnt indexed it yet

hi thanks for quick reply. may i know the time period of the indexing.. as i am new to web site creations....

it depends, whenever google gets to you

are you sure you did your META correctly? 10 days is kinda long

I am new to here. I created a site i linked to some pages in other sites, in last 10 days. But my page rank shows nothing. Why?


It's because public PR updates only every three month or so. You'll have to wait at least three months before you see a PR score in your toolbar.

And link to websites does not get you PR. Links from websites get you PR.

Wow, talk about topic hijacking. I was ready to answer the PHP/ASP question but see that the question is completely different.

The correct term, nsrajesh, is "sandboxed." Typically, this is a 9-month period (it varies, though) where you don't get indexed because of the trust that Google has to place on your site. Factors involved in rankings include date of domain creation, content updates, and inbound links. All of this will help you build over time, but you typically don't get listed immediately. You need to be *very* patient.

yes, use mod_rewrite as google hates indexing pages that have "?" in the URI

maybe: using PHP or ASP isn't mater, just make your URI more readable to http://yourdomain/yourpage.html
prevent using parameter on your URI to improve SEO

yes, use mod_rewrite as google hates indexing pages that have "?" in the URI

Actually there is no benefit to having a .html extension and query strings (a.k.a. ? in your URL) is just fine and causes no problems.

This is getting to be a tired argument between us, but I still believe that simple .html pages do better than query stringed pages.

Something else I'm against are keywords in the URL. There is nothing worse than using vBSEO (for a forum, at least) and keyword stuffing each page like list-of-my-keywords.html. If everyone agrees that keyword stuffing in the actual pages is not good, why would they all think that keyword stuffing in the URLs is great??

As for why I am so confident in all of this? Experience.

When I purchased PFO from Kyle last month, he couldn't get the number of pages indexed in Google above 6,000 after trying for two years straight, despite using vBSEO. I used my vB hack on the site, changed the directory structure, and DIDN'T use 301 redirects (I purposefully wanted to start with a completely clean slate), and we were completely reindexed with 11,000 pages after 48 hours. A month later and we have 36,000 pages indexed in Google.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.