Putting Chyrp Blog in a Subdirectory
Today I decided that I wanted my blog in a subdirectory so that I could just have a super simple (and slightly silly) home page. So I just made the index.html file for the new home page, made a subdirectory in my main website directory and then moved all the chryp files in there. Whoops I broke the blog.
This is what you do to fix your chyrp blog if you do what I did:
<
ol>
Silly easy, but the chyrp community is really small and I couldn't find any info about this little chore. But it's here now! Hooray!
Oh yeah, I am running a pretty old version of chyrp, 1.1.3.2 to be exact. The steps described may no longer be applicable to more recent versions.
9/14/08 Update: If you've moved an existing blog, then there's one step I left out if you want to preserve any existing links to your blog. You need to setup a rewrite rule in your webroot's .htaccess file to transfer any old content to the new blog location. I used the following:
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* blog%{REQUEST_URI} [R]09:37 PM | 0 Comments