Set wp-content folder to Dropbox folder

You will need to create an alias to your Dropbox folder so those files can be accessed on your server. This can be done in httpd.conf: Alias /dropbox /Users/seth/Dropbox Or you could make a direct alias to the real wp-content folder: Alias /wp-content /Users/seth/Dropbox/Xammp-Content/wordpress/wp-content/ Then set WP_CONTENT_URL in wp-config.php appropriately: define( ‘WP_CONTENT_URL’, ‘http://localhost/dropbox/Xammp-content/wordpress/wp-content’ );

how to use is_admin in wp-config.php

I would be careful doing this, because you are assuming all your database modifications will only happen within the admin backend, but that might not always be the case. The wp-cron comes to mind, but there are also some plugins that use front-end writes. So you might get nasty sync problems with your two databases, … Read more

Website redirecting to old domain name

There are a few variables that need to be changed in order for you to update to the new link on your WordPress site. As mentioned by Mark, try the following steps using the Search Replace DB tool: Go and download Interconnect IT’s Database Search & Replace Script here Unzip the file and drop the … Read more

wp-config.php file permissions

Which file and directory permissions should I set on a new WordPress/LAMP installation? There is no definite answer to this. It varies depending on the server setup. The rule of thumb is to use the minimal permission to make WordPress work on a server. This means to start with 400 (or 600) and go from … Read more

How to move theme directory but not plugins/uploads out of WordPress root directory?

http://codex.wordpress.org/Function_Reference/register_theme_directory /** * Register a directory that contains themes. * * @since 2.9.0 * * @param string $directory Either the full filesystem path to a theme folder or a folder within WP_CONTENT_DIR * @return bool */ function register_theme_directory( $directory ) You should be able to call register_theme_directory(‘/full/path/to/directory’) and thus add a new path full of … Read more

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