rusty.ozlabs.org/2009/10/27/google-analytics-for-wordpress-upgrade-fail.html

Preview meta tags from the rusty.ozlabs.org website.

Linked Hostnames

4

Search Engine Appearance

Google

https://rusty.ozlabs.org/2009/10/27/google-analytics-for-wordpress-upgrade-fail.html

Google Analytics For WordPress Upgrade Fail

Had an old copy of the "Google Analytics For WordPress" lying around (which didn't seem to put anything in my blog source), but after upgrading it it kept saying "Google Analytics settings reset to default" whenever I tried to change anything. See this thread which talks about the problem and waves at the solution.  Here's what you need to do, if like me you're not a WordPress/MySQL junkie and want simple instructions: Find your wordpress config file.  Mine, on a Debian system, was in /etc/wordpress/config-rusty.ozlabs.org.php It will contain lines like this: define('DB_NAME', 'rustyozlabsorg'); define('DB_USER', 'rustyozlabsorg'); define('DB_PASSWORD', 'g1812fbsa'); You need to open the mysql database, we're going to do some brain surgery to remove the old cruft: $ mysql --user=rustyozlabsorg --password=g1812fbsa rustyozlabsorg This should give you a "mysql>" prompt, where you type the following: DELETE FROM wp_options where option_name='GoogleAnalyticsPP'; It should say something like "Query OK, 1 row affected (0.00 sec)". Then type quit; You're done.  Reload your setting page and try again. Hope that gets into Google and helps someone else who can't figure out what's going on!



Bing

Google Analytics For WordPress Upgrade Fail

https://rusty.ozlabs.org/2009/10/27/google-analytics-for-wordpress-upgrade-fail.html

Had an old copy of the "Google Analytics For WordPress" lying around (which didn't seem to put anything in my blog source), but after upgrading it it kept saying "Google Analytics settings reset to default" whenever I tried to change anything. See this thread which talks about the problem and waves at the solution.  Here's what you need to do, if like me you're not a WordPress/MySQL junkie and want simple instructions: Find your wordpress config file.  Mine, on a Debian system, was in /etc/wordpress/config-rusty.ozlabs.org.php It will contain lines like this: define('DB_NAME', 'rustyozlabsorg'); define('DB_USER', 'rustyozlabsorg'); define('DB_PASSWORD', 'g1812fbsa'); You need to open the mysql database, we're going to do some brain surgery to remove the old cruft: $ mysql --user=rustyozlabsorg --password=g1812fbsa rustyozlabsorg This should give you a "mysql>" prompt, where you type the following: DELETE FROM wp_options where option_name='GoogleAnalyticsPP'; It should say something like "Query OK, 1 row affected (0.00 sec)". Then type quit; You're done.  Reload your setting page and try again. Hope that gets into Google and helps someone else who can't figure out what's going on!



DuckDuckGo

https://rusty.ozlabs.org/2009/10/27/google-analytics-for-wordpress-upgrade-fail.html

Google Analytics For WordPress Upgrade Fail

Had an old copy of the "Google Analytics For WordPress" lying around (which didn't seem to put anything in my blog source), but after upgrading it it kept saying "Google Analytics settings reset to default" whenever I tried to change anything. See this thread which talks about the problem and waves at the solution.  Here's what you need to do, if like me you're not a WordPress/MySQL junkie and want simple instructions: Find your wordpress config file.  Mine, on a Debian system, was in /etc/wordpress/config-rusty.ozlabs.org.php It will contain lines like this: define('DB_NAME', 'rustyozlabsorg'); define('DB_USER', 'rustyozlabsorg'); define('DB_PASSWORD', 'g1812fbsa'); You need to open the mysql database, we're going to do some brain surgery to remove the old cruft: $ mysql --user=rustyozlabsorg --password=g1812fbsa rustyozlabsorg This should give you a "mysql>" prompt, where you type the following: DELETE FROM wp_options where option_name='GoogleAnalyticsPP'; It should say something like "Query OK, 1 row affected (0.00 sec)". Then type quit; You're done.  Reload your setting page and try again. Hope that gets into Google and helps someone else who can't figure out what's going on!

  • General Meta Tags

    8
    • title
      Google Analytics For WordPress Upgrade Fail | Rusty Russell’s Quiet Corner of The Internet
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge
    • viewport
      width=device-width, initial-scale=1
    • generator
      Jekyll v4.3.4
  • Open Graph Meta Tags

    6
    • og:title
      Google Analytics For WordPress Upgrade Fail
    • US country flagog:locale
      en_US
    • og:description
      Had an old copy of the "Google Analytics For WordPress" lying around (which didn't seem to put anything in my blog source), but after upgrading it it kept saying "Google Analytics settings reset to default" whenever I tried to change anything. See this thread which talks about the problem and waves at the solution.  Here's what you need to do, if like me you're not a WordPress/MySQL junkie and want simple instructions: Find your wordpress config file.  Mine, on a Debian system, was in /etc/wordpress/config-rusty.ozlabs.org.php It will contain lines like this: define('DB_NAME', 'rustyozlabsorg'); define('DB_USER', 'rustyozlabsorg'); define('DB_PASSWORD', 'g1812fbsa'); You need to open the mysql database, we're going to do some brain surgery to remove the old cruft: $ mysql --user=rustyozlabsorg --password=g1812fbsa rustyozlabsorg This should give you a "mysql>" prompt, where you type the following: DELETE FROM wp_options where option_name='GoogleAnalyticsPP'; It should say something like "Query OK, 1 row affected (0.00 sec)". Then type quit; You're done.  Reload your setting page and try again. Hope that gets into Google and helps someone else who can't figure out what's going on!
    • og:url
      https://rusty.ozlabs.org/2009/10/27/google-analytics-for-wordpress-upgrade-fail.html
    • og:site_name
      Rusty Russell’s Quiet Corner of The Internet
  • Twitter Meta Tags

    1
    • twitter:card
      summary
  • Link Tags

    3
    • alternate
      https://rusty.ozlabs.org/feed.xml
    • canonical
      https://rusty.ozlabs.org/2009/10/27/google-analytics-for-wordpress-upgrade-fail.html
    • stylesheet
      /assets/main.css

Emails

1

Links

6