Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 21st Nov 2010, 01:02 PM   #1
HyperActive Warrior
War Room Member
 
krull's Avatar
 
Join Date: 2009
Posts: 212
Thanks: 105
Thanked 12 Times in 11 Posts
Default
php, html and file extensions in browsers
Share on: 
fb share twitter share gplus share more share

From what I've noticed, SEO-optimized websites generally like having .html or .php files to the SEO'd pages on their site. Is there really any difference if you use that method, or is having it set up where it has something like page.php?I'd=1244 ???

I'm not sure how much more search engines will like it if you use regular .php or html file extensions.

Or maybe it's that people are more likely to click on the .html and .php pages that they see listed in google and not the page.php?I'd=1244 ones?
krull is offline  
Unread 21st Nov 2010, 01:15 PM   #2
Warrior Member
War Room Member
 
Join Date: 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: php, html and file extensions in browsers
Share on: 
fb share twitter share gplus share more share

Generally, you want to avoid using GET data wherever possible (e.g. somesite.com/page.php?id=1234). You'd do a lot better in most search engines if you used a rewrite rule to change that to something like somesite.com/pages/1234. A sample rewrite rule (in .htaccess) might look like:

RewriteRule ^(pages/[0-9]+)$ /page.php?id=$1 [L]

Or, better still, you could replace the ID with a more meaningful slug, e.g. somesite.com/pages/seo-tips-and-tricks.
bort27 is offline  
Unread 21st Nov 2010, 01:58 PM   #3
HyperActive Warrior
War Room Member
 
CarloD.'s Avatar
 
Join Date: 2009
Location: Thunder Bay ON
Posts: 403
Thanks: 14
Thanked 47 Times in 40 Posts
Default
Re: php, html and file extensions in browsers
Share on: 
fb share twitter share gplus share more share

Regarding extensions, I have never noticed a difference.... using html, htm, php, asp, aspx... i wouldn't say one ranks better.

CarloD. is offline  
Unread 21st Nov 2010, 05:49 PM   #4
HyperActive Warrior
War Room Member
 
krull's Avatar
 
Join Date: 2009
Posts: 212
Thanks: 105
Thanked 12 Times in 11 Posts
Default
Re: php, html and file extensions in browsers
Share on: 
fb share twitter share gplus share more share

I meant with something that uses an = sign in it with an id number. Should I stay away from using that? That's what I've always thought and I just want confirmation on that
krull is offline  
Unread 21st Nov 2010, 07:20 PM   #5
VIP Warrior
War Room Member
 
SteveJohnson's Avatar
 
Join Date: 2007
Location: Caldwell, Idaho, USA.
Posts: 1,967
Thanks: 1,024
Thanked 2,043 Times in 1,183 Posts
Default
Re: php, html and file extensions in browsers
Share on: 
fb share twitter share gplus share more share

Originally Posted by krull View Post

I meant with something that uses an = sign in it with an id number. Should I stay away from using that? That's what I've always thought and I just want confirmation on that
Yes, you should avoid that if at all possible.

The 2nd Amendment, 1789 - The Original Homeland Security.

Gun control means never having to say, "I missed you."
SteveJohnson is offline  
Unread 21st Nov 2010, 10:18 PM   #6
Advanced Warrior
War Room Member
 
orvn's Avatar
 
Join Date: 2010
Location: Toronto, Canada
Posts: 748
Thanks: 83
Thanked 181 Times in 101 Posts
Default
Re: php, html and file extensions in browsers
Share on: 
fb share twitter share gplus share more share

Passing variables through your URL can indeed be bad.

File extension definitely do not play a role in SERP preference!

Orun Bhuiyan[@orvn] [linkedin] See what I've been doing lately by visiting my marketing agency's site. SEOcial specializes in content marketing and integrated optimization. We create conversions for businesses by gracefully connecting the realms of design, development and marketing.

orvn is offline  
Closed Thread


Bookmarks

Tags
browsers, extensions, file, html, php


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:18 PM.