Pretty URLs break my site

Permalink
I just got c5 yesterday and am messing with one of the templates. I enabled the Pretty URLs option and it pretty much breaks everything on the site, navigation, and event the quick access bar if I remember right.

timtorres
 
Mnkras replied on at Permalink Reply
Mnkras
Is the code in the .htaccess file?
mkly replied on at Permalink Reply
mkly
Hello,
Bummer to see that you are already having some trouble. As a bit of advice while you are just getting started you might want to hold off on Pretty URLs until you get a feel for concrete5 in general. That said, most Pretty URL issues have to do with a couple things.

Here's a quick list of things to check.

1. The Cache.
- Clear the cache. Do either of these.
a. Go to Dashboard->System Settings->Optimization->Clear Cache and click the "Clear Cache" button.
b. Type "Clear Cache" into the "Intelligent Search" box at the top and click "Clear Cache". Then click the "Clear Cache" button.

2. .htaccess file.
- concrete5 will typically fill this out for you with the information that is needed.
- The file is located in the root of the site where index.php is and you may need to create it.
- Because various shared hosting providers use different settings for their hosting environments the default concrete5 code made not work for your particular situation.
- If you have cleared your cache and are still not getting it to work with your site it is best to either google "concrete5 yourhostname pretty urls" and/or contact you hosting provider for additional assistance.
timtorres replied on at Permalink Best Answer Reply
timtorres
I am developing on my local server. The problem was that I hadn't enabled mod_rewrite. I'll still probably hold of on using them until the site's ready for a production environment though. Thanks for your answers
splashmg replied on at Permalink Reply
splashmg
I'm fairly new to c5 and have run into this as well.

Locally on my PC I'm running WAMP. When I enabled Pretty URLs and updated my .htaccess file with c5's code, my site links broke and the Edit buttons on the toolbar disappeared.

In WAMP, I went into the Apache > Apache modules and then turned on 'rewrite_module' and my links started working and the buttons on the toolbar came back.

All seems to be working.
kveldalf replied on at Permalink Reply
Thanks! On the PC side, (Windows XP) running WAMP, this recommendation worked so that Pretty URLs are enabled and I can navigate to the other pages.