Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 12th, 2006, 12:30 PM
steve101 steve101 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 76 steve101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 10 h 20 m
Reputation Power: 4
Question Single page content indexing

Hi all,

Basically I'm redesigning my site and planning on having 1 page index.php which then feeds the content in depending on the page the user wants to view so for example I might have an about link which would actually be something like:

PHP Code:
<a href=".$_SERVER['PHP_SELF']."?page=about"> 


And then either a lookup in a reference table in the db or simply doing:

PHP Code:
if(!empty($_REQUEST['page'])){ $page mysql_real_escape_string(trim($_REQUEST['page']));} 
include(
"$page"); 


to get the content.

Now my question is, will all the content still be indexed by search engines and will this have any impact on that side of things... Search engine placement and all???

Reply With Quote
  #2  
Old May 12th, 2006, 01:24 PM
lanqy's Avatar
lanqy lanqy is offline
unDeterMineEd('yo')
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: in a box (la)
Posts: 176 lanqy User rank is Sergeant (500 - 2000 Reputation Level)lanqy User rank is Sergeant (500 - 2000 Reputation Level)lanqy User rank is Sergeant (500 - 2000 Reputation Level)lanqy User rank is Sergeant (500 - 2000 Reputation Level)lanqy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 5 h 29 m 42 sec
Reputation Power: 18
search engines won't usually be able to index all your pages that way i believe, best way is to map out all you links in a nice page that shows everything.

you can make that page in PHP as well, not too difficult.

Reply With Quote
  #3  
Old May 12th, 2006, 01:28 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 20th Plane (14500 - 14999 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,569 jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 22 h 42 m 51 sec
Reputation Power: 835
If the bot can (or will) follow the links, it will index the content. Which bots will follow when, why, how, etc, is an SEO question. I can move this there if you'd like.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #4  
Old May 12th, 2006, 01:33 PM
steve101 steve101 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 76 steve101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 10 h 20 m
Reputation Power: 4
Yeah that’s what I though. If a link leads to content the bot should go there and index it.... Will create a site map page too to make the bots life easier, but I think this should be ok... Feel free to move it there, if you think I will get more relevant information.


cheers.

Reply With Quote
  #5  
Old May 12th, 2006, 04:26 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 20th Plane (14500 - 14999 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,569 jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 22 h 42 m 51 sec
Reputation Power: 835
Moved from PHP to SEO ...


Remember that a bot sees the same HTML as a browser, it just handles it differently.

Reply With Quote
  #6  
Old May 15th, 2006, 02:58 AM
Catacaustic's Avatar
Catacaustic Catacaustic is online now
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 439 Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 15 h 22 m 19 sec
Reputation Power: 68
Most SE bots have got no problem following dynamic links or indexing dynamic pages. But there are a few points to remember...

Google does limit indexing dynamic pages (pages with ?var=value on them) so they don't crash high-load servers. this is plainly written on their webmaster section.

Any variables that you use should NEVER include the letters "id" as that is seen as a session ID, and those pages are usually disregarded. Even something like "u_id" is to be avoided at all costs.

If you want to go high-tech on it, look at rewriting the URL's to make them SE friendly. It's not that hard to do when you get into it, but can take a bit of work to get there, but still well worth the effort.

Reply With Quote
  #7  
Old May 16th, 2006, 02:09 PM
D-flyer D-flyer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 261 D-flyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 6 h 18 m
Reputation Power: 8
maybe you could use a sitemap and edit your .htaccess

Reply With Quote
  #8  
Old May 16th, 2006, 05:48 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 20th Plane (14500 - 14999 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,569 jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level)jharnois User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 22 h 42 m 51 sec
Reputation Power: 835
Quote:
Originally Posted by D-flyer
maybe you could use a sitemap and edit your .htaccess
Could you be a bit more specific? What, exactly, is s/he suppose to add to .htaccess to make the site more SE friendly?

Reply With Quote
  #9  
Old May 16th, 2006, 06:22 PM
D-flyer D-flyer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 261 D-flyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 6 h 18 m
Reputation Power: 8
I am not a hero when it comes to .htaccess

But the thought would be
Code:
about.htm redirect to ?page=about
contact.htm redirect to ?page=contact
etc


I make the assumption that all the pages are known by steve101 and can be put in a sitemap.

Just a thought

Reply With Quote
  #10  
Old May 31st, 2006, 03:01 PM
dotancohen's Avatar
dotancohen dotancohen is offline
המבין יבין
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2001
Location: Haifa
Posts: 2,032 dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 1 h 53 m 49 sec
Reputation Power: 1301
Send a message via ICQ to dotancohen Send a message via AIM to dotancohen Send a message via MSN to dotancohen Send a message via Yahoo to dotancohen
I don't think that naming all the pages index.php is a good idea. Best case scenario, you are loosing out on the opportunity to have keywords in the page title. Worst case scenario, the bot may say "I already indexed index.php, no need to go back there".

You might want to look at mod_rewrite if you want all your pages goind through the same script. Or you can include the script at the top of all your files.
__________________
. . . What is Firefox?
. . . . . . What is Linux?
. . . . . . . . . . . What is Love?

Reply With Quote
  #11  
Old May 31st, 2006, 07:24 PM
Hugh G. Rection Hugh G. Rection is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 213 Hugh G. Rection User rank is Corporal (100 - 500 Reputation Level)Hugh G. Rection User rank is Corporal (100 - 500 Reputation Level)Hugh G. Rection User rank is Corporal (100 - 500 Reputation Level)Hugh G. Rection User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 1 h 13 m 44 sec
Reputation Power: 8
Use mod rewrites to solve that problem. Your page will appear to search engines like:

www.yoursite.com/about.html

Using mod rewrites is a standard and very effective technique in boosting search engine rankings.
__________________
_____________________________________________
Sites & Interests:
Sexy Wallpapers
SEO Chat

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > Single page content indexing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |