Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.