I am using CakePHP 2.6.3 version and it’s developed everything correct but I am not able to catch why website loading plain design sometime only, If I refresh again then It loading correctly and looks good. Only my website Body tag loading others all things are not loading what is reason? Please help me as soon as what is setting that’s not happen issue break design.
This seems to me more like a webserver disconfiguration.
What webserver are you using?
This can help: http://book.cakephp.org/2.0/en/installation/url-rewriting.html#url-rewriting
No this is not a problem for mod rewrite URL. My issue come very rare not always I am facing. e.g It break website page and if I refresh again then seems good now. I think It should be cache or whatever something issue.
Is it possible you are returning the view without layout based on a condition, since does not return the head ?
Yes It return without head
Search your code for lines like:
$this->layout = null
$this->layout = 'ajax'
Seems to me like you disabled the layout and only return the content or you are just using an empty layout.