<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Make WordPress static</title>
	<atom:link href="http://mossiso.com/code/make-wordpress-static/feed" rel="self" type="application/rss+xml" />
	<link>http://mossiso.com</link>
	<description>History, it happens every yesterday</description>
	<lastBuildDate>Thu, 19 Jan 2012 18:07:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ammon</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-5023</link>
		<dc:creator>ammon</dc:creator>
		<pubDate>Wed, 04 Jan 2012 15:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-5023</guid>
		<description>Michael,

You have to make sure you are in the same directory where the wpstatic file was uploaded. If you type in &quot;&lt;code&gt;ls -lh&lt;/code&gt;&quot; and hit enter, and that will show you what files are in the directory. Type &quot;&lt;code&gt;pwd&lt;/code&gt;&quot; and then enter to &#039;print working directory&#039;, that is, the directory path where you are at. You also have to make sure that the wpstatic file is executable by your user. Once you are in the same directory as the file, you can type &quot;&lt;code&gt;chmod u+x wpstatic&lt;/code&gt;&quot; to allow your user to execute the file as a bash script. Hope that helps!</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>You have to make sure you are in the same directory where the wpstatic file was uploaded. If you type in &#8220;<code>ls -lh</code>&#8221; and hit enter, and that will show you what files are in the directory. Type &#8220;<code>pwd</code>&#8221; and then enter to &#8216;print working directory&#8217;, that is, the directory path where you are at. You also have to make sure that the wpstatic file is executable by your user. Once you are in the same directory as the file, you can type &#8220;<code>chmod u+x wpstatic</code>&#8221; to allow your user to execute the file as a bash script. Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-5016</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Tue, 03 Jan 2012 10:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-5016</guid>
		<description>I logged into PuTTY and typed in ./wpstatic it says no such file or directory. Do you have any idea why, or am i missing something. 

Thanks Mike the &lt;a href=&quot;http://www.VisumDesignz.com&quot; rel=&quot;nofollow&quot;&gt;Web Designer&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I logged into PuTTY and typed in ./wpstatic it says no such file or directory. Do you have any idea why, or am i missing something. </p>
<p>Thanks Mike the <a href="http://www.VisumDesignz.com" rel="nofollow">Web Designer</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ammon</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-4787</link>
		<dc:creator>ammon</dc:creator>
		<pubDate>Wed, 07 Dec 2011 15:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-4787</guid>
		<description>Do you have the site behind htaccess password protection? If so, the easiest thing to do is disable that while you make a static copy. 

Otherwise wget can take the user/pass info. When the wpstatic script prompts to run wget, say no (or n, or whatever). Then copy that command it says to run, but add in these two flags: 

--user=USERNAME --password=PASSWORD

You&#039;ll change USERNAME and PASSWORD to what they need to be, of course. So it would look something like this:

wget --user=USERNAME --password=PASSWORD --mirror --cut-dirs=2 -P wp-static -nH -np -p -k -E http://example.com

You would run that command directly on the command line, instead of with the wpstatic script.

