WP Hive » Installation and Configuration

working with "robots meta" and "Google XML Sitemaps"

(10 posts)
  • Started 2 years ago by HarryPotter
  • Latest reply from starapple
  • 4 Members Subscribed To Topic

Tags:


  1. HarryPotter
    Member

    hi, i work with both "robots meta" (http://wordpress.org/extend/plugins/robots-meta/) and "Google XML Sitemaps" plugins. In the documentation as copied below, it states both the sitemap.xml and the robots.txt has to be specially placed.

    Does this mean I can't use "robots meta" plugin as it can't (i don't think), manually be set to a special location?

    "The files sitemap.xml, sitemap.xml.gz, robots.txt, and favicon.ico are treated specially. They are normally stored in the root directory, but since each blog shares the same root directory, they must be moved and properly handled.

    1. Ensure these files DO NOT exist in the root directory.
    2. For each domain that uses one or more of these files, save them in the directory: /wp-content/wp-hive/domainname.com/ (eg: /wp-content/wp-hive/domainname.com/robots.txt).
    3. The plugin ensures any external entity will access these file using the normal method (eg: http://www.yourdomain.com/robots.txt)."

    Posted 2 years ago #
  2. wwday3
    Member

    You know, there really should be an "easier" way to handle these special files. Like an option to take to reset the location or something like that?

    I use the xml-sitemaps plugin, and I know that a couple times when I upgraded that plugin it reverted back to the defaults. I didn't know until I went into webmaster tools that the sitemap had a problem. The problem was caused because it was pointed back at the default.

    Posted 2 years ago #
  3. ikailo
    Developer

    I would love to make an easier way. :) I think there are a few other features in the pipeline before I get to this one though.

    You are right that the robots plugin won't work as intended. However, one workaround might be to generate robots.txt using the plugin and then move it into the /wp-content/wp-hive/domain.com/ folder. A little more complex, but it could do the trick.

    Posted 2 years ago #
  4. justin
    Member

    Am I right in thinking that the google site verification file from Googles webmasters tools should also go into the hive domain folder?

    If so it doesn't work unless I am doing something idiotic, which means I have to put the meta information into the actual site which is a bit of a pain.

    Posted 2 years ago #
  5. ikailo
    Developer

    No, it's not designed to handle those files, yet.

    I got around this by installing the All In One SEO Plugin, which allowed me to add the meta tag under 'Additional Home Headers'.

    Posted 2 years ago #
  6. justin
    Member

    Cool, I use The thesis theme and it does something similar. Just a slight pain as the meta tag changes for each site, still not unsurmountable.

    I'm in love with your plug in. I'm kind of new to using wordpress and have been publishing a number of blogs to attract affiliate income. Haven't earned much yet but as soon as I do some is coming your way. Probably saves me about 4 hours a week.

    Posted 2 years ago #
  7. HarryPotter
    Member

    "You know, there really should be an "easier" way to handle these special files. Like an option to take to reset the location or something like that?

    I use the xml-sitemaps plugin, and I know that a couple times when I upgraded that plugin it reverted back to the defaults. I didn't know until I went into webmaster tools that the sitemap had a problem. The problem was caused because it was pointed back at the default. "

    i agree.

    i wish this was more of a priority on the list of to-do. i mean, when you have got multiple of sites installed on one hive, upgrading and pointing these robot and xml files gets really confusing =(

    Posted 2 years ago #
  8. starapple
    Member

    ikailo,a question on these directories for domains. Is a directory created for each sub-domain? If so I don't see one on teh server.

    I ask because favicon.ico has been moved to /wp-hive/domain.com/ but it doesn't show anymore in the browser tabs for domain.com and not for sub.domain.com

    I'd like the same favicon shown on domain.com and all sub-domains.

    Posted 2 years ago #
  9. ikailo
    Developer

    starapple: The current version (v0.5.3) does not automatically create the directory when new site is added to the hive.

    It only creates a directory for the initial site in the hive when WP Hive is first installed.

    You should manually create it for any new sites: /wp-content/wp-hive/sub.domain.com/.

    Posted 2 years ago #
  10. starapple
    Member

    Thanks ikailo. It seems there's either a caching problem or different responses depending on browser.

    The sub.somain.com favicon now shows correctly in IE 8 but not for domain.com;

    it shows correctly for both in Chrome;

    it's not showing for either in Firefox, although when I add domain.com to the the bookmarks bar it shows a squashed version;

    and in Safari, it shows for domain.com but not for sub.domain.com.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.