mod_rewrite issues

Hi! I'm having a bit of trouble with my URLs. With mod_rewrite enabled the links in the menu of the site I'm working on look pretty, but aren't linking to the right pages. With it turned off it works, but I do want the pretty (and more search friendly?) URLs.

As I can't seem to set the permissions of the .htaccess file so that it can be written to, I'm assuming this is the issue and I have to put in the rule manually? If so, what should I be putting in? Sorry, I really have no idea how to write rules for .htaccess files!

If it helps at all the site is here: http://teresawatts.com/zenphoto/

Comments

  • acrylian Administrator, Developer
    Actually the setup script would generate the .htaccess file as needed by Zenphoto. Remove the one you have and rerun setup.
  • If setup cannot update/write the .htaccess file you will need to take the template from the zp-core folder and edit it to change the rewrite base as appropriate for your installation.
  • Cool, rerunning the setup seems to have worked, thanks!
Sign In or Register to comment.