<?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>Royal Deer Design &#187; CakePHP</title>
	<atom:link href="https://www.royaldeerdesign.com/tag/cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.royaldeerdesign.com</link>
	<description>Web Design Company</description>
	<lastBuildDate>Thu, 21 Aug 2025 15:08:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>CakePHP Tip &#8211; Creating static page</title>
		<link>https://www.royaldeerdesign.com/2011/09/cakephp-tip-creating-static-page/</link>
		<comments>https://www.royaldeerdesign.com/2011/09/cakephp-tip-creating-static-page/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 06:32:21 +0000</pubDate>
		<dc:creator><![CDATA[Sheuli]]></dc:creator>
				<category><![CDATA[Internet Business Tips]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php developer]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://coot.arvixe.com/~royald/?p=2924</guid>
		<description><![CDATA[There is an easy way of creating a static page in CakePHP. This tip allows also to create non-authenticated pages among applications that needs authentication. For the purpose of this example, we will create a static page http://www.yourdomain.com/about. 1. Go to /app/config/routes.php, and add this line: Router::connect(‘/about&#8217;, array(‘controller’ => ‘pages’, ‘action’ => ‘display’, ‘about&#8217;)); 2.]]></description>
				<content:encoded><![CDATA[<p>There is an easy way of creating a static page in CakePHP. This tip allows also to create non-authenticated pages among applications that needs authentication.</p>
<p>For the purpose of this example, we will create a static page <u>http://www.yourdomain.com/about</u>.</p>
<p>1. Go to /app/config/routes.php, and add this line:</p>
<p><strong>Router::connect(‘/about&#8217;, array(‘controller’ => ‘pages’, ‘action’ => ‘display’, ‘about&#8217;));</strong></p>
<p>2.  Now, you can create an actual page with a content that you want to display on your new static &#8216;about&#8217; page. To do so, copy the file to:</p>
<p><strong>/app/views/pages/about.ctp</strong></p>
<p>Don&#8217;t forget to save this file with an extension /*.ctp.</p>
<p>3. You can now access this page at <u>http://www.yourdomain.com/about</u></p>
]]></content:encoded>
			<wfw:commentRss>https://www.royaldeerdesign.com/2011/09/cakephp-tip-creating-static-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
