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.

Rewrite rule

Hi there,

When I change

$Configuration['Garden']['RewriteUrls'] = FALSE; to $Configuration['Garden']['RewriteUrls'] = True;

in the config.php file it breaks the links on my site. Is there something else I'm missing?

The goal is to end up with slugs such as this:
Ideal: /forum/category/title-whatever-title-is
Acceptable: /discussion/123/title-whatever-title-is OR
/forum/123/title-whatever-title-is

(Where 123 represents the # associated with the categories.)

as the client's seo advisor claims is needed.

Thanks so much!

Tagged:

Comments

  • Can you provide us with the content of your .htaccess please?

  • RewriteUrls isn't a substitute for server rules, it is something to turn on if you server rule are working, to rewrite the links.

    It is the server that routes to the framework.

    In Apache .htaccess is usually the culprit. in the directory, you might need to set the RewriteBase also.

    grep is your friend.

  • Thank you! I see the issue has to do with our hosting who restricts some types of files. Thanks so much!

Sign In or Register to comment.