|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Can CF create 'clean' URLs?
Hi all,
I may be 'barking up the wrong tree' in thinking CF can create a 'clean' URL from a dynamically created URL. ../archive/time.cfm?ID=34543r4&viewable=1 looks better as ../archive/date/time I've read articles online and for the most part, they refer to Apache and rewrite mods as the solution to this problem. Any ideas with CF in mind? Secondly, can I use CF to automatically resolve one URL to another URL? Example: www.xyzBlub.com actually maps to www.me.com Nathan |
|
#2
|
||||
|
||||
|
I would think the simpliest way of doing this would be to do a post instead of a get on the action of your form.
For your second item, you can redirect someone from www.xyzblub.com to www.me.com, but to automatically resolve would require DNS changes. to redirect just use <cflocation>. this can also be done using Javascript. |
|
#3
|
|||
|
|||
|
Thank you for your reply. It really helped.
Nathan |
|
#4
|
|||
|
|||
|
What you are asking for is the realm of the web server, not the application server. CFMX is an application server that runs alongside a web server. Rewriting URLs and mapping one domain to another are really web server issues, so you'll want to investigate Apache, IIS, or one of the other web servers.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Can CF create 'clean' URLs? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|