URL Helpers in CodeIgniter — a practical guide to CodeIgniter URL helper with clear examples you can reuse in real projects.
CodeIgniter Tutorial Series (18/74). Prefer one article? Read the complete CodeIgniter tutorial.
Short description
Load the URL helper (often auto-loaded) to build portable links that respect your `baseURL`.
URL helpers
echo base_url('css/app.css');
echo site_url('posts/create');
echo current_url();
echo anchor('contact', 'Contact us');