bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Permalinks Problem - rewrite-rules.php does not work

(10 posts)
  • Started 6 months ago by stereopoly
  • Latest reply from stereopoly
  • This topic is not resolved
  1. Hey guys,
    I've almost finished installing my bbpress on http://www.stereopoly.de/forum but there's one thing doing wrong: The permalinks. I want to use pretty permalinks, but obviously my server does not support the easy .htaccess thingy (Multi Views).. Thus I have to run http://www.stereopoly.de/forum/bb-admin/rewrite-rules.php right? But if i do so, I will get to the homepage (stereopoly.de/forum)

    Any idea, how to solve this problem?
    sorry for my bad english, i'm just german ;)

    cheers

    Posted 6 months ago #
  2. That is correct. Take the output of that file and put that in your /stereopoly.de/forum/ directory. Multiviews works with most servers I have played with, but had to use the rewrite-rules.php for my latest server.

    Trent

    Posted 6 months ago #
  3. it does not work so, too.do you mean just copying the "rewrite-rules.php" into the forum-root directory and then try to run it again? I have set

    $bb->mod_rewrite = true;

    and within my htaccess it's still said

    Options +MultiViews

    and then i have to go to http://www.stereopoly.de/forum/rewrite-rules.php , ay?

    does not work :(

    Posted 6 months ago #
  4. Some servers do not support Multiviews.
    Try this:

    1. $bb->mod_rewrite = false;
    2. http://www.stereopoly.de/forum/bb-admin/rewrite-rules.php
    3. copy the list
    4. put the list into .htaccess
    5. remove Options + Multiviews
    6. $bb->mod_rewrite = true;

    Note the bb-admin in #2.

    Posted 6 months ago #
  5. Thanks for your help, but it does not work :(

    »No input file specified«. So what now?

    Posted 6 months ago #
  6. Turn off permalinks and leave them off. Then see if your forum works.

    $bb->mod_rewrite = false; in config.php.

    Posted 6 months ago #
  7. then it does work, yes but i'd love to have pretty permalinks :)

    Posted 6 months ago #
  8. One thing at a time. If everything works now, then you know you have a problem with the .htaccess and rewrite rules.

    Posted 6 months ago #
  9. Googling shows that error is caused when running PHP as a CGI and there is a mod_rewrite conflict (or a file does not exist).

    I suspect there is a conflict with mod_rewrite rules in the parent folder. Show us your rewrite rules in /.htaccess (probably wordpress stuff but there may be others).

    Posted 6 months ago #
  10. this is what my htacces looks like in my root:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www\.stereopoly\.de$
    RewriteRule ^(.*)$ http://www.stereopoly.de/$1 [L,R=301]

    Redirect /feed feed://feeds.feedburner.com/stereopoly

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.