Announcement

Collapse
No announcement yet.

Existing internal links 404 after upgrade from 4 to 5.5.1

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

  • sassyronin
    replied
    Ahhhhhhh! That did the trick! I had pasted below said Main Redirect Block.

    Thank you!

    Leave a comment:


  • Wayne Luke
    replied
    You need to add your vBulletin mod_rewrite rules to the .htaccess. Particularly these lines:

    Code:
    # Forum
    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]
    Make sure these are under the RewriteBase directive and above the "Main Redirect Block".

    You should not change anything in the database. Doing so will render your site inoperable.

    Leave a comment:


  • sassyronin
    replied
    In my [prefix]_node table I see that nodeid and oldid for that post I referenced upthread are listed correctly as 204 and 149 respectively, which matches the same in the old broken link and the new working link I posted. It looks like the redirection is done using [prefix]_routenew. It might be a kludge, but I wonder if fixing those existing links would be as simple as (backing up and then) manually creating a row in routenew matching the broken link and routing them to the new path? Whatever the solution turns out to be, I'm glad that the database does seem to have the old and new ids stored.
    Last edited by sassyronin; Wed 1st May '19, 5:32pm. Reason: Fixing typo

    Leave a comment:


  • sassyronin
    replied
    Nope. Straight-up vBulletin. Do the topic and post IDs change by design during upgrade?

    Leave a comment:


  • Mark.B
    replied
    Were you using vBSEO? Or similar?
    Only vB4 URLs from one of the default URL schemes will redirect. URLs from a third party system won’t.

    Leave a comment:


  • Existing internal links 404 after upgrade from 4 to 5.5.1

    After upgrading our vB4 to 5.5.1, none of the existing internal links (ones members posted to point to a different post) work. ("Invalid Page URL. If this is an error and the page should exist, please contact the system administrator and tell them how you got this message.")

    The thread and post numbers are completely different now, so I am at a loss regarding how to go about redirecting them. I believe I've read in here that vBulletin somehow tracks the relationship between old links and new ones, but that isn't working for me. Did I mess something up during the upgrade, perhaps? I ran most of the General Update Tools (excepting "Rebuild Statistics") after upgrading.

    Example old link: https://roninarmy.com/threads/149-Ja...ll=1#post51431

    Same link now: https://roninarmy.com/forum/atomic-t...7632#post77632

    Thanks!

Related Topics

Collapse

Working...
X