Hosting Multiple Sites Based on Host Names with same content

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.
2/3/2014 4:21:30 AM
Gravatar
Total Posts 18

Hosting Multiple Sites Based on Host Names with same content

Hi Joe,

I am using "Hosting Multiple Sites Based on Host Names" feature in mojo portal.

I have to create 100 sites with same content such as pages, html content etc. but different skins for every site.

So,I am trying to keep same content for 100 sites to just copy the previous data for site1 and paste in same database for site2.

But it is very tough process.

Please suggest me, if you have any simple process to create 100 sites

 

Thanks and Regards,

Prafull

 

 

2/3/2014 6:24:23 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites Based on Host Names with same content

In general sites with duplicate content are going to have bad SEO and each site will be seen as low quality by search engines because of the duplicated content so I would advise caution on an idea like that.

There is a way to define content that will be created for new sites ie what pages and what features to put on pages etc by configuration files but these files have to be created before the site is created and it is fairly limited. We use this for our demo site to reset it to default content periodically, maybe you will find it useful.

2/3/2014 12:25:27 PM
Gravatar
Total Posts 2253

Re: Hosting Multiple Sites Based on Host Names with same content

Hi,

I agree with Joe, this is something that should be done with extreme caution, if SEO is of any importance.

You could avoid using multiple-sites altogether if the content is truly the same on every site. Instead, use the URL Rewrite module for IIS to rewrite the domain to include the skin=NameOfSkin query parameter. For instance:

MyCoolUrl.com needs to use a skin named my-cool-url so you would use URL Rewrite to change MyCoolUrl.com to MyCoolUrl.com?skin=my-cool-url. Users would only see MyCoolUrl.com.

I've not tested this but in theory it should work okay.

Hope this helps,
Joe D.

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