• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'anchor' works only with index.php included in url?

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 ' ' ?

In the above code, note that there is a percentage and a '20' between the two brackets

[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.

You're dead right, AS, there was that awful space in my config file.

Thanks a million

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.