For rewrite URL From like About_us to about-us this is like - SEO Friendly URLs
Step:1:- Go in your codeigniter project => project folder/application/config/routes.php
Step:2:- $route['translate_uri_dashes'] = False;
so write TRUE in place of False in routes.php here $route['translate_uri_dashes'] = False;
and now refresh your project:
example:- projectname/about_us into projectname/about-us
Step:1:- Go in your codeigniter project => project folder/application/config/routes.php
Step:2:- $route['translate_uri_dashes'] = False;
so write TRUE in place of False in routes.php here $route['translate_uri_dashes'] = False;
and now refresh your project:
example:- projectname/about_us into projectname/about-us
No comments:
Post a Comment