Bypass append_sid

Support for the phpBB3 SEO mods released in the phpBB3 SEO Toolikt forum.

Moderator: Moderators

Bypass append_sid

Postby Immortal » Fri Aug 30, 2013 2:50 am

Is there any way to bypass append_sid() to rewrite URL? For example, rewriting for URL:

Code: Select all
$forum_url = append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $forum_id);

does work. But for:

Code: Select all
$forum_url = generate_board_url() . "/viewforum.$phpEx?f=$forum_id";

does not...

Purpose of this action: I am writing my own Sitemap script for bots. I want to make permissions check in order to bots did not see hidden forums. But as soon as I turn on the $auth class which is required for permission check, sid appears!
Immortal
 
Posts: 4
Joined: Thu Aug 29, 2013 10:53 pm

Advertisement

Re: Bypass append_sid

Postby Immortal » Fri Aug 30, 2013 2:45 pm

Seems case closed. I used $phpbb_seo->drop_sid after rewriting.
Immortal
 
Posts: 4
Joined: Thu Aug 29, 2013 10:53 pm


Return to phpBB SEO MODS

Who is online

Users browsing this forum: No registered users and 3 guests