htaccess problem after saving Settings

Ok I figured this out and I am providing answer just for the case that someone else experiences this problem. The problem was in the plugin that was used on the original automatic installation of the WordPress done via Mojo Marketplace. The name of the plugin was Endurance PHP Edge and it was not in … Read more

Does this .htaccess security setting really work?

It appears to prevent any POST requests to wp-login.php that aren’t made from a page on my-domain.com. When the browser sends a POST request, say after submitting a form, it will include a HTTP Referrer header telling the server where the request came from. This theoretically prevents bots submitting POST requests directly to wp-login.php as … Read more

WordPress site hacked. Has .htaccess been hacked?

About Hacked sites: First of all, let’s be clear about issues related to hacking: If your site was genuinely hacked, then in short of completely erasing all the files and then reinstalling the server (not just WordPress) with new passwords, updating all files and identifying and removing previous loop holes that caused the site to … Read more

Improve wordpress security by hiding non public resources

Using remove_action() can be remove unnecessary links for example: remove_action(‘wp_head’, ‘rsd_link’); //removes EditURI/RSD (Really Simple Discovery) link. remove_action(‘wp_head’, ‘wlwmanifest_link’); //removes wlwmanifest (Windows Live Writer) link. remove_action(‘wp_head’, ‘wp_generator’); //removes meta name generator. remove_action(‘wp_head’, ‘wp_shortlink_wp_head’); //removes shortlink. remove_action( ‘wp_head’, ‘feed_links’, 2 ); //removes feed links. remove_action(‘wp_head’, ‘feed_links_extra’, 3 ); //removes comments feed.

Default .htaccess file for WordPress?

Here is the default code for that file. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress you can check it here for default htaccess file. http://codex.wordpress.org/Using_Permalinks. Thanks. I hope it helps little.

Best collection of code for your .htaccess file [closed]

These are 3 snippet for better performance, regarding Yahoo! rules: Disable Etags: Header unset ETag FileETag None Add expire headers: <FilesMatch “\.(ico|jpg|jpeg|png|gif|js|css|swf)$”> Header set Expires “Tue, 16 Jun 2020 20:00:00 GMT” </FilesMatch> Or ExpiresActive On ExpiresByType text/html “access plus 1 day” ExpiresByType image/gif “access plus 10 years” ExpiresByType image/jpeg “access plus 10 years” ExpiresByType image/png … Read more

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