Hi, I am very new to wordpress so please excuse my newbness....
I am trying to duplicate an instance of wordpress that is live on my local personal machine.
I restored the database locally
I downloaded all wordpress files into my new directory.
I changed the wp_config.php db settings
but found that my pathing is off. So I tried numerous things:
Tried setting
define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . '/wordpress-instance');
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/wordpress-instance');
I tried changing the wp_options 'site_url', 'home' to from http://siteurl.com to http://localhost/wordpress-instance
I queried the wp_options table and replaced all http://siteurl.com to http://localhost/wordpress-instance
Still... when I browse to home or any page all images that have relative pathing are broken/not showing up. (example: <img src="/website-images/image.png">).
Im out of answers. Any help on this would be most appreciated. Im sure its something small that I missed...
Thanks in advance!
ps. I read the "Moving WordPress" article, still no go.
Mike