Module url

edited June 2014 in Modules
How can I change the module url?

I want to change from /fuel/course to /fuel/courses

I already change the name of the module with 'module_name' option in the config file, but I also have to change it in the url.

I've already tried with the .htaccess with this rule but it doesn't work

RewriteRule fuel/courses fuel/course

I don't want to reintall all the module just for one letter. I don't know why the rule is not working or if I have to put the rule in somewhere else

Comments

  • edited June 2014
    Did you look at the fuel/modules/course/config/ folder? Those files should all have "course" changed to "courses" and I'd check the config, constants and routes files in particular for values to change in there.
  • edited 4:13PM
    Thank you, what I do is change the module config, I change from $config['modules']['course] to $config['modules']['courses] and I use the model_name param. Now it's working properly.
Sign In or Register to comment.