Web Design and Development Forums

web addresses without the .cfm file...

This is a discussion on "web addresses without the .cfm file..." within the Java, JSP, Cold Fusion section. This forum, and the thread "web addresses without the .cfm file... are both part of the Program Your Website category.


Go Back   Webforumz.com > Program Your Website > Java, JSP, Cold Fusion

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Feb 27th, 2008, 10:59   #1 (permalink)
Junior Member
 
Join Date: Sep 2007
Location: Rosebud
Posts: 14
web addresses without the .cfm file...

just wandering...sometimes i see web pages that have the adress such as this: www.blahblah.com/?page=hello

how are they getting the /?page=hello without having a dynamic page written before it, example /index.cfm?page=hello?

i am just curious because currently my website first has a group of pages (home, links, products, contact) etc and then the argument p is the name of the CFM file that will be included on the page..
example- http://www.aforattitude.com/products...einaction_book (and in my script, it adds .cfm to the 'attitudeinaction_book' and includes this in the products.cfm page.

basically the reason i am asking this is because ive been told to clean this up, as the person i do this website for believes this is too messy (although they wanted it this way in the first place) and want it to just be like http://www.aforattitude.com/attitudeinaction_book.
lockmac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Feb 27th, 2008, 12:24   #2 (permalink)
Rob
Head Admin & CEO
 
Rob's Avatar
 
Join Date: Jul 2003
Location: bug busting new style
Age: 34
Posts: 3,311
Blog Entries: 7
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: web addresses without the .cfm file...

ok... as you are using cold fusion, I would personally set a .chm file as the custom 404 error handler.

This will allow you to trap non existant url's and re-ma them to the desired handler page.

You can detect url's such as /products/attitudeinaction_book and remap them to products.cfm?p=attitudeinaction_book

Obviously, you need to do this will code in the 404 handler script.

Good luck.
__________________
Rob Collyer - SEO Specialist (8 years+)
Owner & Founder of Webforumz.com

My Mrs's site:- Student Midwife Forums

I am currently unavailable for private work
-------------------------------------------------
Rob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Feb 28th, 2008, 02:02   #3 (permalink)
Junior Member
 
Join Date: Sep 2007
Location: Rosebud
Posts: 14
Re: web addresses without the .cfm file...

Quote:
Originally Posted by Rob View Post
ok... as you are using cold fusion, I would personally set a .chm file as the custom 404 error handler.

This will allow you to trap non existant url's and re-ma them to the desired handler page.

You can detect url's such as /products/attitudeinaction_book and remap them to products.cfm?p=attitudeinaction_book

Obviously, you need to do this will code in the 404 handler script.

Good luck.
Does this mean in the url, it will have the address (such as products.cfm?p=products_content or would it just have /products?
lockmac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Feb 28th, 2008, 06:55   #4 (permalink)
Rob
Head Admin & CEO
 
Rob's Avatar
 
Join Date: Jul 2003
Location: bug busting new style
Age: 34
Posts: 3,311
Blog Entries: 7
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: web addresses without the .cfm file...

the url would be /products/attitudeinaction_book in the case of the attitude in action page.
__________________
Rob Collyer - SEO Specialist (8 years+)
Owner & Founder of Webforumz.com

My Mrs's site:- Student Midwife Forums

I am currently unavailable for private work
-------------------------------------------------
Rob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
url addresses Daniel HTML Forum 15 Jul 9th, 2007 21:28
Creating a log file (text file) and an XML file using XSL kdelacruz XML, RSS & Atom 1 Nov 4th, 2006 21:12
Website for Certain IP Addresses or Email Addresses pepe_starr HTML Forum 9 May 9th, 2006 15:04



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 23:00.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59