Monday, July 13, 2015

Re: Hide folder in url

Online users don't like accessing websites that has hidden links on them, you want to users to access them, why hide links if it's safe and secure 

On Friday, 10 July 2015, michel martins <michelmfreitas@gmail.com> wrote:
Hi people,

I use cakephp and I have a domain www.site.com.br/new and i will like the user see www.site.com.br .

I made in .htaccess, but don't is working. Can anybody help me, please?


my .htaccess code in /public_html/new/frontend/ where "frontend" is a cakephp folder in directory "new".


<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]


    #RewriteRule ^new/*? $2 [NC,L]
 RewriteRule    ^new/([A-Za-z0-9-]+)?$ $1 [NC,L]


</IfModule>  

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


--
Sent from Gmail Mobile

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: