Website displays old version of page

I have faced similar issue while working for a client. The issue may cause due to following reasons. Check server configuration and server cache. ( This happens if you are using specialized wordpress hosting; the server admin configured some cache mechanism to increase performance) In this case you have to wait till the sever refresh … Read more

Connecting to wordpress database in my application [closed]

What you likely need is the function wp_insert_post(). In your backend (not the WordPress backend, just so we’re clear), you’ll need to do a minimal load of WordPress to allow wp_insert_post() to work. You can do this by define( ‘SHORTINT’, true ). Some additional reading on doing a minimal load of WordPress: Load minimum WordPress … Read more

Where is my mysql log on OS X?

As Chealion mentioned, there are several ways that your mysql could have been installed. Each of which will place your data dir and/or logs in different locations. The following command will give you (and us) a good indication of where to look. ps auxww|grep [m]ysqld # Putting brackets around the first char is a `grep`+`ps` … Read more

Files on Localhost, Database on Server

Yes, the 404 is because the local and remote server URLs are different. As a solution: You should set the local domain to be the same as the remote server In wp-config.php connect to the remote DB When you will need to access the remote server you’ll need to update the file hosts and comment … Read more