Results 1 to 3 of 3

vBSEO 3.5 RC2 Final & vB 3.8.4 PL 2 - broken Permalinks for Posts ?

This is a discussion on vBSEO 3.5 RC2 Final & vB 3.8.4 PL 2 - broken Permalinks for Posts ? within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi @ all, I was just playing around with the permalinks for posts and encountering a strange situation: using the ...

  1. #1
    Member
    Real Name
    Gérome M.
    Join Date
    Dec 2007
    Posts
    41
    Liked
    0 times

    Question vBSEO 3.5 RC2 Final & vB 3.8.4 PL 2 - broken Permalinks for Posts ?

    Hi @ all,

    I was just playing around with the permalinks for posts and encountering a strange situation:

    using the setting "Replace post number link with Permalink" I get a correct url like "http://forum.dp200x.de/1946455-fehler-bei-internetcheckconnection.html#post12716541" containing the domain-name, thread-url and post-anchor.

    BUT using the setting "Display Permalink in Postbit content" or "Display Permalink beside Showpost Link" the generated permalink is incomplete and missing the thread-url: "http://forum.dp200x.de/#post12716541".

    For this test I was using the standard-style.

    Can anyone reproduce this?


    kind regards,
    Gérome

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    Hello,

    it works correctly for me, could you please open a ticket with vBSEO CP access for troubleshooting?

  3. #3
    Member
    Real Name
    Gérome M.
    Join Date
    Dec 2007
    Posts
    41
    Liked
    0 times
    I could track this down a little further:
    vBSEO generates different permalinks dependent on the different settings:

    • Generated HTML-Code using the setting "Display Permalink beside Showpost Link"
      HTML Code:
      (<b><a href="#post5103719" title="Link to this Post">permalink</a></b>)
    • Generated HTML-Code using the setting "Replace post number link with Permalink":
      HTML Code:
      #<a href="http://forum.dp200x.de/568966-test-42-a.html#post5103719"   id="postcount5103719" name="1" title="permalink"><strong>1</strong></a>


    The first link is just a relative link, the second one is a "full featured" url.
    Why the difference, it's the same post, the same topic - just a different vBSEO-Setting.

    The error described in the first post occured as I had the HTML-tag "base href=" in my header, so all relative links resolved to that location instead of the intended location.



    kind regards,
    Gérome


    //edit: All this goes down to line #171 in file "/vbseo/includes/functions_vbseo_vb.php". There is an explicit statement to create a relative link when THIS_SCRIPT == showthread. hm. I am unsure ablout the reasons behind this statement, but I removed this check, leaving the rest of the line untouched and it seems to work.
    Last edited by Gérome; 02-23-2010 at 04:04 AM. Reason: additional comments about the source

Similar Threads

  1. Broken inks in reported posts.
    By Notorious in forum Troubleshooting
    Replies: 2
    Last Post: 01-01-2009, 02:43 AM
  2. Beiträge/Posts: Permalinks abschalten?
    By sonnenfreund in forum Deutsch
    Replies: 2
    Last Post: 11-03-2008, 05:35 AM
  3. Broken Member Profiles in New Posts
    By TechGuy in forum Troubleshooting
    Replies: 9
    Last Post: 01-22-2006, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •