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.

Permalinks

edited August 2010 in Vanilla 2.0 - 2.8
Can I change "/index.php?p=/discussions" to "/discussions" ? And "/index.php?p=/" to "/" ? And how to do this?

Vanilla 2.0
Tagged:

Comments

  • edited August 2010
    This doesn't work for me. I modified the config-defaults.php file as required and also have those lines in my htaccess but still have the ugly urls with index.php? in them.

    My complete htaccess is:

    # Modified

    RewriteEngine On
    RewriteBase /forum
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]



    I'm using 2.03. Any ideas?

    Thx
  • chriscoyier: Thanks!!! Solved.

    jwokelly: Edit config.php.
  • LincLinc Admin
    edited August 2010
    @jwokelly Edit it in config.php NOT config-defaults.php.
  • edited August 2010
    Thanks guys, got it.

    I was editing the config-default.php and ftp'ing it up to the server as there is no config file on my local system when VanilaForums are downloaded, its created on the server upon installation.

    Thx
Sign In or Register to comment.