rewriting rules - getting rid of page/-- ?

hi,

i am working on rewriting my urls. i have created couple pages using zenpage and they are normally referenced as:
pages/pagename

in the .htaccess file i have added the rules so that when some enters the url mydomain.com/pagename it goes to the right zenpage. yest the internal links all refer to pages/pagename. of course if one clicks on a link it still goes to the right page but then the url is not like what i would like it to be ! how can i make sure that the links from within zenphoto will follow the rewriting rules i have written ?

also( i know i've read somewhere on the forum about it but can't find the post anymore) is there a way to get rid of the "/page/" in the url ? and have something like /search instead of /page/search for instance.

thanks for your help.
frank.

Comments

  • acrylian Administrator, Developer
    You have to try to create a rewrite rule that rewrites the page url to leave out the "page". However Zenphoto generates urls that way as otherwise Zenphoto might mistake a page for an album. <zenphoto>/search is an album named "search".
Sign In or Register to comment.