Welcome Guest, Not a member yet? Register   Sign In
html linking not working
#4

(07-10-2018, 11:24 PM)kvanaraj Wrote:
(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.
Reply


Messages In This Thread
html linking not working - by kvanaraj - 07-10-2018, 10:24 PM
RE: html linking not working - by Pertti - 07-10-2018, 11:13 PM
RE: html linking not working - by kvanaraj - 07-10-2018, 11:24 PM
RE: html linking not working - by kaitenz - 07-11-2018, 05:39 AM
RE: html linking not working - by kvanaraj - 07-11-2018, 06:02 AM
RE: html linking not working - by InsiteFX - 07-11-2018, 07:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB