/    Sign up×
Community /Pin to ProfileBookmark

Removing PHP SESSIONS for SEO

Hi,

I understand that removing SESSIONS is an important part of SEO.

Does anybody know the answer to this? ….

If I activate SESSIONS only if/when a user logs in, will that be ok for the search engines? I’m assuming the search engines will never reach the code that activates the sessions because they will not be able to login?

Thank you

Jonty

to post a comment
SEO

3 Comments(s)

Copy linkTweet thisAlerts:
@maneetpuriDec 10.2009 — Hi Jonty,

Yes, you are right with your thinking and knowledge. Crawlers can't crawl the pages behind the login so you can create sessions for these pages.

Basically sessions are not good for SEO because they create duplicity for your pages on your website so to prevent duplicity you should avoid creating urls with sessions ID.

Hope this helps,

Cheers,
Copy linkTweet thisAlerts:
@criterion9Dec 10.2009 — 
Basically sessions are not good for SEO because they create duplicity for your pages on your website so to prevent duplicity you should avoid creating urls with sessions ID.
[/quote]

This is not entirely true. If the session id is passed using cookies the session id will not be appended to the url. You are correct that a page that requires a login will not be indexed by a search engine crawler.
Copy linkTweet thisAlerts:
@maneetpuriDec 11.2009 — Hi Criterion,

Thank you for correction.

Cheers
×

Success!

Help @Jonty spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.10,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...