no dupe in mods like portal

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

Moderator: Moderators

no dupe in mods like portal

Postby Beagleman » Wed May 07, 2008 11:00 am

I have a portal where some post URLs are like
Code: Select all
http://www.my-domain.de/post95052.html#p95052


This URLs are made with this code:
Code: Select all
append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $fetch_news[$i]['forum_id'] . '&p=' . $fetch_news[$i]['topic_last_post_id'] . '#p' . $fetch_news[$i]['topic_last_post_id'])


What I have to do to make these URLs like
Code: Select all
http://www.my-domain.de/topic-title-t34193-420.html#p95052
?

Thank you!
(I think the solution should be sticky)
Beagleman
 
Posts: 6
Joined: Wed Apr 02, 2008 5:26 pm

Advertisement

Postby SeO » Thu May 08, 2008 10:42 am

Problem is, there is no general answer to this.
We need to know the number of pages for the target topic before we build the link, as well as the forum name and id in case you wish to use the virtual folder trick.
So it depends on your script, it may require some changes.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests