Results 1 to 2 of 2

Deleting Blogs Leaves %user-name% in URL

This is a discussion on Deleting Blogs Leaves %user-name% in URL within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; It's not just blogs, it's on several things. But when I remove a blog and ban the user, I get ...

  1. #1
    Member
    Real Name
    Steve
    Join Date
    Aug 2011
    Posts
    70
    Liked
    1 times

    Deleting Blogs Leaves %user-name% in URL

    It's not just blogs, it's on several things. But when I remove a blog and ban the user, I get a URL that has "%user_name%" in it. Is this something configurable or am I missing something?

    While most of these were deleted spam-blogs ... some of them were not and I would like to find a way to make certain that these visitors will hit a page and not a browser error page. I'm thinking that the browser can't parse out the "%" in the url string. ???

    Anyhow, the rewrite is changing this: mysite.com/forum/entry.php?b=1461

    Into something like this: mysite.com/forum/blogs/%user_name%/a-/





  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,

    please try to modify functions_vbseo_createurl.php file:
    find:
    $returl = VBSEO_URL_BLOG_DOMAIN . $returl;
    add below:
    if(strstr($returl, '%'))return '';

Similar Threads

  1. Como redirigir /forums/blogs a /blogs ?
    By Borote in forum Espaņol
    Replies: 0
    Last Post: 02-09-2010, 02:47 PM
  2. Deleting a thread?
    By ezequiel in forum General Discussion
    Replies: 5
    Last Post: 07-25-2009, 08:48 AM
  3. Blog rewrite error 500 with CRR blogs.php => /blogs/
    By class101 in forum Bug Reporting
    Replies: 5
    Last Post: 12-24-2007, 02:17 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
  •