I have a bit of doozy - zenPage is functioning just fine, however, when I try to view a single article it still shows the full blog.
You can see the issue here:
http://genatuso.com/blogWhat's very odd is that I made this site on a test server first and everything worked fine. I created it on the real server and have not gotten this to work at all.
Could it have something to do with my htaccess file?
My news page has been renamed blog.
Here is the htaccess for the new site (that doesn't work correctly)
`
#### Rewrite additions for zenpage
RewriteRule ^pages/?$ index.php?p=pages [L,QSA]
RewriteRule ^pages/(.*)/?$ index.php?p=pages&title=$1 [L,QSA]
RewriteRule ^blog/?$ index.php?p=news [L,QSA]
RewriteRule ^blog/([0-9]+)/?$ index.php?p=news&page=$1 [L,QSA]
RewriteRule ^blog/category/(.*)/([0-9]+)/?$ index.php?p=news&category=$1&page=$2 [L,QSA]
RewriteRule ^blog/category/(.*)/?$ index.php?p=news&category=$1 [L,QSA]
RewriteRule ^blog/archive/(.*)/([0-9]+)/?$ index.php?p=news&date=$1&page=$2 [L,QSA]
RewriteRule ^blog/archive/(.*)/?$ index.php?p=news&date=$1 [L,QSA]
RewriteRule ^blog/(.*)/?$ index.php?p=news&title=$1 [L,QSA]
`
And here is my htaccess from the temp site (
http://goteama.com/temp/zenphoto/blog)`
#### Rewrite additions for zenpage
RewriteRule ^pages/?$ index.php?p=pages [L,QSA]
RewriteRule ^pages/(.*)/?$ index.php?p=pages&title=$1 [L,QSA]
RewriteRule ^blog/?$ index.php?p=blog [L,QSA]
RewriteRule ^blog/([0-9]+)/?$ index.php?p=blog&page=$1 [L,QSA]
RewriteRule ^blog/category/(.*)/([0-9]+)/?$ index.php?p=blog&category=$1&page=$2 [L,QSA]
RewriteRule ^blog/category/(.*)/?$ index.php?p=blog&category=$1 [L,QSA]
RewriteRule ^blog/archive/(.*)/([0-9]+)/?$ index.php?p=blog&date=$1&page=$2 [L,QSA]
RewriteRule ^blog/archive/(.*)/?$ index.php?p=blog&date=$1 [L,QSA]
RewriteRule ^blog/(.*)/?$ index.php?p=blog&title=$1 [L,QSA]
`
I tried copy pasting in the old code and got page not found errors. Any ideas?
EDIT: I just checked out what would happen if I turned off mod-rewrite and oddly enough even though the page is named blog, it has to be p=news not p=blog to work.
Comments
If you did all that correctly and it does not work we probably have a bug. This option is apparently rarely used and there might some issue sneaked in unnoticed.
Also, since you use a custom theme, is the blog/news.php page setup correctly?
I see what happened here - when I first migrated the site to the new server I was having problems with the Zenpage install - and renamed my file news.php. Due to, I assume, browser caching things seemed to work for the first bit. I now renamed the file back to blog.php and it's working.
Thanks for all the help. Zenphoto is great. We have a number of photographer clients and are excited by what Zenphoto has to offer.