How to watermark wordpress images from wp-content/uploads folder with htaccess and php?

The rewrite condition !-f means “if file does not exist”. Since the files exist, the rule is never reached. Just changing the order should fix the problem. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^wp-content/uploads/(.*\.(jpe?g|gif|png))$ watermark.php?p=br&q=90&src=wp-content/uploads/$1 [L] RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>

Making WP Admin Folder accessable JUST under a different link

There’s a thread about this on the WordPress forums: http://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login?replies=13 The original article has three steps: (1) Add constant to wp-config.php define(‘WP_ADMIN_DIR’, ‘secret-folder’); define( ‘ADMIN_COOKIE_PATH’, SITECOOKIEPATH . WP_ADMIN_DIR); (2) Add this filter to functions.php add_filter(‘site_url’, ‘wpadmin_filter’, 10, 3); function wpadmin_filter( $url, $path, $orig_scheme ) { $old = array( “/(wp-admin)/”); $admin_dir = WP_ADMIN_DIR; $new = array($admin_dir); … Read more

Using subdomain as primary domain

Yes, it is 🙂 There are a few things you need to do, maybe I can point you in the right direction. If you haven’t already set up the virtual host on your server here are some instructions If you are trying to move an existing site you will need to use a database search … Read more

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