Duplicate Homepage issues with multi install

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.
1/19/2011 12:19:25 AM
Gravatar
Total Posts 28

Duplicate Homepage issues with multi install

We have an issue with duplicate homepages with google.

We are running a mother website with 7 more sites under a single installation. The problems have started when we created and installed a module that rewrites the uppercase url's to lower case url's.

Originally google was indexing our homepage as www.xyz.com and is what we have seoed towards for the last 8 months.

The other homepages are www.xyz.com/default.aspx and www.xyz.com/home.aspx.

The sitemap, homepage logo and home links are pointed to www.xyz.com/home.aspx

Google has now removed our original homepage and started to index the www.xyz.com/home.aspx and www.xyz.com/default.aspx

How does this actually work and what are the settings that could of changed? Should we hardcode the sitemap and logo links/home links?

According to another post the pages www.xyz.com/home.aspx and www.xyz.com/default.aspx should be hidden from google but they arnt. The only page which is hidden is www.xyz.com

Please help? :(

 

regards

 

greg

 

1/19/2011 2:19:17 PM
Gravatar
Total Posts 18439

Re: Duplicate Homepage issues with multi install

Search engines use the canonical url which by default will be the page url like http://www.xyz.com/home.aspx would be the default for the home page in mojoportal, but if you go to the page settings for your home page and click the Search Engine Optimization tab you will see a place where you can override the canonical url. This was specifically added for the home page scenario you describe, you could enter http://www.xyz.com as the canonical url override there and search engines will treat the canonical url as the correct url for the page in search results.

For all other pages than the home page the default behavior is generally what you want. Really without overriding the canonical url google should be seeing http://www.xyz.com/home.aspx as the canonical url unless you are using some really old version of mojoPortal that was before we implemented canonical urls or unless your url re-wring is somehow interfering with it, but when you view the source of the page you should see the canonical link in the head and search engines should treat that as the definitive url for the page regardless of whether the page also works with other urls.

Hope it helps,

Joe

1/19/2011 5:56:36 PM
Gravatar
Total Posts 28

Re: Duplicate Homepage issues with multi install

Excellent...exactly what I was trying to achieve..very very easy to understand now...

 

Thanks Joe..

 

Greg

1/19/2011 11:00:43 PM
Gravatar
Total Posts 28

Re: Duplicate Homepage issues with multi install

Hmm..OK still having an issue with this..

I done as you suggested and added www.xyz.com into the seo page settings then I ran a scan using the IIS7 seo toolkit.

The report is saying that I still have a canonical error stating that www.xyz.com and www.xyz.com/home.aspx are both viewable by google.

How can I hard code this to stop www.xyz.com/home.aspx from being viewed by google?

 

regards

 

greg

1/20/2011 1:26:54 AM
Gravatar
Total Posts 28

Re: Duplicate Homepage issues with multi install

Problem solved...

 

Regards

 

greg

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