Announcement

Collapse
No announcement yet.

Vbulletin 5.4.0 redirect .htaccess

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Vbulletin 5.4.0 redirect .htaccess

    Hello

    Today i added a bunch of 301 redirects in my vbulletin's .htaccess, but when i hit the old url, it takes me to the new url, and has this added in the url: ?routestring=

    Example:

    Redirect 301 /test-old-page www.site.com/new-page

    The above redirect will take me to www.site.com/new-page?routestring=test-old-page

    If i manually remove the ?routestring=..... from the url, everithing works fine.

    How can i make it so that ?routestring= does not get added in the url anymore?

    #2
    Try this:
    Code:
    RewriteRule ^test-old-page/?$ $1/new-page$2 [R=301,L]
    Make sure it is above where the main redirect is (the one with routestring)
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment

    Users Viewing This Page

    Collapse

    There is 1 user viewing this forum topic.

    • Guest Guest

    Latest Posts

    Collapse

    Working...
    X
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"