Results 1 to 5 of 5

Blog Tags Rewriting Problem

This is a discussion on Blog Tags Rewriting Problem within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hi there! Without vBSEO being activated blog tags are like this: 1. When clicking on a blog tag on the ...

  1. #1
    Junior Member
    Real Name
    Prox
    Join Date
    Jul 2010
    Posts
    5
    Liked
    0 times

    Question Blog Tags Rewriting Problem

    Hi there!

    Without vBSEO being activated blog tags are like this:

    1. When clicking on a blog tag on the "Recent Entries" page, u'll get to blog.php?tag=xxx

    2. When clicking on a blog tag within a specific blog, u'll get to blog.php?u=xxx&tag=yyy

    With vBSEO activated, in both cases u only get to blogs/tags/xxx So it isn't possible anymore to search all entries of one user based on a tag but only those of all users (except using the search engine of course).

    So is there any way to make vBSEO covering this important difference, for example by making tags within specific blogs link to blogs/username/tags/xxx ?

    Thanks a lot!

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

    we do not have user blog tags supported, to resolve the issue please modify functions_vbseo.php file:
    find:
    Code:
    if($apars['tag'])
    replace with:
    Code:
    if($apars['tag'] && !$apars['u'])
    and vbseo.php file:
    find:
    Code:
    if(VBSEO_REWRITE_BLOGS_TAGS_ENTRY)
    replace with:
    Code:
    if(VBSEO_REWRITE_BLOGS_TAGS_ENTRY && !$_GET['u'])

  3. #3
    Junior Member
    Real Name
    Prox
    Join Date
    Jul 2010
    Posts
    5
    Liked
    0 times
    Excellent, I'm running that now together with the CRR: '^blog\.php\?u=(.*)&tag=(.*)' => 'blogs/$1/tags/$2'

    That works fine although I'd rather see the $1 being the username instead of the userid. Any way to achieve that?

    Thanks!

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    We will need to implement a new URL format in next vBSEO version for that.

  5. #5
    Junior Member
    Real Name
    Prox
    Join Date
    Jul 2010
    Posts
    5
    Liked
    0 times
    Alright, thank you!

Similar Threads

  1. Change page title tags on blog
    By hiken in forum General Discussion
    Replies: 2
    Last Post: 01-23-2011, 06:00 AM
  2. Blog Tags rewrite problems
    By Atuttonet in forum URL Rewrite Settings
    Replies: 4
    Last Post: 04-20-2010, 08:57 AM
  3. Tags and Technorati Style Blog Indexing Sites
    By Dave Hybrid in forum General Discussion
    Replies: 5
    Last Post: 03-13-2009, 09:12 AM
  4. Dynamic Meta Description Tags for the Blog Urls
    By NeutralizeR in forum General Discussion
    Replies: 6
    Last Post: 09-02-2008, 05:43 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
  •