redirect url from vb4 to vb5 showthread

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • applemaniacos
    Member
    • Jul 2017
    • 31
    • 4.2.x

    [Resolved] redirect url from vb4 to vb5 showthread

    Hello.
    I have in the wordpress index.
    vb4 at domain.com/foros.php
    I have actualized from vB4 to vB5 and for some reason are not redirecting the old urls.
    domain.com
    Example:
    Old
    http://www.applemaniacos.com/showthr...8044#post18044
    New
    https://www.applemaniacos.com/foro/f...8640#post18640

    Is there any way to do it now manually?, I have tried several options in .htaccess, without success
    thanks for your time
    Last edited by applemaniacos; Wed 6 Sep '17, 12:29pm.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24286
    • 6.0.X

    #2
    If it's in the same folder as it was on vB4, then they will redirect automatically.

    i think the issue here is that you've moved it down one level.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • applemaniacos
      Member
      • Jul 2017
      • 31
      • 4.2.x

      #3
      I understand, that's right, I've moved it to another folder.
      is there any way to fix it now?
      Thank you Mark.B

      Comment

      • applemaniacos
        Member
        • Jul 2017
        • 31
        • 4.2.x

        #4
        I'm sorry, I did not explain it well.
        Wordpress is in the www / folder, although I have moved the index.php file so that it is displayed on the main page.
        If I move vb5 to the root, and I follow index.php from Wordpress, could it work?

        Comment

        • Mark.B
          vBulletin Support
          • Feb 2004
          • 24286
          • 6.0.X

          #5
          vBulletin has its own index.php file so you would need to have Wordpress is a completely separate folder with its own index.php.
          MARK.B
          vBulletin Support
          ------------
          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

          Comment

          • applemaniacos
            Member
            • Jul 2017
            • 31
            • 4.2.x

            #6
            Thank you very much.
            It has occurred to me to create a subdomain forum.domain.com and to link it to the folder www./vb5.
            In this thread has commented that it works

            Comment

            • applemaniacos
              Member
              • Jul 2017
              • 31
              • 4.2.x

              #7
              Hi.
              Anyone know how to redirect with htaccess all the url they contain
              www.domain.com/showthread.php(any content) to www.domain.com/forum/showthread.php(same content)

              Thank you

              Comment

              • applemaniacos
                Member
                • Jul 2017
                • 31
                • 4.2.x

                #8
                solved
                I have redirected the urls that interest me to the folder where I have vb5 installed and now they are redirected.

                Code:
                RewriteEngine On
                RewriteRule ^showthread\.php$ /foro/$0 [R=301,L]

                I made a redirect in these url
                Code:
                RewriteEngine On
                RewriteRule ^showthread\.php$ /foro/$0 [R=302,L]
                RewriteRule ^showthread\.php(.*) /foro/$0 [R=302,L]
                RewriteRule ^member\.php$ /foro/$0 [R=302,L]
                RewriteRule ^forumdisplay\.php$ /foro/$0 [R=302,L]
                that way I work wordpress on the homepage and also the download section of vb4


                when you are sure that everything works well, I will change to [R=301,L]
                Last edited by applemaniacos; Thu 7 Sep '17, 8:51am.

                Comment

                Related Topics

                Collapse

                Working...