ZenphotoCMS Forum
zpGalleriffic mod_rewrite not appending files - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: zpGalleriffic mod_rewrite not appending files (/thread-7295.html)



zpGalleriffic mod_rewrite not appending files - snarko - 04-07-2010

Go easy; I'm not an engineer.

I am having difficulty getting my files appended with .html, .php, etc. I triple-checked mod_write is on in Options > General; I'm on Apache 2.2.12.

I peeked at the .htaccess file, and though don't totally understand it, see no reason why it wouldn't be working. My only guess is somehow the theme is partly to blame?

Any suggestions what else I can do to get it working?




zpGalleriffic mod_rewrite not appending files - kagutsuchi - 04-07-2010

Are you sure that your server has mod_rewrite enabled?

If you don't know how to find out, the easiest way is to look at your server's phpinfo() (see http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#9).




zpGalleriffic mod_rewrite not appending files - snarko - 05-07-2010

Well that's a neat trick I didn't know!

Looks like nada? http://snarko.com/phpinfo.php I find no mention of it.




zpGalleriffic mod_rewrite not appending files - snarko - 05-07-2010

Aha! I found a way in the control panels to install it. Now it's KINDA working...

It works on new pages, but not existing ones, even after "purge HTML cache". It's also doing .jpg.html, an improvement over no file type, but weird?




zpGalleriffic mod_rewrite not appending files - snarko - 05-07-2010

Scratch the .jpg.html part; my fault. I didn't title it, so it's pulling the filename.




zpGalleriffic mod_rewrite not appending files - acrylian - 05-07-2010

It is always the filename that is used in the url actually




zpGalleriffic mod_rewrite not appending files - snarko - 24-07-2010

I see your .jpg.html point, but in this case, it was my fault. BTW: is that search engine friendly, or not? I actually don't know if I care two appends.

It's actually STILL not working. I can't use your Google sitemap plugin, which was goal.

I'm physically changing "permalinks" to have .html as I write them. It almost seems to be randomly appending, but for sure, "pages" are not. A manual append is making an RSS version of sitemap PARTLY work.

Like I said, not an engineer. But I DO GET PROGRAMMING LOGIC (I'm the art director you don't hate, and feeling is reciprical): it's starting to fail logic.

Please see updated http://snarko.com/phpinfo.php and cancel it's mod_rewrite?

You're probably right IT'S THE SERVER somehow; I'm not sure.




zpGalleriffic mod_rewrite not appending files - acrylian - 24-07-2010

The default .php (or whatever you choose) appending is said to be SEO friendly but is not really necessary at all to append a html to Zenpage pages.

I also do not really understand. What is not working on your site exactly?




zpGalleriffic mod_rewrite not appending files - snarko - 24-07-2010

Oh, I should mention whether or not I think sitemap is working is based on going to Google Webmaster Tools, and seeing what pages got into sitemap.

XML fails completely; RSS working with pages I physically changed; actually, straight-up .txt failing, and I use the Google Tools on twelve websites. But none running Zenphoto with Zenpage but this one (two running Zenphoto alone, and fine).

All are with THE SAME PROVIDER.




zpGalleriffic mod_rewrite not appending files - snarko - 24-07-2010

Website LOOKS FINE; I'm trying to get an acceptable sitemap from it, though. We crossed posts.

I can tell Google is NOT finding the pages. It goes to crawl error, and I jumped their other hoops already.




zpGalleriffic mod_rewrite not appending files - acrylian - 24-07-2010

Did you provide the sitemap url to Google or do you put it into your robots.txt file? I have actually just extended the sitemap work of two users. I would suggest to remove the .html from Zenpage pages as they are not meant to have a suffix (Wordpress pages don't also) in opposite to the image links.




zpGalleriffic mod_rewrite not appending files - acrylian - 24-07-2010

If I perform a Google search for "sitenarko.com" I get a lot of matches from iamges, albums, news and even pages, including the resume page. If Google does not catalog something that might have other reasons as well.




zpGalleriffic mod_rewrite not appending files - snarko - 24-07-2010

That was an insane something not considered. Bless you.

I provided sitemap urls to Google (three, actually: xml, rss, txt); last error, they suggested I DELETE robots.txt, and did.

Got it to partly working RSS that way, if that's a clue. Other two still fail, completely.

But if that ain't: I see my new options now around the roadblock. Bless you.




zpGalleriffic mod_rewrite not appending files - acrylian - 24-07-2010

With Zenphoto 1.3 the sitemap url would be http://snarko.com/sitemap.php (as noted on the plugin documentation). That is the one you should submit. There is no xml, rss or txt url for a sitemap with Zenphoto, unless you make your own static one. OF course you should make sure that the robots.txt file is not blocking something.

Sadly SEO and Google is a kind of science (or should I say mystery..;-)) by itself sadly. In the end it comes all down to the content.

Anyway, you should really update as even the RSS feeds have been improved.