Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

move from one folder to another

hi

i want to move my vanilla folder from

domain.de/forum/vanilla

to

domain.de/forum

what is the easy way to do it?

Answers

  • rename the folder and change the .htaccess

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • LincLinc Detroit Admin

    And delete the ini files in the cache folder.

  • what about the settings in vanilla?

    they will be changed automatically?

  • peregrineperegrine MVP
    edited November 2014

    as long as you follow the steps. you should be fine.

    what I would do is these exact steps. (so you don't have recursion issues)

    • rename /forum/vanilla to /testforum
    • then rename /vanilla to /oldvanilla
    • then rename /testforum to /vanilla
    • change the .htaccess to reflect the new rewritebase
    • And delete the ini files in the cache folder.

    if you have problems after doing so. come back.

    if you added specific links or routes via customization, you may need to reflect the changes.

    try it.

    make a backup of your source directory and zip it up, if you want to play it safe.

    you can do this if you want to be extra secure.

    http://vanillaforums.org/discussion/21192/which-files-should-i-back-up

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • what changes needs to be done in .htaccess?

  • peregrineperegrine MVP
    edited November 2014

    see the part about rewriting urls in this comment

    http://vanillaforums.org/discussion/comment/208333/#Comment_208333

    you can also see it in the FAQ

    http://vanillaforums.org/discussion/28420/faq-what-frequently-asked-questions-would-you-like-to-see-in-a-faq-help

    reading all the comments in those discussions, may prove helpful as well.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited November 2014

    Do you want to redirect users from an old forum to a new forum?

    meaning if they click on your old forum site url, they automatically get redirected to the new forum site url.

    if so that is a different question. and someone can give you a suggestion for a change to .htaccess to redirect users from your old url to your new site.

    but you need to be clear what you want to do,

    if you just want to rename folder structure the above comments should be sufficient.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • No, i don't need redirection.

    I want to move the url of vanilla which is one folder to the main sub domain

    currently it's.

    forum.domain.com/vanilla

    i want it to be moved to

    forum.domain.com

  • peregrineperegrine MVP
    edited November 2014

    backup first.

    you could move all the source from /vanilla folder to /

    assuming the root folder does not use any other software like wordpress in the root folder and you do not have other index.php in the /

    unless someone wants to suggest rewrite rules to accomplish this.

    perhaps your host could help you with that.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • you can also use $Configuration['Garden']['WebRoot'], $Configuration['Garden']['StripWebRoot']and .htaccess to accomplish that without moving files.

    x00 has written an excellent tutorial for that:
    http://vanillaforums.org/discussion/comment/202822#Comment_202822

    (FAQ candidate?)

    peregrinevrijvlinder
  • peregrineperegrine MVP
    edited November 2014

    @Bleistivt said:

    (FAQ candidate?)

    I don't feel qualified to explain it or test it. but feel free to add it. you would probably do a better job than me explaining this one

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.