Moving a site from http://[domain]/[vroot] to http://[domain]

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/30/2009 10:28:08 AM
Gravatar
Total Posts 8

Moving a site from http://[domain]/[vroot] to http://[domain]

I've been doing development using a publically hosted site at a Url such as http://[domain]/[vroot].  In addition to custom development and custom skins, I have also been entering HTML content, adding modules, etc.

What issues might I encounter when we "launch" and the site needs to be available at http://[domain]?  I have assumed that I can continue to use the same database and simply move the Web files over to the Web site root.  Is this accurate?  What else should I know?

Thanks!

Bill

4/30/2009 11:47:11 AM
Gravatar
Total Posts 18439

Re: Moving a site from http://[domain]/[vroot] to http://[domain]

You will have problems. Though we do generally use relative urls, relative urls are always relative to the root of the site not relative to the virtual directory. So for example all of your friendly urls in the mp_FriendlyUrls table will map to real urls like

/[yourpreviousvirtualdirectory]/Default.aspx?pageid=x

whereas in a root level site it would just map to

/Default.aspx?pageid=x

There will also be broken image urls in the content.

It would have been much easier if your dev environment matched the target deployment environment.

Hope it helps,

Joe

4/30/2009 12:20:00 PM
Gravatar
Total Posts 8

Re: Moving a site from http://[domain]/[vroot] to http://[domain]

I understand and did anticipate some issues.

Upon launch, other than updating the mp_FriendlyUrls table and scanning HTML content for broken links/images, are there other table/file changes that will be required or am I planning to fight a losing battle?

Thanks!

Bill

4/30/2009 12:54:40 PM
Gravatar
Total Posts 18439

Re: Moving a site from http://[domain]/[vroot] to http://[domain]

Those are the only issues that come to mind. It may not be that bad.

Do let us know how it goes and if you do encounter any other issues.

Best,

Joe 

You must sign in to post in the forums. This thread is closed to new posts.