Trailing slash and links |
Or if you're just adding additional segments to the CURRENT url (using url helper):
PHP Code: <a href="<?php echo current_url(); ?>/some_link">Link</a> If you were on: http://yoursite.com/some_controller Then the anchor would link to: http://yoursite.com/some_controller/some_link If you were on: http://yoursite.com/some_controller/some...am1/param2 Then the anchor would link to: http://yoursite.com/some_controller/some.../some_link |
Messages In This Thread |
Trailing slash and links - by agriz - 04-08-2015, 12:27 AM
RE: Trailing slash and links - by davidgv88 - 04-08-2015, 01:29 AM
RE: Trailing slash and links - by CroNiX - 04-08-2015, 11:07 AM
RE: Trailing slash and links - by agriz - 04-08-2015, 11:09 AM
|