Hi
I'm a newbie, so if this is a silly question, I apologise!
I've set up Zenphoto and Zenpage with the default Zenpage theme. It all worked brilliantly and I was delighted.
I then moved the location of all of it on my host, and now Zenpage isn't working. It' generating urls for pages and news that can't be found.
Any ideas what I've broken?
Thanks
Mike
Comments
Thanks for the swift reply - really appreciated!
Yes I re-ran setup after moving (by the way the tutorial is very helpful). Zenphoto works just fine, its Zenpage that doesn't.
Tried turning off the mod_rewrite option. That's changed the url its looking for, but it's still not finding anything.
Is there an equivalent 'setup' to run for Zenpage?
Mike
Does that help in any way?
Thanks again
Mike
Checked that, and both news page name and pages page name were blank, so I made them news.php and pages.php.
It's still not opening either News or Pages - though the url looks a bit more promising. It's now http://www.mikemccormac.co.uk/zenphoto/index.php?p=pages.php&title=Searching-this-site for a page called 'Searching this site'.
In the text it describes changing the .htaccess file. If its any help, the text in mine as it relates to Zenpage is:
#### Rewrite additions for zenpage
RewriteRule ^pages/?$ index.php?p=pages [L,QSA]
RewriteRule ^pages/(.*)/?$ index.php?p=pages&title=$1 [L,QSA]
RewriteRule ^news/?$ index.php?p=news [L,QSA]
RewriteRule ^news/([0-9]+)/?$ index.php?p=news&page=$1 [L,QSA]
RewriteRule ^news/category/(.*)/([0-9]+)/?$ index.php?p=news&category=$1&page=$2 [L,QSA]
RewriteRule ^news/category/(.*)/?$ index.php?p=news&category=$1 [L,QSA]
RewriteRule ^news/archive/(.*)/([0-9]+)/?$ index.php?p=news&date=$1&page=$2 [L,QSA]
RewriteRule ^news/archive/(.*)/?$ index.php?p=news&date=$1 [L,QSA]
RewriteRule ^news/(.*)/?$ index.php?p=news&title=$1 [L,QSA]
Thanks again
Mike
Mike
Edit: I read that this function is removed after 1.4. Why was it removed anyway? I thought it was a nice option for language implementing. Any way to force the name change by editing any of the core files? Or would I have to edit practically all of them? Sounds like a bad idea but I would like to try because a lot of links is broken now.
RewriteRule ^index.php?p=tekster&title=(.*)$ index.php?p=news&title=$1
RewriteRule ^tekster/(.*)$ index.php?p=news&title=$1
"tekster" is the name given to news.php earlier.
Also virtually no one cares what the url actually tells. More important is the content of the page itself.