ZenphotoCMS Forum
Rewriting URLs does not work after reinstallation - 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: Rewriting URLs does not work after reinstallation (/thread-9255.html)



Rewriting URLs does not work after reinstallation - Guest - 2011-11-15

The user and all related content has been deleted.




Rewriting URLs does not work after reinstallation - acrylian - 2011-11-16

Quote:My domain is http://www.rsphotographs.com which my hoster is forwarding to http://www.rsphotographs.com/zenphoto. Thus the RewriteBase in the .htaccess file is:

RewriteBase /
That is correct.

Quote:When using http://www.rsphotographs.com/admin the URL is correctly rewritten to http://www.rsphotographs.com/zp-core/admin.php.
Technically this is a redirection, the admin does not use modrewrite.

Quote: However all other URLs bring up the message "setup scripts missing". I want them to be:

http://www.rsphotographs.com/about
-->
A Zenpage called "about".
Well, unless you modify the htaccess file the rewritten url of a Zenpage page "about" would be http://www.rsphotographs.com/pages/about
"pages" is a reserved keyword so to speak as otherwise Zenphoto will think this is either a album called "about" or even a subalbum "pages/about".