Testing localhost WordPress site over LAN with iPad, iPhone

Go to Admin Panel > Settings > General and replace localhost with your ip-address for WordPress Address (URL) and Site Address (URL). Or go to wp-config.php and add define(‘WP_HOME’,’http://192.168.0.16′); define(‘WP_SITEURL’,’http://192.168.0.16′); And when you access to from other device you should go 192.168.0.16/directoryOfWordpress

Search and Replace in Windows XAMPP site

you have the new database selected, then run some sql updates and replacement commands on the tables notably, wp_options, wp_posts, wp_postmeta. UPDATE wp_options SET option_value = replace(option_value, ‘https://livesite.com’, ‘http://localhost/sitename’) WHERE option_name=”home” OR option_name=”siteurl”; UPDATE wp_posts SET guid = replace(guid, ‘https://livesite.com’,’http://localhost/sitename’); UPDATE wp_posts SET post_content = replace(post_content, ‘https://livesite.com’, ‘http://localhost/sitename’); UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘https://livesite.com’, … Read more

Page 404 Error on Localhost

In some instances (tried everything counts) I’ve had to (be sure I had a current xml export of the content + ftp back up of the wp-content dir + copy paste your customized CSS and other code) wipe the site, fresh install WP install all the plugins, theme, etc then import the xml and/or copy … Read more

wordpress redirect error in xampp

It’s because your new copy of the site localhost/mylisting is still hooked into same database as localhost/listing. So to avoid that, you have to point your new installation to a different database. to do that, goto your phpmyadmin and export your current db, then create new empty db and import into it. then goto newly … Read more