<rss version="2.0">
		<channel>
			<title>Plogger Support Forum - Generate Cruft-Free URLs 404 error</title>
			<lastBuildDate>Wed, 09 Sep 2026 21:39:50 +0000</lastBuildDate>
			<link>http://www.plogger.org/forum/</link>
			<description></description>
			<generator>Lussumo Vanilla 1.1.10</generator>
			<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11833#Comment_11833</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11833#Comment_11833</guid>
		<pubDate>Fri, 27 Nov 2009 16:14:18 +0000</pubDate>
		<author>solesurvivor</author>
		<description>
			<![CDATA[great script just ran into a little bump when setting it up.<br /><br />when i turn on the cruft-free urls the links generate 404 errors<br /><br />the link generated before turing on the cruft-free urls would look like this:<br />http://domain.com/index.php?level=picture&amp;id=2<br /><br />when i turn it on it look like this:<br />http://domain.com//just-moobell/fall-2009/mo/<br /><br />notice it has two slashes aftr the domain name. anyone know how i can fix this as this is the problem thats making 404 errors?]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11851#Comment_11851</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11851#Comment_11851</guid>
		<pubDate>Tue, 01 Dec 2009 16:33:52 +0000</pubDate>
		<author>samir</author>
		<description>
			<![CDATA[Hi,<br /><br />In the file plog-functions look for the line around line 1426:<br />relace the line below by removing the slash at the end:<br />$rv = $config['baseurl'].rawurlencode(SmartStripSlashes($row['collection_path'])).'/'.rawurlencode(SmartStripSlashes($row['album_path'])).'/'.$args;<br /><br />to <br />$rv = $config['baseurl'].rawurlencode(SmartStripSlashes($row['collection_path'])).'/'.rawurlencode(SmartStripSlashes($row['album_path'])).$args;<br /><br />See if it works.<br /><br />thanks]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11852#Comment_11852</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11852#Comment_11852</guid>
		<pubDate>Tue, 01 Dec 2009 16:35:10 +0000</pubDate>
		<author>samir</author>
		<description>
			<![CDATA[Hi,<br /><br />May be try replacing the line 1415 <br /><br />from $rv = $config['baseurl'].rawurlencode(SmartStripSlashes($row['path'])).'/'.$args; to<br /><br />$rv = $config['baseurl'].rawurlencode(SmartStripSlashes($row['path'])).$args;<br /><br />Thanks]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11853#Comment_11853</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11853#Comment_11853</guid>
		<pubDate>Tue, 01 Dec 2009 17:31:00 +0000</pubDate>
		<author>phpnovice</author>
		<description>
			<![CDATA[I just upgraded to version 1.0 RC1 and my gallery now has this issue as well.<br /><br />Neither of the above solutions was successful at removing the extra slash.]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11854#Comment_11854</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11854#Comment_11854</guid>
		<pubDate>Tue, 01 Dec 2009 17:58:24 +0000</pubDate>
		<author>sidtheduck</author>
		<description>
			<![CDATA[This should be fixed now in the current SVN code.  You can <a href="http://dev.plogger.org/changeset/607/trunk?old_path=%2F&format=zip" >download it here</a> or you can change the plog-load-config.php file as shown here -> <a href="http://dev.plogger.org/changeset/607/trunk/plog-load-config.php" >http://dev.plogger.org/changeset/607/trunk/plog-load-config.php</a>]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11857#Comment_11857</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=11857#Comment_11857</guid>
		<pubDate>Tue, 01 Dec 2009 18:09:21 +0000</pubDate>
		<author>phpnovice</author>
		<description>
			<![CDATA[Thank you! I had to toggle off and on the Cruft-Free URL option to fix the 404 error after uploading trunk r607, but it works now.]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12040#Comment_12040</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12040#Comment_12040</guid>
		<pubDate>Sun, 17 Jan 2010 06:35:24 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[I have the same problem too, using this version: VERSION: 1.0-RC1-RevLastChangedRevision <br /><br />what would be my best solution?]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12047#Comment_12047</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12047#Comment_12047</guid>
		<pubDate>Thu, 21 Jan 2010 05:07:42 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[anyone?]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12064#Comment_12064</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12064#Comment_12064</guid>
		<pubDate>Wed, 27 Jan 2010 08:59:38 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[please help]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12066#Comment_12066</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12066#Comment_12066</guid>
		<pubDate>Wed, 27 Jan 2010 12:54:33 +0000</pubDate>
		<author>sidtheduck</author>
		<description>
			<![CDATA[elias75,<br /><br />Did you follow the changes from the link above? (<a href="http://dev.plogger.org/changeset/607/trunk/plog-load-config.php" >http://dev.plogger.org/changeset/607/trunk/plog-load-config.php</a>)]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12070#Comment_12070</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12070#Comment_12070</guid>
		<pubDate>Wed, 27 Jan 2010 15:05:11 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[yes I have uploaded the updated plog-load-config.php file and toggle on the Cruft-Free URL option but I still get 404 error pages<br /><br />I am using the plogger-SVN-with custom titles version so there might be an issue with this version.... <br />Also I suspect that I might be having something wrong in the path to the gallery, if you want to have a look : www.FreeFilmPosters.com]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12098#Comment_12098</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12098#Comment_12098</guid>
		<pubDate>Thu, 04 Feb 2010 17:29:10 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[so is there a fix in my issue? :)]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12101#Comment_12101</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12101#Comment_12101</guid>
		<pubDate>Fri, 05 Feb 2010 14:05:22 +0000</pubDate>
		<author>sidtheduck</author>
		<description>
			<![CDATA[elias75,<br /><br />It's probably not a path error, but the fact that you are using Plogger as an embedded script in a separate file (gallery.php).  If you enable the Cruft Free URLs, it should work on your site using the path "http://www.freefilmposters.com/ploggerb3/" (but not if you use "http://www.freefilmposters.com/gallery.php").  However, this will not look the same as the rest of your site as you are embedding Plogger into a site template instead of editing the theme or Plogger index to incorporate the rest of your site design.<br /><br />There is a way to get it to work on your system WITH the 'gallery.php" ending, but you will have to manually edit an .htaccess file on your server's root folder.  If you are interested in this route, let me know and I can try to step you through the process.]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12118#Comment_12118</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12118#Comment_12118</guid>
		<pubDate>Mon, 08 Feb 2010 16:32:02 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[sidtheduck,<br /><br />yes please lets try editing the .htaccess file..... please also note that I haven't done this before and I know nothing about editing .htaccess files <br /><br />thanx in advance]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12119#Comment_12119</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12119#Comment_12119</guid>
		<pubDate>Mon, 08 Feb 2010 16:35:18 +0000</pubDate>
		<author>sidtheduck</author>
		<description>
			<![CDATA[elias75,<br /><br />Log in to your admin panel and turn on the Cruft-Free URLs.  After you have done that, please open up the .htaccess file within the Plogger folder and post the code from that file to the board here.  Also, if you have an existing .htaccess file within your root directoy, please post the code from that file to the board as well (if not, don't worry about it).  I can then help you to manually generate the code for the .htaccess file in the parent directory of Plogger (the root directory of your website).<br /><br />Thanks.]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12121#Comment_12121</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12121#Comment_12121</guid>
		<pubDate>Mon, 08 Feb 2010 17:45:31 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[here is the code from Plogger<br /><code ># BEGIN Plogger<br />&lt;IfModule mod_rewrite.c&gt;<br />RewriteEngine on<br />RewriteBase /ploggerb3<br />RewriteCond %{REQUEST_URI} !(\.|/$)<br />RewriteRule ^.*$ http://www.freefilmposters.com%{REQUEST_URI}/ [R=301,L]<br />RewriteCond %{HTTP_HOST} !^www [NC]<br />RewriteRule ^(.*)$ http://www.freefilmposters.com/ploggerb3/$1 [R=301,L]<br />RewriteCond %{REQUEST_FILENAME} -d [OR]<br />RewriteCond %{REQUEST_FILENAME} -f<br />RewriteRule ^.*$ - [S=2]<br />RewriteRule feed/$ plog-rss.php?path=%{REQUEST_URI} [L]<br />RewriteRule ^.*$ index.php?path=%{REQUEST_URI} [L]<br />&lt;/IfModule&gt;<br /># END Plogger</code><br /><br />there is also a .htaccess in the root directory of the site (which is not created by me... maybe some default file from the host?) which appears to be blank cause I can't view or edit it from cPanel....]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12146#Comment_12146</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12146#Comment_12146</guid>
		<pubDate>Thu, 11 Feb 2010 07:39:16 +0000</pubDate>
		<author>mrzippy</author>
		<description>
			<![CDATA[These changes worked for me.<br /><br />http://dev.plogger.org/changeset/607/trunk/plog-load-config.php]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12154#Comment_12154</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12154#Comment_12154</guid>
		<pubDate>Fri, 12 Feb 2010 11:14:24 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[I have tried those changes but it didn't work]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12186#Comment_12186</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12186#Comment_12186</guid>
		<pubDate>Thu, 18 Feb 2010 11:43:53 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[bump :)]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12189#Comment_12189</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12189#Comment_12189</guid>
		<pubDate>Thu, 18 Feb 2010 14:01:09 +0000</pubDate>
		<author>sidtheduck</author>
		<description>
			<![CDATA[I forgot that this was a bit more in-depth than I remembered.  I'll have to take some time to test some things out so you are not significantly hacking the core code to get this to work.]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12279#Comment_12279</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12279#Comment_12279</guid>
		<pubDate>Tue, 02 Mar 2010 18:20:29 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[any updates on this one? :)]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12377#Comment_12377</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12377#Comment_12377</guid>
		<pubDate>Fri, 12 Mar 2010 16:50:04 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[friendly bump :)]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12449#Comment_12449</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12449#Comment_12449</guid>
		<pubDate>Tue, 16 Mar 2010 12:02:52 +0000</pubDate>
		<author>sidtheduck</author>
		<description>
			<![CDATA[elias75,<br /><br />Sorry for that.  I looked back at the way I did this with another user, and it was working with the beta 3 version (although it took quite a bit of hacking the code).  I guess I am going to change my suggestion to what I suggested to Mark P in <a href="http://www.plogger.org/forum/discussion/3121/embed-and-cruft-free/#Item_2" >this thread</a>.  Basically, you would take the code from your gallery.php file and use it for the plogger/index.php file (with any relative paths changed).  This would allow the Cruft-Free URLs to work, but would not require you to edit the theme files to match your site (you would just wrap the Plogger theme in your site layout like your currently embedded installation at gallery.php).<br /><br />Hope that helps.]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12468#Comment_12468</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12468#Comment_12468</guid>
		<pubDate>Thu, 18 Mar 2010 15:58:31 +0000</pubDate>
		<author>elias75</author>
		<description>
			<![CDATA[sidtheduck,<br />ok I am gonna try this but I just need to be sure about a couple of things...<br /><br />I am using the <strong >plogger-SVN-with custom titles</strong> version so is it ok to proceed? Any issues with this particular version?<br /><br />So basically I take this code from gallery.php<br /><code >&lt;?php<br />/* This is a backwords compatible file to make old installations work correctly */<br /><br />include_once(dirname(__FILE__).'/plogger.php');<br /><br />function the_gallery_head() {<br />	return the_plogger_head();<br />}<br /><br />function the_gallery() {<br />	return the_plogger_gallery();<br />}<br /><br />?&gt;<br /></code><br /><br />and paste it to the plogger/index.php file deleting the code below:<br /><br /><code >&lt;?php<br />/*<br /> * Plogger - A web based photo gallery<br /> * Copyright (C) 2005-2009 Mike Johnson<br /> *<br /> <br /> */<br />?&gt;<br />&lt;?php require('plogger.php'); ?&gt;<br />&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;<br />	&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;<br />&lt;html xml:lang=&quot;&lt;?php echo $language; ?&gt;&quot; lang=&quot;&lt;?php echo $language; ?&gt;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />&lt;head&gt;<br />&lt;?php the_plogger_head(); ?&gt;<br />&lt;/head&gt;<br /><br />&lt;body&gt;<br /><br />&lt;?php the_plogger_gallery(); ?&gt;<br /><br />&lt;/body&gt;<br />&lt;/html&gt;</code><br /><br />should I delete the gallery.php after this? and which are the paths to be changed....<br /><br />please excuse my newbiness with this :) I am just checking to see if I understood right so that I will not get paranoid if I mess things up....<br /><br />cheers]]>
		</description>
	</item>
	<item>
		<title>Generate Cruft-Free URLs 404 error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12469#Comment_12469</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2963&amp;Focus=12469#Comment_12469</guid>
		<pubDate>Thu, 18 Mar 2010 17:11:18 +0000</pubDate>
		<author>sidtheduck</author>
		<description>
			<![CDATA[no problem with the confirmation, elias75.<br /><br />Sorry about that.  It should be from gallery1.php (the current page that you have the gallery shown at) from your root directory (not the gallery.php from the Plogger folder).<br /><br />Once you have updated the plogger/index.php, you will need to change your header links for the gallery from "gallery1.php" to "ploggerb3/" (or whatever you want to name your folder if renaming the directory from ploggerb3.  You could name the directory and links "gallery/" and change the Gallery URL in Admin -> Options to "http://www.freefilmposters.com/gallery/" to make it look nicer).<br /><br />And yes, it should work just the same with the custom titles.]]>
		</description>
	</item>
	
		</channel>
	</rss>