![]() |
|
mod_rewrite page navigation does not work - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: mod_rewrite page navigation does not work (/thread-6247.html) |
mod_rewrite page navigation does not work - seanbhalliday - 2009-12-08 Greetings, When using mod_rewrite, when there is more than one album, and album 2 or 3 etc.. is clicked on, the page does not display properly. If I take the / off at the end of the next page address, the page displays properly. Example can be found here: If I take the / off at the end, it displays correctly as can be seen here: If I go back to another theme, it works. Any ideas on why my theme will not take / at the end of an album address when Thanks in advance for looking at this, Sean B. Halliday mod_rewrite page navigation does not work - acrylian - 2009-12-08 Try full absolute paths for the header images and such. Btw, you are running an older version of Zenphoto. mod_rewrite page navigation does not work - seanbhalliday - 2009-12-09 I have put the full absolute path in the htaccess file and have tried uncommented the lines in the zp-config file and adding the full path there. No luck as it is still the same. Any other ideas I you think I can try. Thanks, Sean mod_rewrite page navigation does not work - acrylian - 2009-12-09 Full paths in the htaccess of course do not work. Try what I suggested above. mod_rewrite page navigation does not work - seanbhalliday - 2009-12-09 I have figured out what it was. When NOT using mod_rewrite, it ends the path with "page=2" which works out fine with the link to the style sheet I am using. When you turn on mod_rewrite, it changes the end of the path to be "page/2/". Adding the "/" on the end changed the folder location when looking for the style sheet. So I changed the path to the style sheet from "../../../" to "../../../../" and now all the pages work. Thanks for all your time looking into this. Sean B. Halliday mod_rewrite page navigation does not work - acrylian - 2009-12-09 Using full paths to call those would have done the same. Good that you got it working anyway. |