Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
How do you create alias michal317 msg:3164716 9:46 am on Nov 22, 2006 (gmt 0) Hi! I have these horrible links from my CMS - index.php?something=#*$! etc. I'd like to create alias, how do you do it? in the .htaccess? thanks!
mcavic msg:3165459 8:37 pm on Nov 22, 2006 (gmt 0)
If you're running Apache, you can do this using mod_rewrite [ google.com]. I recommend doing it in the httpd.conf rather than .htaccess if possible, because I suspect the performance would be a little better. jtara msg:3165778 4:06 am on Nov 23, 2006 (gmt 0)
You will have to check the documentation for your CMS. There is no universal way to do this.
It requires TWO things:
1. mod_rewrite gets requests redirected from the "friendly names" to the actual CMS script.
2. The CMS itself has to change the way it formats internal links, so that it uses the "friendly names".
If your CMS does not support friendly names, then you cannot do this.
mcavic msg:3165836 6:35 am on Nov 23, 2006 (gmt 0)
The CMS itself has to change the way it formats internal links Actually yeah, that's true. Otherwise the friendly names won't really get used. IMO, all CMS's should use friendly names, but I'm sure many don't have the option.