1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect from VBGallery to Xenforo

Discussion in 'Media Gallery Support' started by teletubbi, Mar 22, 2015.

  1. teletubbi

    teletubbi Active Member

    Today i made the import of my old forum to Xenforo.
    After some trouble with importing the photopost gallery, which was solved by @Chris D, i am still facing another problem.

    The redirect of the forum is working, threads and post are accessible.

    But the pic`s dont redirect to the new gallery. Even if they are present in the new gallery.
    If i click on a picture it try to open in the old gallery of VB.


    http://www.domain.net/gallery/showimage.php?i=286764 this is the url from VB.

    And this http://www.domain.net/forum/index.php?media/schwaebisch.315036/ is how it looks in Xenforo.

    So i try to put this "RewriteRule ^/gallery/showimage.php /forum/index.php?media/" into htaccess.

    But without success.

    Did i miss something?
    Or do i need to write the second archived_import_log also into the 301config.php?

    Someone out there have any hint for me?

    Thanks in advance.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    I actually wrote some redirection scripts for vBGallery quite some time ago with the intention of releasing them as an optional download in the Resource Manager.

    They haven't been tested for quite some time, if you're happy to try them, though, if you confirm they're ok I'll get them released and get some others created for the other importers.

    These will work in a very similar way to the vBulletin redirects, e.g. extract the contents into your "gallery" directory and configure the 301config.php file.

    Good luck.
     
    kimchuy likes this.
  3. 0ptima

    0ptima Well-Known Member

    They work fine :)
     

Share This Page