all container are single file. I want it to be separate.
like this
******
<li><a href="#work">About</a></li>
<li><a href="pages/edu.html">Education</a></li>
<li><a href="pages/exp.html">Experience</a></li>
<li><a href="pages/res.html">Research</a></li>
<li><a href="pages/awa.html">Award</a></li>
<li><a href="pages/tes.html">Testimonial</a></li>
<li><a href="pages/por.html">Portfolio</a></li>
<li><a href="pages/con.html">Contact Us</a></li>
when i call index file this URL not working.
this is the html page ,based on this i will call my php projects.
If i am view in the source code , link is working.
what mistake i have done.
From first guess, pages/por.html won't work in CodeIgniter because of the .html in the end, but if you have Controller Pages.php with method por, then site_url('pages/por') should give you correct working link.
(07-10-2018, 11:13 PM)Pertti Wrote: Are you using CodeIgniter?
From first guess, pages/por.html won't work in CodeIgniter because of the .html in the end, but if you have Controller Pages.php with method por, then site_url('pages/por') should give you correct working link.
it's a HTML Page . Main page of the my project. thats why
(07-10-2018, 11:13 PM)Pertti Wrote: Are you using CodeIgniter?
From first guess, pages/por.html won't work in CodeIgniter because of the .html in the end, but if you have Controller Pages.php with method por, then site_url('pages/por') should give you correct working link.
it's a HTML Page . Main page of the my project. thats why
Why HTML? Use PHP. site_url() won't work on HTML files. And why you're using HTML files? Save all your view files inside './application/views/'.
(07-10-2018, 11:13 PM)Pertti Wrote: Are you using CodeIgniter?
From first guess, pages/por.html won't work in CodeIgniter because of the .html in the end, but if you have Controller Pages.php with method por, then site_url('pages/por') should give you correct working link.
it's a HTML Page . Main page of the my project. thats why
Why HTML? Use PHP. site_url() won't work on HTML files. And why you're using HTML files? Save all your view files inside './application/views/'.
If I get your point.
No. Kaitanz . i know in php codeigniter. But it's a html page .it's a main page of my project