This bug was reported in a comment to another post so I don't know if anyone is paying attention to the problem. When I enable cruft-free url's despite so-called embedding (even though I'm not really embedding Plogger, I just have it in a sub-directory), I get the following endless recursion in the URL. For example, in the Sitka album under the Alaska collection, I might get something like this: http://www.mysite.com/photos/alaska/glacierbayalaskaalaska/glacierbayalaska/miscellaneousalaska/sitka
I'm not using WordPress. Is there a simple hack to either the htaccess file or the plog-load_config.php file to fix this - I want to transfer all my albums to Plogger but I don't want to lose my Google-friendly urls.
If you have Plogger operating in a sub-directory (but are not using some type of application like WordPress), simply comment out the if statement around line 36 in the plog-load_config.php file so that line 42 can operate properly: $config["baseurl"] = "http://".$_SERVER["HTTP_HOST"]. substr($_SERVER["PHP_SELF"],0,strrpos($_SERVER["PHP_SELF"],"/")) . "/";
So the whole section will now look like this: /*if (dirname(__FILE__) != dirname(realpath($_SERVER["PATH_TRANSLATED"])) && strpos($_SERVER["PATH_TRANSLATED"],"admin") === false) { $config["embedded"] = 1; // disable our own cruft-free urls, because the URL has already been processed // by WordPress $config["use_mod_rewrite"] = 1; } else {*/ $config["baseurl"] = "http://".$_SERVER["HTTP_HOST"]. substr($_SERVER["PHP_SELF"],0,strrpos($_SERVER["PHP_SELF"],"/")) . "/"; //}