Reply to topic
Search Engine Safe (SES) URL
chhchung


Joined: 30 Aug 2004
Posts: 29
Reply with quote
I using the SESConverter to change the following url

http://www.anawholesale.com/products.cfm?merchid=157

to

http://www.anawholesale.com/product.cfm/merchid/157

But still the extension(.cfm) still exist on the middle of URL

Any one know how do i get rid of the extension(.cfm)
I want something like this

http://www.anawholesale.com/product/merchid/157
bobclingan
Forum Regular

Joined: 16 Sep 2004
Posts: 271
Location: Abingdon, MD
Reply with quote
Having .cfm in there is ok, it is still a SES url, the main objective is to make the search engines think that the page is static and not dynamic. There probably is a way to adjust it to work the way you want you would have to play around with regular expression used to change the URL.

--Bob
andrew2


Joined: 11 Jun 2004
Posts: 21
Location: Grande Prairie, Alberta
Reply with quote


http://www.anawholesale.com/product.cfm/merchid/157

But still the extension(.cfm) still exist on the middle of URL

Any one know how do i get rid of the extension(.cfm)
I want something like this

http://www.anawholesale.com/product/merchid/157


you could use a 404 page to handle it (below assumes you want to
pretend you are using a different extension: ".cfmx"

Code:


<cfif FindNoCase("data.cfmx",cgi.query_string)>

  <cfinclude template="data.cfm">

<cfelse>

   <!--- put page not found details here...... --->
 
</cfif>

sesConverter
Gerd


Joined: 12 Oct 2004
Posts: 11
Location: Deltona, FL
Reply with quote
I cant get it to work at all. I'm a bit confused as to the use of the tag actually. Does the tag parse my urls for me in my templates for me or do I write my urls this way?

<a href="sometemplate.cfm/action/update/prodid/1234/category/43">Update</a>

Either way I can't get it to work. I have it setup just like the example at http://fusium.com.

Sure would be nice if I could to get it to work.

I'm runinng MX 6.1 and IIS
bobclingan
Forum Regular

Joined: 16 Sep 2004
Posts: 271
Location: Abingdon, MD
Reply with quote
Its hard to say without seeing what errors you are getting... all you should need to do is include it in your application.cfm and change the appropriate parameters. I haven't tried this in a while, but I don't think it is doing anything that would be incompatible with later versions of CF.
sesConverter
Gerd


Joined: 12 Oct 2004
Posts: 11
Location: Deltona, FL
Reply with quote
Never mind, got it. oops:
Search Engine Safe (SES) URL
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic