Forum Moderators: phranque

Message Too Old, No Replies

URL Re-Writing

         

saiine

9:34 pm on Feb 2, 2005 (gmt 0)

10+ Year Member



Hey guys I searched around in the archive and couldn't find the answer I was looking for. I have a site I'm about to launch written from cold fusion. The homepage has dynamic content coming from a MS SQL database. There are featured posts on the front page similiar in fashion to WW infact. I notice here when I click on a post it gives me a .html page. What is going on behind the scenes with this. I'd much rather be able to generate 09.html then post.cfm?postid=25

Appreciate it!

Corey Bryant

1:25 pm on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it is a Windows server - yu might consider googling Helicontech - they offer an URL re-write for Windows

-Corey

Sanenet

1:55 pm on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



These guys are using flat files, so they're writing to a .htm file.

You can either do that (using <cffile>) or you can rewrite the URL so that index.cfm?a=111 become index.cfm/a/111, which makes the spiders think the page 111 is in a subdirectory called index.cfm/a

fclark

5:22 am on Feb 7, 2005 (gmt 0)

10+ Year Member



What Sanenet says works well for me in coldfusion, and G picks it up no problem.

justin_s

8:26 pm on Feb 9, 2005 (gmt 0)

10+ Year Member



Or you can try using StaticShell (www.staticshell.com) which will spider your site and create a static version.