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 StartedNew to DNN Plat...New to DNN Plat...Links to Pages created using Hyper Link Manager not Working in Anothe Server (after export-import)Links to Pages created using Hyper Link Manager not Working in Anothe Server (after export-import)
Previous
 
Next
New Post
12/16/2014 9:41 AM
 

Hi,

I have created site in my server (dnn1) and created links using Hyper Link Manger pointing to a particular page as follows:

  • Select a Text in Rich Text Editor (ex, about us)
  • Hyper Link Manager (CTRL + K)
  • in Hyperlink Tab, using 'Page' drop down menu, the text is linked to a page.
  • In my example, It stores the link as "http://localhost/dnn1/aboutus/"

But when I exported the whole site & imported to another server (http://localhost/dnn2), the link still pointing to the  http://localhost/dnn1/aboutus/. I expect that to point  http://localhost/dnn2/aboutus/ in the new server. So All links created by this way are broken.

Did I make any mistake? 

What is the right procedure to make this happen without breaking the links. 

Regards,
Selva


 
New Post
12/18/2014 11:32 AM
 

DNN1 is a virtual directory? Normally it would work since the links are usually created by reference instead of absolute.  But since your site was hosted on a virtual directory the links include the original virtual directory name. 

You will need to modify all of those links to point to the new site.  This is easy if you do it using SQL.  You can use the following SQL to update the content in the HTML modules to fix the links:

declare @FIND as nvarchar(MAX)

declare @REPLACE as nvarchar(MAX)

set @FIND = 'dnn1'

set @REPLACE = 'dnn2'

update HtmlText set Content = cast(replace(cast(Content as nvarchar(max)),@FIND, @REPLACE) as ntext)



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
New Post
12/19/2014 1:11 AM
 

Hi

Thanks for your response. Here are the details. 

Server I

dnn1 is the folder inside my localhost-wwwroot folder, where  I installed DNN. 
It is used by my IIS7. 
i.e., C:/inetpub/wwwroot/dnn1/ (server I) (exported from here)

Server II

Same like, I use a folder dnn2 in another server localhost-wwwroot.
ie., C:/inetpub/wwwroot/dnn2/ (server II) (imported to here)

Regards,
Selva

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Links to Pages created using Hyper Link Manager not Working in Anothe Server (after export-import)Links to Pages created using Hyper Link Manager not Working in Anothe Server (after export-import)


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