7 Replies Latest reply on Aug 23, 2006 10:44 AM by webSlinger

    Problem with URL display in browser

    silstorm Level 1
      I'm using a search engine friendly URL system, which works along the following lines;

      One of the columns in my table is called 'shortheader', which basically takes the article headline, and makes it url friendly. Therefore, 'This is a Test' becomes 'this_is_a_test' as the shortheader. This part works fine, and when displayed on page, it looks fine.

      However, clicking on a link, which on mouseover appears like this - http://www.mydomain.com/this_is_a_test, when the page is displayed the address bar shows as http://www.mydomain.com/this%5Fis%5Fa%5Ftest - which obviously doesn't look too good.

      I'm not sure if this makes a difference or not, but the linking page is being created and 'published' using cffile to create a static html page. I have another page, a cfml page, that doesn't seem to have the same effect and works as planned. Therefore, I assume the problem lies with the way cffile is creating the page. That said, looking at the raw HTML of the page cffile creates, it looks fine.

      Any help much appreciated!