Hope that helps!</description>
		<content:encoded><![CDATA[<p>Do you have the site behind htaccess password protection? If so, the easiest thing to do is disable that while you make a static copy. </p>
<p>Otherwise wget can take the user/pass info. When the wpstatic script prompts to run wget, say no (or n, or whatever). Then copy that command it says to run, but add in these two flags: </p>
<p>&#8211;user=USERNAME &#8211;password=PASSWORD</p>
<p>You&#8217;ll change USERNAME and PASSWORD to what they need to be, of course. So it would look something like this:</p>
<p>wget &#8211;user=USERNAME &#8211;password=PASSWORD &#8211;mirror &#8211;cut-dirs=2 -P wp-static -nH -np -p -k -E <a href="http://example.com" rel="nofollow">http://example.com</a></p>
<p>You would run that command directly on the command line, instead of with the wpstatic script.</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ammon</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-4786</link>
		<dc:creator>ammon</dc:creator>
		<pubDate>Wed, 07 Dec 2011 14:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-4786</guid>
		<description>It should be creating a folder with all of the content within. It is not archived (zipped). If I remember right, it needs to go in the folder where the wp-config.php file is, so that the paths to gather information are correct.</description>
		<content:encoded><![CDATA[<p>It should be creating a folder with all of the content within. It is not archived (zipped). If I remember right, it needs to go in the folder where the wp-config.php file is, so that the paths to gather information are correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xdreamwalker</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-4782</link>
		<dc:creator>xdreamwalker</dc:creator>
		<pubDate>Tue, 06 Dec 2011 21:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-4782</guid>
		<description>Another thing that might be getting in the way of me getting this done is that after I hit y when it asks: Run wget now? I get a 403: forbidden error.</description>
		<content:encoded><![CDATA[<p>Another thing that might be getting in the way of me getting this done is that after I hit y when it asks: Run wget now? I get a 403: forbidden error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xdreamwalker</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-4721</link>
		<dc:creator>xdreamwalker</dc:creator>
		<pubDate>Sun, 04 Dec 2011 12:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-4721</guid>
		<description>Okay, so I changed my Wordpress install to the root directory, then I ran ./wpstatic again and it created a wp-static file that seems to be the size of all of my content.

The question now is what do I do with this large file? Is it an archive? Is is supposed to be a directory?

I downloaded it and added a .zip to it thinking it might be archive, but it wouldn&#039;t open.</description>
		<content:encoded><![CDATA[<p>Okay, so I changed my WordPress install to the root directory, then I ran ./wpstatic again and it created a wp-static file that seems to be the size of all of my content.</p>
<p>The question now is what do I do with this large file? Is it an archive? Is is supposed to be a directory?</p>
<p>I downloaded it and added a .zip to it thinking it might be archive, but it wouldn&#8217;t open.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xdreamwalker</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-4709</link>
		<dc:creator>xdreamwalker</dc:creator>
		<pubDate>Sat, 03 Dec 2011 22:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-4709</guid>
		<description>I am not seeing the script create anything other then the database backups. Could this be because I have Wordpress in a different folder then the site root?

Wordpress Address: www.example.com/wp
Site Address: www.example.com

I am putting wpstatic in the wp folder with wp-config.php</description>
		<content:encoded><![CDATA[<p>I am not seeing the script create anything other then the database backups. Could this be because I have WordPress in a different folder then the site root?</p>
<p>WordPress Address: <a href="http://www.example.com/wp" rel="nofollow">http://www.example.com/wp</a><br />
Site Address: <a href="http://www.example.com" rel="nofollow">http://www.example.com</a></p>
<p>I am putting wpstatic in the wp folder with wp-config.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ammon</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-3551</link>
		<dc:creator>ammon</dc:creator>
		<pubDate>Wed, 02 Nov 2011 16:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-3551</guid>
		<description>@Michael, Editing the theme just takes care of the login links, rss links, and stuff like that. You just need to take out the links or parts of the website that you don&#039;t to have on the static version.</description>
		<content:encoded><![CDATA[<p>@Michael, Editing the theme just takes care of the login links, rss links, and stuff like that. You just need to take out the links or parts of the website that you don&#8217;t to have on the static version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-3548</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 02 Nov 2011 16:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-3548</guid>
		<description>What will happen if you do not edit the theme? Broken links?</description>
		<content:encoded><![CDATA[<p>What will happen if you do not edit the theme? Broken links?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ammon</title>
		<link>http://mossiso.com/code/make-wordpress-static#comment-3001</link>
		<dc:creator>ammon</dc:creator>
		<pubDate>Mon, 17 Oct 2011 18:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://historicalwebber.mossiso.com/?page_id=300#comment-3001</guid>
		<description>Unfortunately, this script will only work on a *nix system because it uses programs found there. The script would have to be rewritten for Windows.</description>
		<content:encoded><![CDATA[<p>Unfortunately, this script will only work on a *nix system because it uses programs found there. The script would have to be rewritten for Windows.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

