Welcome Guest, Not a member yet? Register   Sign In
Hyphenated names
#1

[eluser]sehummel[/eluser]
Can CodeIgniter use hyphenated names for controllers and methods? CI seems to not be letting me do this. I want hyphenated names for SEO purposes. Is there a way I can have hyphenated names?
#2

[eluser]Bart v B[/eluser]
play with youre routes Wink

You want something like this?
http://domain.tld/blog-hello-world/

Then it should be in your routes something like this:
$route['blog-hello-world'] = "blog/hello_world";

Take a look inn the manual..
http://ellislab.com/codeigniter/user-gui...uting.html

And not to forget url_title().
http://ellislab.com/codeigniter/user-gui...elper.html




Theme © iAndrew 2016 - Forum software by © MyBB