zenphoto forums » Zenpage

zpGalleriffic mod_rewrite not appending files

(14 posts)
  1. snarko

    Member
    Joined: Mar '10
    Posts: 13

    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?

    Posted 4 years ago #
  2. Zenphoto support team
    kagutsuchi

    Assistant developer
    Joined: Aug '09
    Posts: 518

    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).

    Posted 4 years ago #
  3. snarko

    Member
    Joined: Mar '10
    Posts: 13

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

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

    Posted 4 years ago #
  4. snarko

    Member
    Joined: Mar '10
    Posts: 13

    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?

    Posted 4 years ago #
  5. snarko

    Member
    Joined: Mar '10
    Posts: 13

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

    Posted 4 years ago #
  6. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,187

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

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #
  7. snarko

    Member
    Joined: Mar '10
    Posts: 13

    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.

    Posted 4 years ago #
  8. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,187

    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?

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #
  9. snarko

    Member
    Joined: Mar '10
    Posts: 13

    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.

    Posted 4 years ago #
  10. snarko

    Member
    Joined: Mar '10
    Posts: 13

    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.

    Posted 4 years ago #
  11. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,187

    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.

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #
  12. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,187

    If I perform a Google search for "site:snarko.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.

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #
  13. snarko

    Member
    Joined: Mar '10
    Posts: 13

    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.

    Posted 4 years ago #
  14. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,187

    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.

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.