saurabhd / hk_realestate

GNU General Public License v2.0
1 stars 0 forks source link

XML sitemap for K55 #87

Open darshi-shah opened 7 years ago

darshi-shah commented 7 years ago

We need sitemap for K55. This sitemap should contain only K55 apartments and object. K55 apartments should not be indexed on main site. We can use robots.txt to do so on main site.

In current setup, sitemap for main site and K55 are same. Individual settings for different sitemap are not available.

One solution can be to use something similar to approach outlined here : https://www.drupal.org/node/2123835

Note sure how feasible the solution can be. I will try this and let you know. I will also check functions here. http://www.drupalcontrib.org/api/drupal/contributions!xmlsitemap!xmlsitemap.api.php/7

heliogabal commented 7 years ago

Hm. Seems quite involved, and we might get even deeper into trouble when we follow along this route. Maybe we should take a step back and contemplate on other ways to solve this. I've been looking into the SEO effects of using a subdomain as well, and it seems it is a risky and error-prone tactic as well...

So would there maybe be another way to provide the k55-theme to all the k55 landing page and apartments? That way, we could get rid of the domain access module suite, keep the apartments only once, so we don't have to worry about sitemap and robots.txt and the such?