I was just wondering, If you want to rewrite the urls on your CMS would you use PHP URL Routing or simply use the .htaccess file?
Which one is better?More Information:
- I don't have a full understanding of mod-rewrite and htaccess rewrite rules
- htaccess to modify urls, although I needed a a specific PHP script to rewrite the title of urls added by my CMS
- For pretty URLs you might use a rule based routing system like mod_rewrite
- It is shared hosting and obviously mod-rewrite, etc are working because clean url can be enabled and works properly if you enter to the domain
- Todays post will be focused on setting up apache mod rewrite rule to control your url structure and to allow a clean way of routing requests to your controllers


LinkBack URL
About LinkBacks



Reply With Quote






















































Bookmarks