Recent Topics

1 Jul 27, 2008 06:28    

My b2evolution Version: Not Entered

First, I love b2evolution. Thank you! It rocks.

I use b2ev to run a network of about 280 localized real estate blogs where we post real estate deals for specific cities only that city's blog and have an aggregated blog of real estate investor articles.

Here's the challenge I am having and I think I have a great solution, but I think I might need some help.

Right now, with sitemap_blogs.php, you enter in the blog # and gives you a sitemap of the blogs that are aggregated on that blog id #. Please correct me if I am wrong with that, but that is what it looks like to me.

However, I think with just a slight tweak to that page, we could determine what domain name that the page was loaded from and use that to determine the blog id # just like it would to display the right blog. Then we could use that to use that blog id # and to create the sitemap just for the content that is aggregated for that blog id #.

Why do this? Well, if I wanted to make a sitemap for the real estate investor website for:

http://OrlandoRealEstateResources.com/

I would need to create a new page that actually has that specific id # in it like this:

http://OrlandoRealEstateResources.com/sitemap_orlando.php

If I wanted to do:

http://FortCollinsRealEstateResources.com/

I would need to make a new page for each.

With a little tweak (and that's what I need help with please), we could make a sitemap_blogs.php page that automatically makes a sitemap based on whatever domain name it is loaded on.

Does that make sense? Can anyone help with that?

Basically, I would like:

$blog = 1;

To be equal to the blog # based on what domain name it is loaded from.

Thanks in advance.

Sincerely,

James

2 Jul 27, 2008 07:59

Use this link to get the sitemap

http://YOUR_BLOG.com/index.php?tempskin=_sitemap

You can also add it to robots.txt and put this file in domain root

User-agent: *
Sitemap: http://YOUR_BLOG.com/index.php?tempskin=_sitemap


Form is loading...