CakePHP url rewrite not working or css cake.generic.css not working.

If CakePHP is not finding your image and css files and you tried everything else like activating mod rewrite, .htacess, try editing app/Config/Core.php file.

Find following line and uncomment it.

Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’));

Comments

Popular posts from this blog

Fatal: LoadModule: error loading module 'mod_sql_mysql.c'

Regular Expression Route Constraints And Route Names in Laravel 5.4