Welcome Guest, Not a member yet? Register   Sign In
Change in URL? remove index?
#1

[eluser]Hamed[/eluser]
Hello,
I want to remove index in URL for example:
http://127.0.0.1/content/index/decency/
Change to
http://127.0.0.1/content/decency

While "decency" is parameter and change in program.(There is no function for decency)

How can I do it?
#2

[eluser]TheFuzzy0ne[/eluser]
http://www.danielwmoore.com/extras/index...pic=7691.0
#3

[eluser]Hamed[/eluser]
Hello
This remove index.php not index in controller.
#4

[eluser]TheFuzzy0ne[/eluser]
My apologies. You can use [url="http://ellislab.com/codeigniter/user-guide/general/controllers.html#remapping"]_remap()[/url] or define a [url="http://ellislab.com/codeigniter/user-guide/general/routing.html"]route[/url].
#5

[eluser]Hamed[/eluser]
Can you show me how to do it?
#6

[eluser]TheFuzzy0ne[/eluser]
If I did that, then how would you learn? Smile

Everything you need should be in the user guide. If it's not, or you have a more specific question, feel free to post back.
#7

[eluser]Hamed[/eluser]
I learn with example.




Theme © iAndrew 2016 - Forum software by © MyBB