Jump to content

[SOLVED] PHP Pagination $_GET[]


prime

Recommended Posts

Ok now say I have a database with a lot of entries in it, I dont know over 300, and I am using $_GET to paginate it.

 

so now I have say

 

http://example.com/index.php?s=3&d=6 // meaning to start from the 3rd entry

 

and the next page could be

 

http://example.com/index.php?s=6&d=6 //next page

 

Ok my question is this, even though it is the same page technically index.php would search engines such as google treat using $_GET like this as separate pages or what?

 

Link to comment
https://forums.phpfreaks.com/topic/88249-solved-php-pagination-_get/
Share on other sites

I don't know their definition of what  a "page is" but technically you can rewrite to that to function identically as

 

mysite.com/search/start_3/end_6/ and it would work the same as

mysite.com/search.php?start=3&end=6

 

Google likes pages lacking lots of GET variables and can't tell the difference that easily (or just don't care) if its modrewritten or static.

 

In my own personally opinion a page is the physical document that is being requested, and its content is dynamic.  This means that if I ran google you wouldn't be searching for pages, but for links to dynamic content.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.