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.

How to make the URL clean, so it does not display like this http://mywebsite.tld/forums/index.php?p=

AFNAFN New
edited July 2011 in Vanilla 2.0 - 2.8
I have installed Vanilla Forums, but I have something that is bugging me. My URL is http://mywebsite.tld/forums/index.php?p=/activity how can I get it to be clean URL like http://mywebsite.tld/forums/categories/general ?

Best Answer

Answers

  • @luc, what is the precondition to enable rewriteurls? It doesn't work on my new server. I have checked that mod_rewrite is ON on my server.
  • lucluc ✭✭
    edited July 2011
    The .htaccess needs to be OK, and taken into account.
    That's apache2 stuff, I don't use apache.

    And you're apparently trying to use the .htaccess of vanilla after one was used by wordpress.
  • ronakgronakg New
    edited July 2011

    And you're apparently trying to use the .htaccess of vanilla after one was used by wordpress.
    What exactly do you mean here? I think this is the problem and I don't understand this part.

    The structure of files is same as my old installation.

    /htdocs/forum/[ALL VANILLA FILES]
    /htdocs/[ALL WP FILES]
  • I had to change
    RewriteBase /
    to
    RewriteBase /forum
    in my .htaccess file. Strange that it worked with original vanilla supplied .htaccess file in my previous installation.

    All is well now. Now off to figuring out how to change the link in notification email to point to embedded version.
  • AFNAFN New
    edited July 2011
    Check step 7.
    http://vanillaforums.org/docs/installation#moreinfo
    When I changed "FALSE" to "TRUE" the website only gave me dead links.

    $Configuration['Garden']['RewriteUrls'] = TRUE;

    What else can be wrong?
  • ^^^ Check my previous comment above yours.
  • AFNAFN New
    edited July 2011
    I did that, and I still get my error page.
  • I've done this like 10 times but I still get 404 errors. Is it because I've installed in the root and not in a /forum directory? This is driving me insane.
  • LincLinc Detroit Admin
    @nolageek Are you sure your server can use htaccess files? Default Apache won't allow it. It needs AllowOverride set correctly.
Sign In or Register to comment.