<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WP Hive &#187; Tag: sitemap.xml - Recent Posts</title>
<link>http://wp-hive.com/forums/</link>
<description>WP Hive &#187; Tag: sitemap.xml - Recent Posts</description>
<language>en</language>
<pubDate>Sat, 04 Feb 2012 15:27:17 +0000</pubDate>

<item>
<title>ikailo on "Regarding the Special Files Instructions"</title>
<link>http://wp-hive.com/forums/topic/regarding-the-special-files-instructions#post-266</link>
<pubDate>Thu, 05 Mar 2009 15:30:27 +0000</pubDate>
<dc:creator>ikailo</dc:creator>
<guid isPermaLink="false">266@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;Hmm.. this sounds like a permissions issue. Because the wp-hive folder was set up programatically, it may not give you (the user) the same permissions because you are not the owner. Try setting the permissions to the wp-content folder to 777, and let it propagate to the child folders. Then delete and recreate the &#60;code&#62;/wp-hive/&#60;/code&#62; folder. If that works, then go back and reset the permissions on &#60;code&#62;/wp-content/&#60;/code&#62; to something more appropriate like 755. Have a look &#60;a href=&#34;http://codex.wordpress.org/Changing_File_Permissions&#34;&#62;here&#60;/a&#62; for more about required permissions. You will probably need to leave the &#60;code&#62;/wp-hive/&#60;/code&#62; folder 777.&#60;/p&#62;
&#60;p&#62;You do need to have the proper structure for the special files to work: &#60;code&#62;/root/wp-content/wp-hive/domain.com/robots.txt&#60;/code&#62; etc...&#60;/p&#62;
&#60;p&#62;Put the special files that currently exist in the root into the folder for the original blog eg: &#60;code&#62;/wp-hive.com/firstdomain.com/robots.txt&#60;/code&#62;. You will need each site's special files in each domain.com directory.
&#60;/p&#62;</description>
</item>
<item>
<title>jennymajones on "Regarding the Special Files Instructions"</title>
<link>http://wp-hive.com/forums/topic/regarding-the-special-files-instructions#post-259</link>
<pubDate>Thu, 05 Mar 2009 00:07:21 +0000</pubDate>
<dc:creator>jennymajones</dc:creator>
<guid isPermaLink="false">259@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;Only place I was able the favicon.ico and sitemap.xml successfully was to these directories:&#60;/p&#62;
&#60;p&#62;wp-content/phuquocblog.com/&#60;br /&#62;
and&#60;br /&#62;
wp-content/phuquocconfidential.com/&#60;/p&#62;
&#60;p&#62;That is where I was able to set up the directories. Is that correct?&#60;/p&#62;
&#60;p&#62;Also, I have this file too in my root, sitemap.xml.gz, should I also move that into both of these folders?
&#60;/p&#62;</description>
</item>
<item>
<title>jennymajones on "Regarding the Special Files Instructions"</title>
<link>http://wp-hive.com/forums/topic/regarding-the-special-files-instructions#post-257</link>
<pubDate>Thu, 05 Mar 2009 00:03:13 +0000</pubDate>
<dc:creator>jennymajones</dc:creator>
<guid isPermaLink="false">257@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;Ikailo or Other,&#60;/p&#62;
&#60;p&#62;Well, last question, I promise for right now. I indeed do have the following special files in my root, favicon.ico and sitemap.xml - I have followed your documentation but cannot seem to get wp-hive to allow me to set up 2 folders within it for &#34;phuquocconfidential.com&#34; and &#34;phuquocblog.com&#34;. My intention is to create those 2 directories within the wp-hive folder, and then within those 2 directories to copy and paste the favicon.ico file and the sitemap.xml file. I tried via through Plesk and normally I can change the permissions, but cannot this time on this wp-hive folder? Ideas why or ways around this? Am I doing this correctly?
&#60;/p&#62;</description>
</item>
<item>
<title>lakong on "google sitemap issue when sharing same tables"</title>
<link>http://wp-hive.com/forums/topic/google-sitemap-issue-when-sharing-same-tables/page/5#post-126</link>
<pubDate>Fri, 16 Jan 2009 16:29:02 +0000</pubDate>
<dc:creator>lakong</dc:creator>
<guid isPermaLink="false">126@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;I found a thread that discusses how to make some minor hacks in order to share most of the same tables but not ALL of the same tables.  Basically I would have each site use a unique options table and just share common tables like users, posts, meta data, categories, etc.  This way they all have their own plugin tables, I don't have any issues with site name, etc.  I tried doing it, but I'm thinking that the hive might need some special treatment.  The thread is at:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://software.jonandnic.com/hack/wordpress-hacking-multiple-blogs-on-one-set-of-tables-2&#34; rel=&#34;nofollow&#34;&#62;http://software.jonandnic.com/hack/wordpress-hacking-multiple-blogs-on-one-set-of-tables-2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The top suggestions are for an older version, but if you look down they suggest modifying wp-db.php as follows:&#60;/p&#62;
&#60;p&#62;Anyway, in Wordpress 2.5 you need to edit the wp-db.php file in the wp-includes directory. In the function set_prefix($prefix) section, you can override the settings. Following&#60;/p&#62;
&#60;p&#62;foreach ( $this-&#38;gt;tables as $table )&#60;br /&#62;
$this-&#38;gt;$table = $this-&#38;gt;prefix . $table;&#60;/p&#62;
&#60;p&#62;the code should look like this:&#60;/p&#62;
&#60;p&#62;$this-&#38;gt;posts = ‘wp_’ . ‘posts’;&#60;br /&#62;
$this-&#38;gt;users = ‘wp_’ . ‘users’;&#60;br /&#62;
$this-&#38;gt;categories = ‘wp_’ . ‘categories’;&#60;br /&#62;
$this-&#38;gt;post2cat = ‘wp_’ . ‘post2cat’;&#60;br /&#62;
$this-&#38;gt;links = ‘wp_’ . ‘links’;&#60;br /&#62;
$this-&#38;gt;postmeta = ‘wp_’ . ‘postmeta’;&#60;br /&#62;
$this-&#38;gt;usermeta = ‘wp_’ . ‘usermeta’;&#60;br /&#62;
$this-&#38;gt;terms = ‘wp_’ . ‘terms’;&#60;br /&#62;
$this-&#38;gt;term_taxonomy = ‘wp_’ . ‘term_taxonomy’;&#60;br /&#62;
$this-&#38;gt;term_relationships = ‘wp_’ . ‘term_relationships’;&#60;/p&#62;
&#60;p&#62;Any idea how to get it to work when using your stuff?&#60;/p&#62;
&#60;p&#62;- Scot
&#60;/p&#62;</description>
</item>
<item>
<title>lakong on "google sitemap issue when sharing same tables"</title>
<link>http://wp-hive.com/forums/topic/google-sitemap-issue-when-sharing-same-tables/page/5#post-125</link>
<pubDate>Fri, 16 Jan 2009 10:17:50 +0000</pubDate>
<dc:creator>lakong</dc:creator>
<guid isPermaLink="false">125@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;Thanks so much for the answers.  I will probably generate the sitemaps outside of WP but would like to try the hack if you can send it.  Feel free to email to &#60;a href=&#34;mailto:tworags@gmail.com&#34;&#62;tworags@gmail.com&#60;/a&#62;.    Two other issues, that you may be able to help me with:&#60;/p&#62;
&#60;p&#62;1) relative links: since WP writes full links with complete paths in the HTML and bases it off of the siteurl setting in the DB, when I share the tables I need to rewrite all URL's to remove or replace the domain name.  For now I have written some plugin functions to do it, but it is a bit of a pain since my templates use lots of different function to display links in various places.  Is there some way you can think of to trick WP into using a different URL for the siteurl?&#60;/p&#62;
&#60;p&#62;2) using Hive AND using another Hive DB on an external server: I want to use the same DB that I'm sharing with my Hive sites for a second Hive installation that resides on a different server.  I have been able to get the permissions working in MySQL to allow a wordpress site on a different server to attach to it remotely, but have not gotten it to work if I want to share the same tables (like I'm doing now in the Hive).  Any ideas what I need to be aware of?&#60;/p&#62;
&#60;p&#62;Thanks again!
&#60;/p&#62;</description>
</item>
<item>
<title>ikailo on "google sitemap issue when sharing same tables"</title>
<link>http://wp-hive.com/forums/topic/google-sitemap-issue-when-sharing-same-tables/page/5#post-123</link>
<pubDate>Thu, 15 Jan 2009 22:17:25 +0000</pubDate>
<dc:creator>ikailo</dc:creator>
<guid isPermaLink="false">123@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;Ok, about the sitemap. If you generate static sitemap files, then yes, wp-hive will read them properly if they are stored in the correct directory - &#60;code&#62;/wp-content/wp-hive/domain.com/sitemap.xml&#60;/code&#62;. I think the question you need to address is how to get them stored in the proper location. If you use the google-sitemap-generator plugin, then I think I've figured out a hack to make it work in your case. Let me know if you want me to send it to you.&#60;/p&#62;
&#60;p&#62;Other Answers:&#60;/p&#62;
&#60;p&#62;1. At this point, I don't know of any other way to refresh the rewrite rules. This might be a question for a different group. I believe the issue may involve .htaccess.&#60;/p&#62;
&#60;p&#62;2. I can't think of any reason why there would be a performance hit.  In reality, there are only a couple additional db calls when the page starts loading. I'd be interested to know if anyone else notices any performance changes.&#60;/p&#62;
&#60;p&#62;3. You should remove the extraneous records and set 'allow_new_hosts' to '0' in the 'wphive_config' table. I do recommend this for all installations, unless you are adding a new site to the hive. I've noticed that some servers forward requests for hosts with characters added (like a . at the end of the domain), and WP Hive interperets it as a new domain. The latest release attempted to resolve this.
&#60;/p&#62;</description>
</item>
<item>
<title>lakong on "google sitemap issue when sharing same tables"</title>
<link>http://wp-hive.com/forums/topic/google-sitemap-issue-when-sharing-same-tables/page/5#post-122</link>
<pubDate>Thu, 15 Jan 2009 17:04:10 +0000</pubDate>
<dc:creator>lakong</dc:creator>
<guid isPermaLink="false">122@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;I meant share the same tables -- I erase the tables for each new site and just tell WP to use the same tables.  In truth, the posts all appear unique because my posts use simple-pie to read RSS that is specific to each site.  I append a variable to the rss filename so each site reads different files.
&#60;/p&#62;</description>
</item>
<item>
<title>lakong on "google sitemap issue when sharing same tables"</title>
<link>http://wp-hive.com/forums/topic/google-sitemap-issue-when-sharing-same-tables/page/5#post-121</link>
<pubDate>Thu, 15 Jan 2009 17:02:18 +0000</pubDate>
<dc:creator>lakong</dc:creator>
<guid isPermaLink="false">121@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;I have all of the prefixes set to the same value, so all sites share the same table.  I think the easiest thing would be to use a third-party product to generate the sitemaps outside of WP.  If I did this and I stored the sitemaps in the /wp-hive/sitename.com directories, would your plugin redirect calls for &#60;a href=&#34;http://www.sitename.com/sitemap.html&#34; rel=&#34;nofollow&#34;&#62;http://www.sitename.com/sitemap.html&#60;/a&#62; to appropriate subdirectory under /hp-hive&#60;/p&#62;
&#60;p&#62;While I have you, a few more quick questions:&#60;/p&#62;
&#60;p&#62;1) I have mentioned this in the past, but haven't gotten an answer.  Everytime I add a new site to the hive, my permalinks get broken and I have to resave the permalink option.  Is there a way around this?  It's not that big of a deal with my setup since I only have to do it once since I'm sharing the same DB.  It is a real pain in other hive instances since I have to login to each site and resave the permalinks.&#60;/p&#62;
&#60;p&#62;2) performance -- I have noticed a real hit to performance at times on hive sites, when compared to non-hive installations.  What would be the reason for this?  Is there some settings I can make in WP or in my OS to improve performance?&#60;/p&#62;
&#60;p&#62;3) When checking the wphive-hosts table I'm noticing a few entries from other domains that I didn't make.  There are no new tables setup for these sites, just entries in the hosts table.  Any idea how they got there?  Is there a way to prevent this?&#60;/p&#62;
&#60;p&#62;Thanks!!!
&#60;/p&#62;</description>
</item>
<item>
<title>ikailo on "google sitemap issue when sharing same tables"</title>
<link>http://wp-hive.com/forums/topic/google-sitemap-issue-when-sharing-same-tables/page/4#post-120</link>
<pubDate>Thu, 15 Jan 2009 15:16:12 +0000</pubDate>
<dc:creator>ikailo</dc:creator>
<guid isPermaLink="false">120@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;I'm not sure I understand how you have the hosts table. Can you give an example?
&#60;/p&#62;</description>
</item>
<item>
<title>lakong on "google sitemap issue when sharing same tables"</title>
<link>http://wp-hive.com/forums/topic/google-sitemap-issue-when-sharing-same-tables/page/4#post-119</link>
<pubDate>Thu, 15 Jan 2009 10:02:39 +0000</pubDate>
<dc:creator>lakong</dc:creator>
<guid isPermaLink="false">119@http://wp-hive.com/forums/</guid>
<description>&#60;p&#62;I'm trying to use wp hive in a little different way then most.  Once I set up my sites I modify the hosts table to have all sites point to the same place.  This is idea for me because my physical post entries actually read custom XML Files that we have created on a different server so the content is unique to each site via the XML.  &#60;/p&#62;
&#60;p&#62;Anyway, everything works great except for one thing.  Google sitemaps only works for one site since I need to point it at one directory.  Does anyone know a work-around for this?  Is there some way I can get it to create sitemaps for each of my hive sites?&#60;/p&#62;
&#60;p&#62;I would be happy to pay for custom work if that's what is required.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>

