Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter redone75

    (@redone75)

    Well, I figured out a solution. Not the ideal way I mentioned above, but a rather quick switch.

    1. Logged into wordpress admin (sitename.net).
    2. Go to the Administration > Settings > General panel.
      In the box for WordPress address (URI): change the address to the sitename.com
      In the box for Blog address (URI): change the address to the sitename.com
    3. Click Save Settings.
    4. Renamed “sitename.net” directory to “sitename.com”
    5. Logged into PHPmyAdmin
    6. Changed Siteurl & Homeurl
      UPDATE wp_options SET option_value = replace(option_value, 'http://sitename.net','http://sitename.com') WHERE option_name = 'home' OR option_name = 'siteurl';
    7. Changed GUID
      UPDATE wp_posts SET guid = REPLACE (guid, 'http://sitename.net','http://sitename.com');
    8. Change URL in Content
      UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://sitename.net','http://sitename.com');

    SQL help from this post: http://www.tipstechtricks.com/2010/05/13-wordpress-sql-queries-to-know.html

    Thread Starter redone75

    (@redone75)

    I’m using a band-aid fix while I try to figure out what’s causing this. If anyone’s interested, here’s what I did.

    Since I’m already using jquery on the homepage and throughout the site, I tapped into it to solve the issue visually by placing the following code after the main nav:

    <?php if (is_home()){
    	echo '<script>
    	     $("#menu-main-menu li:contains(\'Home\')").addClass("current_page_item");
        	  </script>';
    } ?>
Viewing 2 replies - 1 through 2 (of 2 total)