What does your code for adding CSS, JS and images look like? What HTML output is being generated by that code? How do the URLs that end up in your HTML compare to what you’re expecting them to be?
hi zuluru, actually I am new to cake php this project was working good on server but when I downloded and installed on localhost, project is working properly with database but with 404 error css and js files not found and also images are not visible on website. also I don’t know on which cakephp version this project is made.
yes jawfin it was working properly on server but when I installed same project on localhost css, js, image are not loded on website, and also I am confused on which cakephp version this project was made, may be it is made inbetween 2.0 - 3.0 cakephp version.
Without knowing if there’s internal redirection I could guess that you have files in the wrong place.
Looking at your Capture3 it’s wanting the css’s in /assets/frontend/css/ & javascript in /assets/frontend/javascript/
Your Capture4 looks like the www / webroot folder, and I can see there is no assets folder. The css & js must be available to the client so their browser can load and apply them.
Hi Jawfin, my root .htaccess file is something like this on server but now my project is on xampp local host so I want to know does any change required in .htaccess file for local host.