Results 1 to 4 of 4

Problem with thread-urls not being rewritten

This is a discussion on Problem with thread-urls not being rewritten within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, I have a problem with one of my own scripts. Usually vBSEO 3.2 RC 7 rewrites all my URLs ...

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

    Problem with thread-urls not being rewritten

    Hi,

    I have a problem with one of my own scripts. Usually vBSEO 3.2 RC 7 rewrites all my URLs if they are build like vBulletin's standard-urls. So far -so good.

    Now I have a template that gets rewritten "partially". There are two table-cells next to each other. The first one contains the forum, the second one contains the thread. The first one gets rewritten, the second one not - and both a minimalistic standard-urls.

    Here's the template:

    HTML Code:
      <td class="alt1">
        <a href="forumdisplay.php?$session[sessionurl]f=$forumid">$forumname</a>
      </td>
      <td class="alt1">
    <a href="showthread.php?$session[sessionurl]t=$thread[threadid]">$thread[threadtitle]</a>
      </td>
    And this is what vBSEO makes of it:

    HTML Code:
    <td class="alt1">
        <a href="fragen-anregungen-zur-dp/">Fragen / Anregungen zur DP</a>
      </td>
      <td class="alt1">
    <a rel="nofollow" href="showthread.php?t=688851">Wuppdi</a>
      </td>
    The link to the forum ("Fragen / Anregungen zur DP") is perfectly fine, but the second one is not completely processed. vBSEO adds rel="nofollow" to the thread-link - so it's not total unrecognized.

    The informations listed above will most like not be enough for a full diagnostics, but maybe you have an idea what parameters and settings I could check to find out what's happening and why.

    Aside of this, vBSEO is working absolutely smooth.


    kind regards,
    Gérome

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

    what is an example URL where that happens?

  3. #3
    Member
    Real Name
    Gérome M.
    Join Date
    Dec 2007
    Posts
    41
    Liked
    0 times
    Hi Oleg,

    thanks for your answer. :-)

    It is a "not-yet public" forum. I will try to strip this page down to a very minimalistic example and see what will happen. I will post the URL and the needed data to access the forum if I cannot get any positive results.



    kind regards,
    Gérome

  4. #4
    Member
    Real Name
    Gérome M.
    Join Date
    Dec 2007
    Posts
    41
    Liked
    0 times
    Just to bring this topic to an end:

    When you're writing your own pages and filling the arrays like "$threadinfo" by your own SQL-statements, ensure not to forget "thread.forumid". This _is_ required by VBSEO to rewrite the url. Just "thread.threadid" and "thread.title" are simply not enough data - even if they're sufficient to build the pure html-link as
    <a href="showthread.php?t={threadid}">{title}</a>.


    Kind regards,
    Gérome

Similar Threads

  1. 404 on rewritten URLs
    By Imperial in forum Troubleshooting
    Replies: 1
    Last Post: 09-29-2007, 08:51 PM
  2. Feed urls not rewritten
    By Corlath in forum Troubleshooting
    Replies: 1
    Last Post: 06-05-2007, 02:44 PM
  3. Rewritten and non-rewritten URLs
    By fischermx in forum Troubleshooting
    Replies: 2
    Last Post: 09-05-2006, 02:33 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
  •