Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Why does FTB change my links?Why does FTB change my links?
Previous
 
Next
New Post
4/21/2006 5:47 PM
 
 Why does FTB change my links?

On my development machine, if I enter:

<A href="http://localhost/MyProject/Default.aspx?tabid=70" target="">Click here for Directions</A>

FTB removes "http://localhost/" and it becomes:

<A href="/MyProject/Default.aspx?tabid=70" target="">Click here for Directions</A>

 

If I enter the following on my production machine:

<A href="http://www.mydomain.com/MyProject/Default.aspx?tabid=70" target="">Click here for Directions</A>

FTB changes it to <A href="/Default.aspx?tabid=70" target="">Click here for Directions</A>

 

Why does this happen?  It makes it very hard to move between development and production environments.  While I'm developing a new project I often move back and forth between the machines so that my client can review things during the development phase.

 
New Post
4/21/2006 7:47 PM
 

I'm not defending it - it helps some times, hurts others.

Our workaround is to leave the "www" out of the link - so it's http://mywebsite.com

FreeTexbox doesn't seem to rewrite it if the www's not there.

Hope this helps.


Will Ballard
Ingen Systems
 
New Post
4/21/2006 7:56 PM
 

Welcome to the frustrations of working locally and live with FTB.

This is something that has been raised in the core team and I believe they are looking for an answer.
You see, most people who have their network with dynamic IP addresses, they don't have IPs configured so when they setup their sites locally -it's using a Virtual Directory instance.  So it works like localhost/dnn/  and the browser displays http://www.localhost/dnn.  If you want to view across network you need to then set the alias in the portals table to also be your IP which is typically a 192.168.100.2 or whatever number assigned to your machine when you turn it on. (and this can change when something happens on your network which might be ok for small companies with just a few computers, but causes headaches for larger intranets, so they use Fixed IP or domain controller environments)

The problem is that with the editors is they put in that path and when you go to package up upload your db and such - it's remembered it and you need to then go in and modify these files when live because some hosting companies use IP based IIS and put in the full path of the website, using domain or IP controls which then render the site as a full domain, not a virtual directory. 

I probably haven't explained in the full technical detail, mainly because I don't know how, but this is what is happening in your instance and is being addressed through DNN but not sure when it will be an enchancement.

The core team fixed up the issue with skinning by putting in that skin path reference in front of images, as this used to be a problem with skinning. But it's not any longer, so I'm not sure how they will resolve it but it was brought up in discussion only last week as many people are using this method of updating their sites.

I don't have an answer because everything I think of still means double handling, unless you set your network up to be IP controlled and not use virtual directory to manage your local instances..

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
4/21/2006 9:09 PM
 

Are you sure it does that? Normally I thought once you hit refresh it puts in the path dnn/portals/0/picture.gif, not the whole localhost, but always tagging that virtual directory instance on.  I could be wrong but that's just how I thought it did it when I've looked at the broken images on the live server.

If that works that's a great work around, if you upload the images first it would solve it, but I suppose then putting in the full www path in the first place could also be a work around.  I don't think that's defending..that's a good work around.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
4/22/2006 8:08 AM
 

Thanks for the info & it's good to know that the core is addressing this issue.

Do you know if the FCKEditor has the same issue?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Why does FTB change my links?Why does FTB change my links?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out