slash in 'anchor' |
[eluser]johnmiller[/eluser]
Hi all... I have a doubt in putting slashes in 'anchor' suppose below given is my code Code: anchor ('example.com/class/function/ID/', click me); but when i view this in address bar, i won't get slash at the end (means, after ID) in the address bar, i want it like http://example.com/class/function/ID/ but i get http://example.com/class/function/ID (without slash in the end) how to add slash at the end???
[eluser]codex[/eluser]
It's true, the slash will not be appended to the link. Instead what you can do is open up config.php, go to Code: $config['url_suffix'] = ""; and add the slash as suffix. Slashes will now automatically be appended to every url.
|
Welcome Guest, Not a member yet? Register Sign In |