what are the chmod rights recommended to give for every folders of wordpress projects

http://codex.wordpress.org/Hardening_WordPress#File_Permissions / – The root WordPress directory: all files should be writable only by your user account, except .htaccess if you want WordPress to automatically generate rewrite rules for you. /wp-admin/ – The WordPress administration area: all files should be writable only by your user account. /wp-includes/ – The bulk of WordPress application logic: all … Read more

Two live WP websites – how to sync?

You have basically tree ways. WP API (JSON) Feed (XML) XMLRPC API I think the first solution via WP JSON API should be your prioritized way. The WP API will implement inside the core of WordPress in the next releases. Currently you can use it via plugin. I think, this is the standard for the … Read more

Editing post and page responding 503 Service Unavailable

Your scripts might be stuck in infinite loop, not producing a fatal error but causing the server to timeout the request after some time. Try installing xdebug for your OS/distribution (php-xdebug in recent Ubuntu versions) which will enforce a xdebug.max_nesting_level directive that should log an actual error and a call stack to help you identify … Read more

Changing the server path

WordPress doesn’t rely on server path, it relies on the URI. When the WordPress code is loaded, it will define the proper paths itself dynamically by using PHP constants like __FILE__, such as ABSPATH which is the absolute path to the WordPress’s installation. So, as long as your domain remains the same, you should not … Read more

How to Better Control WordPress Cron Jobs?

To disable WordPress Cron Jobs, place this in wp-config.php: define(‘DISABLE_WP_CRON’, true); To schedule a cron job in Linux with cPanel for example… This is the command you might run: wget -q -O – http://www.your-domain.org/wp-cron.php?doing_wp_cron >/dev/null 2>&1 The end of the above command just suppresses any output. Just pick the interval of your choice for setting … Read more

Can’t delete unwanted favicon

The default favicon location on your server gives a 404: http://www.steve.doig.com.au/favicon.ico Your blogs homepage source-code related to linking to another location is: <link rel=”icon” type=”image/png” href=”http://www.steve.doig.com.au/wordpress/wp-content/themes/grid-focus-public-10/images/favicon.ico”> Note: The file suffix is .ico which normally stands for an Microsoft Icon file. But names are not interesting for that. The type=”image/png” is correct here, it’s a PNG … Read more

Can you have multiple wordpress sites under the same domain?

Yes, instead of installing WordPress at root– example.com/— you’d create the “programs”, “sales”, and “learning” directories on the server and install a seperate WordPress instance in each directory. There is nothing special you need to do to make this work. I think you may end up happier if you create a network, though. Multisite, while … Read more

How might I setup a development server (local) and a test/production server (remote)

It’s quite difficult to keep data from a dev version in sync with data on the production site. But for an initial deployment, you are correct that it requires changes to wp-config.php and the database. Install WordPress on your dev machine, e.g. dev.example.com/blog/ Install WordPress on your production machine, preferably with the same folder structure … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)