Customizing SMF > Modifications and Packages

Anti-SID canonical tag - without PHPSESSID param

<< < (2/3) > >>

shubha:
Did not work the above code. Can you please follow the robots.txt than

Disallow:/?PHPSESSID

I have read the simpemachines.ru ,but i forgot that url while translate. Some robots.txt

maestrosite.ru:
Sorry, I do not understand you.

Step by step, SMF2 default config without mods (ex == for example):
1. If user agent don't send session cookie, internal links on received page contains session param.
Session cookie and session param names by default is PHPSESSID
ex: requested page from sitemap, or by external page - http://www.simplemachines.org/community/index.php?topic=470299.0

2. Meta-tag rel="canonical" (if present on a page) also contains session param
ex:
--- Code: --- <link rel="canonical" href="http://www.simplemachines.org/community/index.php?P=cf91a244cd05cf05c92009be72760d95&amp;topic=470299.0" />
--- End code ---

3. Thus, we obtain two different addresses.

4. If we clean up the cookies and repeat steps, we obtain a new canonical address for the same page
ex:
--- Code: --- <link rel="canonical" href="http://www.simplemachines.org/community/index.php?P=78ea941eb4195ca54bf601a21a348553&amp;topic=470299.0" />
--- End code ---


You can see this situation in real browser or in serverside software (API, gateways, agregators, etc...)


PS can I see your forum url? Or examples links with "Did not work the above code." Сan be a private message.

maestrosite.ru:
Small bugfix BoardIndex url for SMF 2.0.x with "queryless_url" mode

mrintech:
Thanks a ton for this MOD :)

Very useful :)

hellboy78:
I use SMF 1.1.16

which version of of anti-sid I have to install?
0.2  or 0.5  ?????

thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version