[g]

QNAP: WordPress and robots.txt

One of the oddities of using a NAS device as your host blogging platform is where to find the right files to modify. If you’re anything like me trying to measure traffic and continuously update your blog then you may also have had some issues while adding your Google Tracking Code used for Google Analytics. In fact, not specifically analytics but trying to manage it as well as part of Google Webmaster Tools.

Where is robots.txt?
In terms of the QNAP its there somewhere as simply surfing to http://<your_domain.here>/robots.txt outputs this:

User-agent: *
Disallow: /

I tried uploading the suggested robots.txt file in the /share/Web/ as well as /share/Web/<your_wordpress_directory>/ and others but it just wouldn’t take. Still in luck, I tried the KB robots.txt plugin and it seems to have worked and placed the initial recommended content:

User-agent: *
Allow: /

Google Analytics vs Multisite
You can continue to use subdirectory or subdomain settings as they are depending on your situation. However, Google actually provides (recommends?) using the Asynchronous Tracking Code to better differentiate your site. One of the better starting points for me was the Google Analytics Multisite Async plugin. From there you can network activate then go back to your various entries and correct the missing details to match.

Related posts:

  1. QNAP: WordPress Multisite
  2. Blogger Template Designer – bug!
  3. QNAP: WordPress Themes Not Displaying Error
  4. QNAP: Joomla! and WordPress – Installation Errors
  5. QNAP: WordPress and Connection Information

Leave a Reply