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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Borken links when moving DNN installation from root path to virtual directoryBorken links when moving DNN installation from root path to virtual directory
Previous
 
Next
New Post
1/23/2009 12:09 PM
 

Hi!

DotNetNuke version 4.8.4. Problem when moving location of the site. We normally have all development sites on a windows server and each development site is its own web site, utlizing host headers to direct the traffic to the correct site on the server. For instance we have mysite.dnn.mydomain.se. The alias on this install is mysite.dnn.mydomain.se.

Now I wanted to move this particular site to my XP development machine in order to do som module development on that site. I decided to place it under localhost/mysite_test on my XP machine.

After installing a clean DNN installation to that location a copied all of the content from the original folder on the development server to to directory on my XP machine. I connected it to the original database on the development server and changed to portal alias to localhost/mysite_test.

The site started fine and the skin displayed all elements and images fine. However, all links from HTML/Text are broken. For instance, an image ref that on the original development server installation pointed to /images/myimage.jpg and the actual link is generated as http://mysite.dnn.mydomain.se/images/myimage.jpg.

On the XPdevelpment machine, the link in the database is of course still the same /images/myimage.jpg but the actual link is http://localhost/images/myimage.jpg but I would expect it to be http://localhost/mysite_test/images/myimage.jpg.

The poral alias is mysite.dnn.mydomain.se on the development server and the field Relative path under Host settings is empty.

The portal alias is localhost/mysite_test on the development machine and the field Relative path under Host settings is /mysite_test

Can somebody please shed some light on this for me.

Pedro

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Borken links when moving DNN installation from root path to virtual directoryBorken links when moving DNN installation from root path to virtual directory


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