Also I edited .htaccess file to redirect user to domain without www
url, if a user access the site with www.mydomain, user is redirected
to
mydomain.com.
Not sure which .htaccess file I edited but before I set webroot to app/
webroot, redirecting www.mydomain to mydomain
was working fine but after I set webroot to app/webroot. It seems
like, .htaccess is not working properly anymore.
I realized that there are couple of .htaccess in cakephp dir.
- cake dir/.htaccess
- webroot/.htaccess
- cake dir/app/.htaccess
Which file I need to edit to set redirect? I edit all of three above
files but none of it working.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
No comments:
Post a Comment