Server ip to Domain

I always run queries in phpmyadmin http://www.phpmyadmin.net or adminer http://www.adminer.org/: UPDATE wp_options SET option_value = replace(option_value, ‘http://www.olddomain.com/’, ‘http://www.newdomain.com/’) WHERE option_name=”home” OR option_name=”siteurl”; UPDATE wp_posts SET guid = replace(guid, ‘http://www.olddomain.com/’,’http://www.newdomain.com/’); UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.olddomain.com/’, ‘http://www.newdomain.com/’); Yes, some will say to never change the GUID, but changing the domain gives you no choice. Your … Read more

2 WordPress install with same database

Do not alter any table names. In both sites (just to be sure) in wp-config.php set the WP_SITEURL and WP_HOMEURL to the related domain so these constants should be http://wow7.ro on the main domain install and http://lol.wow7.ro on the subdomain install. See Codex. Note that it doesn’t work for links insrted inside post or page … Read more

Missing domain http://./wp-… in redirects

Possible solution: * go to permalinks under settings and check URL structure with your desired domain name. Even if the URL seems to be right, click the desired structure and save. This was handy while i migrated 2 websites. or * look for “wp_options” table in your database. You will find “siteurl” & “baseurl” row. … Read more

Move domain for WordPress site

For doing that you have to change Site Address in General settings, for the new domain set domain destination to point the directory where wordpress is installed and make sure you change hard coded url to point them to the new domain. For more info please read Changing The Site Url >> WordPress Codex