E.g.
<IfModule mod_rewrite.c>
RewriteCond %{http_HOST} ^www\.wiltonsoftware\.com$ [NC]
RewriteRule ^(.*)$ http://wiltonsoftware.com/$1 [R=301,L]
…
Brett
----
On 4/10/2011, at 8:17 AM, creat1v1ty wrote:
> Hey everyone,
>
> I am using Cake 1.3 and would like to set up my site so that the "www"
> is stripped, and so that all non-file URLs have a trailing slash.
>
> Ex: http://www.domain.com/contact-us --> http://domain.com/contact-us/
>
> Can anyone lend a hand?
>
> Many thanks.
>
> --
> 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
<IfModule mod_rewrite.c>
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment