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.
Options

[Solved] 404 when I click anything.

edited August 2011 in Vanilla 2.0 - 2.8
I recently changed my server and got on 000webhost. But now when I click on any thread or anything on my forum, it shows me 404 error
Website URL: http://projectgen.co.cc
Tagged:

Best Answers

  • Options
    UnderDogUnderDog MVP
    Answer ✓
    I believe their is an issue with the htaccess:
    What do you think is the issue with the .htaccess file?
    Anything in the Apache Error logs?

    There was an error rendering this rich post.

  • Options
    lucluc ✭✭
    Answer ✓
    Deleted ini files from cache dir?

    Are you sure your .htaccess is used?
  • Options
    UnderDogUnderDog MVP
    Answer ✓
    Something else is wrong. You installed your forum in one directory and then you moved that forum to another directory (your root)

    There was an error rendering this rich post.

Answers

  • Options
    $Configuration['Garden']['RewriteUrls'] = TRUE;
    Switching this to FALSE fixed the issue... But I really want this to be set on TRUE
    Anyone?
  • Options
    I believe their is an issue with the htaccess:
    # Original
    # If you modify this file then change the above line to: # Modified

    RewriteEngine On
    # Certain hosts may require the following line.
    # If vanilla is in a subfolder then you need to specify it after the /.
    # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
    # RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]


    I am now running the forum on host root...
  • Options
    UnderDogUnderDog MVP
    Answer ✓
    I believe their is an issue with the htaccess:
    What do you think is the issue with the .htaccess file?
    Anything in the Apache Error logs?

    There was an error rendering this rich post.

  • Options
    Well I changed my forum directory to root thats the reason why I think that their is an issue with .htaccess
  • Options
    lucluc ✭✭
    Answer ✓
    Deleted ini files from cache dir?

    Are you sure your .htaccess is used?
  • Options
    yeah I have deleted all the files from the cache directory.
  • Options
    UnderDogUnderDog MVP
    Answer ✓
    Something else is wrong. You installed your forum in one directory and then you moved that forum to another directory (your root)

    There was an error rendering this rich post.

  • Options
    Nvm I fixed it (: I had to put "RewriteBase /" in my .htaccess to fix the issue (:
  • Options
    This fix worked for me. If you have this problem, just open .htaccess and add:

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

    Thanks
Sign In or Register to comment.