.htaccess file this code use in wordpress website <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> On Tue, Jun 21, 2011 at 11:59 AM, Jeremy Burns | Class Outfit < jeremybu...@classoutfit.com> wrote: > www.mysite.com/blog is better for SEO purposes. > > On 21 Jun 2011, at 07:12, Zaky Katalan-Ezra wrote: > > Editing the .htaccess is a good method if the files you want to directly > access is some how part of your cake solution. > A calculator you downloaded from somewhere and you want to add to your app > without the need to integrate it to you cake code, for example. > > But the problem here have no connection to cake. > Its an apache issue. > You set the site domain and you want to allow mod rewrite on the apache > root folder and exclude it from one of the directories under the apache > root. > > Why make it a cake issue if its not? > > You can also use blog.mysite.com which is more elegant I think. > See http://httpd.apache.org/docs/2.2/vhosts/examples.html > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- *Thanks & Regard * Gyanendra.K.Singh +91 9958470442 <http://www.gyanendra-singh.com> PHP Developer mail id: gyanendrasingh...@gmail.com <braj...@unyscape.com> website: www.gyanendra-singh.com <http://www.unyscape.com/> -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php