Jump to content

search friendly urls and sessions


neugi

Recommended Posts

Hi,

 

i've a little problem

 

i've written a little script that should make my urls "search friendly".

 

the only problem now it how i can handle the session without cookies?

 

old url index.php?page=1&newsID=2&PHPSID=2384234...

new url index/1/2/???

 

how can i handle the session_id in such urls i've tried to attache them in de last part but after every call of a page a new SID is calculated.

 

maybes somebody has an idea

 

thx

 

 

Link to comment
https://forums.phpfreaks.com/topic/42863-search-friendly-urls-and-sessions/
Share on other sites

An explination why sessid in the url does not do good SEO is that because it makes the URL obscenely long without any important data. Also the index/1/2 is not very good either as it does not provide words.

 

I would probably do something like index/page1/news2 or if the news has a title do that title like such

 

index/page2/news-title-here-2  (where 2 is the id) this would provide for multiple news titles that are the same.

 

Just some FYI, I have done extensive research on SEO. To be honest I would probably remove the index out of there too, but yea =)

 

 

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.