I’ve been given a wordpress site to do some development work on (I didn’t do any of the initial development on it). I’ve installed it locally and am running it with XAMPP on Windows 7. I generated the database from a mysqldump file and I made the changes to wp-config to link to the database. After also changing the URL values in the wp_options table (they were set to the path of the live site) I got it working so that all the posts and settings are are showing up in the wp-admin console. Also on the frontpage the blog item excerpts list is populating correctly and all the layout and images are loading fine. The problem is that when I click through to an article it returns a 404 object not found error. The URL path to the article page looks to be correct.
Would really appreciate it if anyone had any suggestions on what may be wrong and what I need to do get the article display pages working. I figure it must still have something to do with an incorrect base URL path being set somewhere, but can’t find any other places where it would need to be changed
Thank you!
my first thought is that it is a permalinks issue. if it is, set your permalinks to default and the links should work correctly.
also, be sure to search the database for (and replace) any other instances of the old live site’s URL, particularly in wp_posts table. it’s easy to forget to update guid and post_content [i.e., UPDATE wp_posts SET guid = REPLACE (guid, ‘http://www.livesiteurl.com’, ‘http://www.newsiteurl.com’)]