In forum, last post links dont work... (404)

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

Moderator: Moderators

In forum, last post links dont work... (404)

Postby sodagod » Thu Aug 20, 2009 10:46 pm

Image

the last post icon in the list of topics isn't linking to the right place, its bringing me to a 404 because the url is wrong as u can see in the image above.

However, the last post icon/link on the homepage seems to link to the right address :roll:

Image

Does anyone know what might be wrong? :cry:

my site is: http://www.modernwarfare2forum.net
sodagod
 
Posts: 5
Joined: Thu Aug 20, 2009 9:42 pm

Advertisement

Re: In forum, last post links dont work... (404)

Postby sodagod » Fri Aug 21, 2009 7:25 pm

can't anyone help me? :roll:
sodagod
 
Posts: 5
Joined: Thu Aug 20, 2009 9:42 pm

Re: In forum, last post links dont work... (404)

Postby dcz » Sat Aug 22, 2009 7:54 am

What version are you using ?
Are you using the no duplicate ?

I would assume that this is either a typo in includes/functions_display.php or an issue carried when updating the phpbb_seo_class.php, but it could as well just be the last post link (U_LAST_POST) variable in viewforum.php.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: In forum, last post links dont work... (404)

Postby sodagod » Sat Aug 22, 2009 12:30 pm

Hey, thanks so much for your reply, i've enabled the seo addon once again on the site so you could see the problem for yourself (if you could)

I'm not using the no-duplicate mod (should I?)

And the version is: 0.6.0

I'll have a look in the files you suggested for any typos etc...

I cant express how grateful I am for your help! I was worried noeone would reply :roll:
sodagod
 
Posts: 5
Joined: Thu Aug 20, 2009 9:42 pm

Re: In forum, last post links dont work... (404)

Postby sodagod » Sat Aug 22, 2009 12:43 pm

I've checked all the files you mentioned, everything seems to be done correctly, this is the LAST_POST code... could you tell me if it's correct?

Code: Select all
         'U_LAST_POST'         => $view_topic_url . '&p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'],
         'U_LAST_POST_AUTHOR'   => get_username_string('profile', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']),
sodagod
 
Posts: 5
Joined: Thu Aug 20, 2009 9:42 pm

Re: In forum, last post links dont work... (404)

Postby sodagod » Sat Aug 22, 2009 12:54 pm

hehe, I downloaded a fresh copy of phpbb 3.0.5 and opened the viewforum.php file, and compared the U_LAST_POST variable in both files, and noticed the difference...

The code in my viewforum.php file
Code: Select all
'U_LAST_POST'         => $view_topic_url . '&p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'],


The code in the fresh viewforum.php file
Code: Select all
'U_LAST_POST'         => append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&p=' . $row['topic_last_post_id']) . '#p' . $row['topic_last_post_id'],


So, I replaced the variable in my viewforum.php with the code from the fresh file, and uploaded it. And to my suprise, the forums work great now! :o :mrgreen:

So, I just want to thank you for your help! If it hadn't been for you I would probably have just kept the seo mod disabled :( it's a fantastic mod!
sodagod
 
Posts: 5
Joined: Thu Aug 20, 2009 9:42 pm

Re: In forum, last post links dont work... (404)

Postby dcz » Sun Aug 23, 2009 1:48 pm

Happy to help ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 5 guests