Monthly Archives: August 2012

Moving a WordPress database to another domain

Posted by & filed under Wordpress.

Here are the SQL queries to update a WordPress database from one domain to another: # define var for old site SET @old_path = ‘http://oldsite.com’ COLLATE utf8mb4_unicode_ci; # set var for new site SET @new_path = ‘http://newsite.com’ COLLATE utf8mb4_unicode_ci; UPDATE wp_options SET option_value = replace( option_value, @old_path, @new_path ) WHERE option_name = ‘home’ OR option_name… Read more »

IE7 CSS dropdown menus

Posted by & filed under CSS.

Problem: The dropdown ULs are positioned behind the content instead of on top of it, which is also causing it to ‘disappear’ when you try to move the mouse onto it. Answer: See http://jonathanstegall.com/2009/01/15/ie-z-index-bug-with-css-dropdown-menu/