Post rewrite

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Post rewrite

Postby the_zoker_09 » Mon May 21, 2012 7:15 pm

Hi all,

I`ve seen, that the post are rewrote like this:
/post88.html#p88


But I want them to be:
/How-to-solve-problem-t24.html#p88


How can i change the "post88" to "<topic-title>"?

(The best would be a code I could change)

Thank you
the_zoker_09
the_zoker_09
 
Posts: 12
Joined: Mon Sep 26, 2011 6:45 pm

Advertisement

Re: Post rewrite

Postby yaashul » Mon May 21, 2012 7:19 pm

Open: styles/prosilver/template/viewtopic_body.html

Find:
<a href="#p{postrow.POST_ID}">

In-line Find
#p{postrow.POST_ID}

In-line Add before
{U_VIEW_TOPIC}
yaashul
PR1
PR1
 
Posts: 157
Joined: Wed Aug 29, 2007 1:21 am

Re: Post rewrite

Postby the_zoker_09 » Mon May 21, 2012 7:25 pm

But there is already this code.

I mean the links on my portal and on the forum index:
Image

I found out, that the url is created by
Code: Select all
{forumrow.U_ALTT_LINK}


where can i change it like described before?
Last edited by the_zoker_09 on Mon May 21, 2012 7:37 pm, edited 1 time in total.
the_zoker_09
 
Posts: 12
Joined: Mon Sep 26, 2011 6:45 pm

Re: Post rewrite

Postby yaashul » Mon May 21, 2012 7:33 pm

Are you using URL rewriting type: Advanced?
yaashul
PR1
PR1
 
Posts: 157
Joined: Wed Aug 29, 2007 1:21 am

Re: Post rewrite

Postby the_zoker_09 » Mon May 21, 2012 7:37 pm

Yes
the_zoker_09
 
Posts: 12
Joined: Mon Sep 26, 2011 6:45 pm

Re: Post rewrite

Postby Stephen26 » Mon May 21, 2012 8:39 pm

Activate the "No duplicate" & the "Zero duplicate" options (Strict Mode: No, Posts Redirections: Guest or all).

Posts Redirections:
This option will determine how to handle post urls; it can take four values :
off, do not redirect post url, whatever the case,
post, only make sure postxx.html is used for a post url,
guest, redirect guests if required to the corresponding topic url rather than to the postxx.html, and only make sure postxx.html is used for logged users,
all, redirect if required to the corresponding topic url.
I install and configure phpBB-SEO (and other mods) for a fair price and very fast. If you are interested simply send me a private message.
Stephen26
phpBB SEO Team
phpBB SEO Team
 
Posts: 426
Joined: Mon May 03, 2010 7:06 am


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Bing [Bot] and 5 guests