/    Sign up×
Community /Pin to ProfileBookmark

PHP/MySql SEO question

I am working on a travel website and the client who has some knowledge of SEO technology claims that its is better to have one HTML page per hotel to maximize his “Google” hits. I was under the impression that having one .php hotel page and dynamic content from a MySql database would still get you the same amount of hits. Is this true or false?

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@SrWebDeveloperDec 10.2009 — SEO is about indexing and ranking, not hits.

The spider that crawls your site does not care how the content was generated, i.e. static content vs. dynamic. In dynamic situations, the issue is the URL itself, i.e. varying session ID's, infinite loop issues that trap spiders or too many levels deep (nested content). Friendly (static) URL's will help your page index score simply because of less arguments which in turn optimizes the spider's search process. Plus human beings appreciate friendly URL's as well, naturally.

The two best means for increasing your SEO rankings is relevant content and link popularity. The first refers to the content on the actual page not being repeated or showing up as lists on other pages (which actually reduces your ranking) and of course sensible and realistic page title and meta tags (description and keyword). Link popularity refers to other sites that link back to yours, of course. The more there are, the higher the ranking in the search index.

My favorite quote on this kind of thing:

[B]Less may be more[/B] in some instances, but probability favors content as it is simply [B]a ratio of keywords to search volume[/B] augmented by link popularity and traffic that ultimately decide your ranking.

-jim
Copy linkTweet thisAlerts:
@NogDogDec 10.2009 — I would agree that there might -- *might* -- be some benefit to separate pages, but that only means separate URLs. Therefore if you use URL rewriting with "friendly" URLs as SWD talks about above, the spiders will have no idea if those URLs end up going to a single, database-driven PHP page. E.g.: if you use rewriting to send both "example.com/hotels/name+one" and "example.com/hotels/name+two" to "example.com/index.php?hotel=name+one" and "example.com/index.php?hotel=name+two", as far as the search engines are concerned those will be two separate "pages".
Copy linkTweet thisAlerts:
@psdeveloperauthorDec 11.2009 — I have used the htAccess file to re-write that into a "friendly URL" in the past. Would the be a good solution to optimize the site?
Copy linkTweet thisAlerts:
@NogDogDec 11.2009 — I have used the htAccess file to re-write that into a "friendly URL" in the past. Would the be a good solution to optimize the site?[/QUOTE]

Yes, that is what you would use (mod_rewrite) on Apache.
×

Success!

Help @psdeveloper spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...