<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>almondlab. &#187; Frog CMS</title>
	<atom:link href="http://www.almondlab.jp/tag/frog-cms/feed" rel="self" type="application/rss+xml" />
	<link>http://www.almondlab.jp</link>
	<description>Web Design, Graphic Design, FLASH, CMS</description>
	<lastBuildDate>Sat, 28 Jan 2012 15:25:03 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Frog CMSでクリーンURLの設定。</title>
		<link>http://www.almondlab.jp/notes/329</link>
		<comments>http://www.almondlab.jp/notes/329#comments</comments>
		<pubDate>Tue, 19 Jan 2010 14:39:23 +0000</pubDate>
		<dc:creator>almondlab.</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Frog CMS]]></category>

		<guid isPermaLink="false">http://www.almondlab.jp/?p=329</guid>
		<description><![CDATA[Frog CMSでURLから「?」を取り除いた、クリーンURLに変更する方法です。]]></description>
			<content:encoded><![CDATA[<p>Frog CMSのデフォルトの状態ではアクセスするURLに「?」を含み、</p>
<p>http://www.sample.com/?about.html</p>
<p>のような形式になります。<br />
<br />
この「?」を取り除いたクリーンなURLに変更するには、次の手順で行えます。<br />
Frog CMSディレクトリ内の「_.htaccess」をテキストエディタで開き、16行目あたりの「RewriteBase」のパスを、サイトのアドレスに合わせて書き換えます。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>15
16
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">  # Set next line to your Frog root - if not in subdir, then just / 
  RewriteBase /frog/</pre></td></tr></table></div>

<p>サイトのアドレスが</p>
<p>http://www.sample.com/cms/frog/</p>
<p>としている場合には、次のように書き換えます。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>16
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">  RewriteBase /cms/frog/</pre></td></tr></table></div>

<p>修正後ファイルを保存して、ファイル名「_.htaccess」から先頭のアンダースコア（_）を取り除いて.htaccessを有効にします。<br />
<br />
次にFrog CMSディレクトリ内の設定ファイル「config.php」を、テキストエディタで開きます。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>29
30
31
32
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Change this setting to enable mod_rewrite. Set to &quot;true&quot; to remove the &quot;?&quot; in the URL.</span>
<span style="color: #666666; font-style: italic;">// To enable mod_rewrite, you must also change the name of &quot;_.htaccess&quot; in your</span>
<span style="color: #666666; font-style: italic;">// Frog CMS root directory to &quot;.htaccess&quot;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'USE_MOD_REWRITE'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>32行目あたりの「USE_MOD_REWRITE」を有効にするため、値を「true」に変更します。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>32
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'USE_MOD_REWRITE'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>上記の手順でURLに「?」を含まないアドレスで、アクセスできるようになります。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.almondlab.jp/notes/329/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

