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.

changing URL of my site: What lines to rename?

edited July 2010 in Vanilla 2.0 - 2.8
When I change the URL of my Site what lines do I have to change?
Right now I can't enable any plugin if I try to access the page from a different URL.
An error message appears: The Plugin couldn't be enabled because it created a fatal error.
The line below remains empty.
I changed my URL via htaccess RewriteBase froum to
Everything else seems to work...


  • Options
    Can someone help me on this one?
  • Options
    I'm guessing that you need to change your config.php (in the conf dir) to match you new URL. Just browse through the file and change all the old URL's to your new one.

    Let me know if this helps.

  • Options
    there are no URLs at all in my config.php
  • Options
    ToddTodd Chief Product Officer Vanilla Staff
    Can you post your exact .htaccess file here? Also post your web host and as much other information about your specific setup. Also can I get the url of your site and what you want the url of your forum to be?

    In most cases you don't have to edit your htaccess at all.
  • Options
    Everything on the site works, even if I switch on the redirect to!
    Only the plugins stop to work properly, I can't enable and disable them anymore.

    This is my htaccess:

    Options -Indexes

    AddType application/x-httpd-php5 .php .php3 .php4 .php5
    DirectoryIndex index.php/

    Options +FollowSymLinks
    RewriteEngine On
    # Certain hosts may require the following line.
    # If vanilla is going to be in a subfolder change this to /foldername
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]

    #RewriteCond %{SERVER_PORT} !443
    #RewriteCond %{HTTP_HOST} ^forum\.xxxxxx\.de$
    #RewriteRule ^(.*)$1 [R=301,L]

  • Options
  • Options
    ToddTodd Chief Product Officer Vanilla Staff
    So you are changing your site to ssl? I think @TiGR tried that and may have some insight.
  • Options
    @Todd Yes, but via SSL-Proxy...
  • Options
    any help here?
  • Options
    ToddTodd Chief Product Officer Vanilla Staff
    Can you:
    1. Install Firebug.
    2. Bring it up with F12
    3. Enable the Console
    4. Tell me the URLs of the requests when you try to enable a plugin
Sign In or Register to comment.