Skip to main content
Participant
September 19, 2013
Question

URL not compiling properly

  • September 19, 2013
  • 1 reply
  • 1203 views

I have two URL's that I have changed in my code.  Both are href tags in cfm pages. My problem is that when I view the page in a browser they are pointing to the wrong locations.  Both URL's are external to my servers and require authintacaton.  They temporarly redirect you to another page to login and then back to the requested page.

Both URLs will work properly in a basic HTML page.

Is there anywhere that CF will store old URLs?

    This topic has been closed for replies.

    1 reply

    Inspiring
    September 21, 2013

    A URL is external to the application.  Even if the resource you link to requires Authentication, none of that matters unless the user clicks on it.  This is unlike how img SRC attributes and the like actively make a call to the URL they reference.

    Can you provide a sample of the code you're using to display the URLs?  I'm envisioning something like:

    <a href="http://domain.tld/file.cfm" title="Link to page">Link to Page</a>

    James28Author
    Participant
    September 21, 2013

    These are the URL's as entered in my CFM page.

    <a href="http://newcou.edc.cingular.net/" target="_blank">http://newcou.edc.cingular.net/</a><br>

        Contact - <a href="http://newcou.edc.cingular.net/cou_new/index.cfm?module=help" target="_blank">

    Here is what displays in the source code in the browser.

    <a href="https://www.e-access.att.com/mobileappstore/" target="_blank">http://newcou.edc.cingular.net/</a><br>

        Contact - <a href="https://www.e-access.att.com/mobileappstore/cou_new/index.cfm?module=help" target="_blank">http://newcou.edc.cingular.net/cou_new/index.cfm?module=help</a>

    When CF compiles the page it puts in a bad url.  These were good URL's at one time.