Locally, I have my site created in a subfolder on my server (ie: ‘mysite’: ‘http://localhost:8888/mysite). When I try to deploy it, I upload the contents of mysite/ to mysite.com/ (getting rid of the sub folder). When I access the site, the CSS files cannot be found (I’m using: echo $this->Html->css(array(‘style6’, ‘mainstyle’, ‘drop-menu’));). If I upload the site WITH the site folder, I have to do a .htaccess redirct, and then all of my links look like: mysite.com/mysite/about. How can I fix this?
Share
I had to change the path of the images in the CSS file each time I deploy..