Replace underscore (_) with dashes (-) in URL |
[eluser]TheFuzzy0ne[/eluser]
I think we might be misunderstanding each-other here. Other than using a 301 header, the URL won't change. All this does, is change how the URL is perceived by CodeIgniter. For example, if you had the following controller: Code: class Foo_bar extends CI_Controller Normally, the URL to access it would be something like: http://example.com/foo_bar/bar_foo but with my modifications this should work, too: http://example.com/foo-bar/bar-foo |
Messages In This Thread |
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-30-2013, 08:26 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-30-2013, 10:26 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-30-2013, 11:54 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-30-2013, 04:41 PM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 06:04 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 06:07 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 06:17 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 06:45 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 07:31 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 08:53 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 08:56 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 10:31 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 10:36 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 10:42 AM
|