Results 1 to 10 of 10

problem with space in permalink

This is a discussion on problem with space in permalink within the General Discussion forums, part of the vBSEO SEO Plugin category; Im having a problem with vbulletin. In the postbit_legacy template Im trying to fix an issue with the permalink to ...

  1. #1
    Junior Member
    Real Name
    Jon
    Join Date
    Sep 2009
    Posts
    21
    Liked
    0 times

    problem with space in permalink

    Im having a problem with vbulletin. In the postbit_legacy template Im trying to fix an issue with the permalink to a single post. In the code:

    Code:
    <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
    there is no space in front of the showpost.php url. but when the page loads and you go to click on the permalink url for an individual post, what you get is an error because the url in the source is link this:

    Code:
    #<a href="http://www.weedtracker.com/forums/ 196-1202-moderators/196-moderator-forum/1679186-post1.html" target="new"  id="postcount1679186" name="1"><strong>1</strong></a> (<b><a href="http://www.weedtracker.com/forums/196-1202-moderators/196-moderator-forum/258285-admins-to-test-new-skin.html#post1679186" title="Link to this Post">permalink</a></b>)
    as you can see there is a space between /forums/ and where the url to the post starts. I have no idea where this space is coming from or how to get rid of it. I even copy and pasted the postbit from a different skin that works just fine and in this particular skin, i get this error everytime no matter what I do.


    can anybody help?

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Hello,

    This is likely coming from a more global setting where you have a space at the end of your path string:
    Code:
    http://www.weedtracker.com/forums/<HERE>
    Check all your settings where you have physically entered in that string.
    in the vbseo CP as well as in the vb options panel for site url, etc. There's likely a random space in one of those fields.

  3. #3
    Junior Member
    Real Name
    Jon
    Join Date
    Sep 2009
    Posts
    21
    Liked
    0 times
    ok, ive been through all the settings and i cant find anything wrong. this is the only link on the entire site that is having this problem.

  4. #4
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello Jon,

    żYou can reproduce the issue with vBSEO disabled and using default vBulletin style?.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  5. #5
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Check the showpost setting. This is the setting that is causing the error.

  6. #6
    Junior Member
    Real Name
    Jon
    Join Date
    Sep 2009
    Posts
    21
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    Check the showpost setting. This is the setting that is causing the error.
    I checked..

    1) default skin, vbseo on = space in url
    2) default skin, vbseo off = no space in url
    3) custom skin, vbseo off = no space in url

  7. #7
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    This is what i'm referring to:
    vbseocp -> forum urls -> advanced tab

    Showpost rules.
    vbseo-control-panel-vbseo-v.3.5.2_1285655057201.png
    If you are using custom, make sure there is no space

  8. #8
    Junior Member
    Real Name
    Jon
    Join Date
    Sep 2009
    Posts
    21
    Liked
    0 times
    There was a space before the custom in showpost rules. That was driving me crazy! Thank you so much for your help!

  9. #9
    Junior Member
    Real Name
    Jon
    Join Date
    Sep 2009
    Posts
    21
    Liked
    0 times
    wait wait.. spoke too soon.. i fixed a few lines that had spaces and now no urls for threads work??? hunh..

  10. #10
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Replied to your other thread...

Similar Threads

  1. vBulletin 4.x problem in tags links space after update
    By paramegsoft in forum Troubleshooting
    Replies: 8
    Last Post: 10-14-2011, 09:11 PM
  2. Why no space between keywords?
    By wkdchris in forum General Discussion
    Replies: 1
    Last Post: 05-29-2010, 04:26 PM
  3. Replies: 3
    Last Post: 06-27-2007, 03:20 PM
  4. Replace post number link with Permalink Problem
    By Ic3m4n in forum General Discussion
    Replies: 7
    Last Post: 02-18-2007, 05:28 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
  •