4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: marod0er on April 07, 2005, 02:11:33 PM
-
Some Search engines has trouble getting around a session id.
I've installed the rewrite.engine MOD to make all my URLs with .html extension. But now I still get the session id.
EX:
I have an URL like this:
www.site.com/img1.htm?sessionid=3234235345345345345blahblahblah
How do I force 4images NOT to use session id's? I want to remove it, because search engines can't spider a site using session id.
-
what about this:
http://www.4homepages.de/forum/index.php?topic=6951.msg30709#msg30709
or that:
http://www.4homepages.de/forum/index.php?topic=6998.0
?
-
Thanx alot man for the useful code ..
but after applying your mods I thought of a faster way for (Now) :wink:
Comment out these following lines from inlcudes/session.php
around Line No 366
/* if ($this->mode == "get" && !preg_match("/".SESSION_NAME."=/i", $url)) {
$url .= preg_match("/\?/", $url) ? "$amp" : "?";
$url .= SESSION_NAME."=".$this->session_id;
}*/
bye
-
That's a brute force method meaning you will remove the benefits of sessions for real people. Good luck.
-
what about this:
http://www.4homepages.de/forum/index.php?topic=6951.msg30709#msg30709
or that:
http://www.4homepages.de/forum/index.php?topic=6998.0
?
thanks man, just what i needed ;)