Results 1 to 5 of 5

Stripping strings from url

This is a discussion on Stripping strings from url within the General Discussion forums, part of the vBSEO SEO Plugin category; Hey, I've just started adding sponsorships to my forums, so had to rename them "forum name sponsored by company". I ...

  1. #1
    Senior Member
    Real Name
    Nick Le Mouton
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    422
    Liked
    14 times

    Stripping strings from url

    Hey,

    I've just started adding sponsorships to my forums, so had to rename them "forum name sponsored by company". I was wondering if I could strip out sponsored by company from the url so the url stays the same as it was before hand?

    Thanks

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

    yes, you could either:
    1. add "sponsored by" message to forum description rather than title
    2. or to avoid including [forum_title] in URL formats so that URLs are not changing when subforum title is modified.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Senior Member
    Real Name
    Nick Le Mouton
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    422
    Liked
    14 times
    I added the words to the stop word list, not an ideal solution, but it works.

    The solutions you provided don't really work for me, I'd like to have the forum_title in the url and the sponsor wants maximum exposure by having their name as part of the forum title.

    How come stop words doesn't work for more than one word per line? I.e. I added "sponsored by company" on a line and it didn't work.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Yes, not a flawless solution, but good enough if you need to keep this in the forum title.

    You should use your defined spacer character (-) instead of space in stopword list, like:

    sponsored-by-company

    (add this to the top of list).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Senior Member
    Real Name
    Nick Le Mouton
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    422
    Liked
    14 times
    awesome, that's what i'm after, thanks

Similar Threads

  1. Stripping of HTML Comments and spaces
    By T2DMan in forum vBSEO Features Archive
    Replies: 4
    Last Post: 08-19-2005, 10: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
  •