Page 4 of 4 FirstFirst 1 2 3 4
Results 46 to 49 of 49
Like Tree5Likes

vBulletin 4.1.12 - Promote Post to Article "Page not found" error

This is a discussion on vBulletin 4.1.12 - Promote Post to Article "Page not found" error within the Bug Reporting forums, part of the vBSEO SEO Plugin category; Originally Posted by Mert Gökçeimam Hello Alessandro , Please try following find the following in vbseo /includes/functions_vbseo.php PHP Code: if( ...

  1. #46
    Member Array
    Real Name
    Les Hill
    Join Date
    Sep 2005
    Location
    Gloucester, England, UK
    Posts
    73
    Liked
    3 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Hello Alessandro ,

    Please try following

    find the following in vbseo/includes/functions_vbseo.php

    PHP Code:
    if($preurl[strlen($preurl)-1]=='"' && (($qpos strpos($posturl,'"'))>0) && ($posturl[0]!="'"))
    {
    $url .= substr($posturl0$qpos);
    $posturl substr($posturl$qpos);

    add below

    PHP Code:
    $is_formpost strstr($posturl'method="post"'); 
    find:

    PHP Code:
    if(VBSEO_REWRITE_CMS
    replace with:

    PHP Code:
    if(VBSEO_REWRITE_CMS && !$is_formpost
    find:

    PHP Code:
    if(VBSEO_REWRITE_CMS && VBSEO_VB4 && in_array(VB_ROUTER_SEGMENT, array('list''content'))) 
    replace with:

    PHP Code:
    if((!$_POST || count($_POST)<2) && VBSEO_VB4 && in_array(VB_ROUTER_SEGMENT, array('list''content'))) 
    Is it important to perform this edit anymore with the latest updated vbseo 3.6 pl2? will be using vbulletin 4.2. thanks

  2. #47
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    722 times
    Blog Entries
    4
    If you are having this issue , it is advised to do so
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #48
    Junior Member Array GamerPerfection's Avatar
    Real Name
    GamerPerfection
    Join Date
    May 2012
    Posts
    6
    Liked
    0 times
    This worked fine for me after seeing that 'if(VBSEO_REWRITE_CMS)' appears twice!

  4. #49
    Senior Member Array
    Real Name
    Karl
    Join Date
    Aug 2008
    Location
    England
    Posts
    122
    Liked
    0 times
    Blog Entries
    1
    Yes, it does work - I revised my edits and realised I'd pasted one of the codes in the wrong location. Apologies about concern I drew.
    You could have said instead of rewriting my signature.

Page 4 of 4 FirstFirst 1 2 3 4

Similar Threads

  1. Replies: 383
    Last Post: 02-15-2013, 03:30 AM
  2. Replies: 6
    Last Post: 04-12-2011, 05:35 PM
  3. Does "Promote To Article" creates an Article with canonical URL???
    By anupam_luv in forum General Discussion
    Replies: 7
    Last Post: 07-24-2010, 08:38 AM
  4. Replies: 7
    Last Post: 01-14-2008, 03:09 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
  •