Welcome Guest, Not a member yet? Register   Sign In
'anchor' works only with index.php included in url?
#1

[eluser]jude[/eluser]
I have suppressed the 'index.php' file in my application. The url helper 'anchor' does not seem to work with this configuration. I get a url like this

(base url)/ /(segments)

Is there a way to remove the ' ' ?
#2

[eluser]jude[/eluser]
In the above code, note that there is a percentage and a '20' between the two brackets
#3

[eluser]Armchair Samurai[/eluser]
In config.php, make sure that you haven't accidentally put a space when setting $config['index_page'] - that sounds like the most likely culprit. If you find that there is still a problem, there's probably an issue with your .htaccess file.
#4

[eluser]jude[/eluser]
You're dead right, AS, there was that awful space in my config file.

Thanks a million




Theme © iAndrew 2016 - Forum software by © MyBB