Announcement

Collapse
No announcement yet.

URLs all changed after upgrade to VB5

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • URLs all changed after upgrade to VB5

    I went from V4x to the latest VB5 today. However the old URL structure was
    http://domainname.com/threads/20533-The-New-Vibe-Shearwater-125-Kayak-is-Sweet

    The new is
    https://www.domainname.com/forum/va-outdoors-general-forum/va-kayak-and-canoe-forum/19702-the-new-vibe-shearwater-125-kayak-is-sweet

    Obviously every back link and every google search result now errors out, a colossal problem for a site. Any ideas on how to correct this? Its not even remotely simple considering the bolded parts in each URL above.

  • #2
    Assuming you have upgraded to 5.5.3, you need to uncomment the following lines in .htaccess:
    Code:
        #If you used friendly urls in vB4, then uncommenting the following rules will redirect the #
        #old vB4 urls to a similar location in vB5.  This is unnecesary for a new vB5 install.
        #RewriteRule ^threads/.* showthread.php [QSA]
        #RewriteRule ^forums/.* forumdisplay.php [QSA]
        #RewriteRule ^members/.* member.php [QSA]
        #RewriteRule ^blogs/.* blog.php [QSA]
        #RewriteRule ^entries/.* entry.php [QSA]
    To do this, change it to the following (remove the '#' character from the front of each of the rules):
    Code:
        #If you used friendly urls in vB4, then uncommenting the following rules will redirect the #
        #old vB4 urls to a similar location in vB5.  This is unnecesary for a new vB5 install.
        RewriteRule ^threads/.* showthread.php [QSA]
        RewriteRule ^forums/.* forumdisplay.php [QSA]
        RewriteRule ^members/.* member.php [QSA]
        RewriteRule ^blogs/.* blog.php [QSA]
        RewriteRule ^entries/.* entry.php [QSA]
    This will NOT change your vB5 URLs, but will rewrite the old URLs to the new.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Originally posted by Mark.B View Post
      Assuming you have upgraded to 5.5.3, you need to uncomment the following lines in .htaccess:
      Code:
       #If you used friendly urls in vB4, then uncommenting the following rules will redirect the #
      #old vB4 urls to a similar location in vB5. This is unnecesary for a new vB5 install.
      #RewriteRule ^threads/.* showthread.php [QSA]
      #RewriteRule ^forums/.* forumdisplay.php [QSA]
      #RewriteRule ^members/.* member.php [QSA]
      #RewriteRule ^blogs/.* blog.php [QSA]
      #RewriteRule ^entries/.* entry.php [QSA]
      To do this, change it to the following (remove the '#' character from the front of each of the rules):
      Code:
       #If you used friendly urls in vB4, then uncommenting the following rules will redirect the #
      #old vB4 urls to a similar location in vB5. This is unnecesary for a new vB5 install.
      RewriteRule ^threads/.* showthread.php [QSA]
      RewriteRule ^forums/.* forumdisplay.php [QSA]
      RewriteRule ^members/.* member.php [QSA]
      RewriteRule ^blogs/.* blog.php [QSA]
      RewriteRule ^entries/.* entry.php [QSA]
      This will NOT change your vB5 URLs, but will rewrite the old URLs to the new.
      I have done this, saved the file, but it do not correct anything. If i go to Google and do a search for a known url, it still doesnt redirect to the right url.

      Comment


      • #4
        Please provide exact examples of the URLS. We cannot provide support when you obfuscate the URLS.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment

        Related Topics

        Collapse

        Working...
        X