Change wp-content without changing the name of the folder

Strip the preceeding forward slashes from your rules: Example (incorrect) RewriteRule ^/css/(.*) /wp-content/themes/themename/css/$1 [QSA,L] Example (correct) RewriteRule ^css/(.*) wp-content/themes/themename/css/$1 [QSA,L] All rules (correct) # BEGIN WordPress <IfModule mod_rewrite.c> RewriteRule ^/index\.php$ – [L] RewriteRule ^css/(.*) wp-content/themes/themename/css/$1 [QSA,L] RewriteRule ^js/(.*) wp-content/themes/themename/js/$1 [QSA,L] RewriteRule ^img/(.*) wp-content/themes/themename/img/$1 [QSA,L] RewriteRule ^font/(.*) wp-content/themes/themename/font/$1 [QSA,L] RewriteRule ^plugins/(.*) wp-content/plugins/$1 [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f … Read more

Cant block wordpress readme files

You don’t really need these: Redirect 404 /install.php Redirect 404 readme.html To block readme.html you do this: <files readme.html> order allow,deny deny from all </files> For other kind of files you need do the same just change file name in code.

Rewrite rule not working

If this address already gets traffic (from inbound links etc.) why don’t you try a good old fashioned redirect like this: Redirect 301 /sca/project_0 http://www.yourdomain.com/sca?urn=project_0 # 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> Or use the 301 redirect in … Read more

Move wordpress to folder without changing urls

Method 1: You can export your data from “Tools > Export” and for ensure export from database and rename old blog folder, then install WordPress in root & active WordPress Network. set url structure for new blog to sub-folder. now create new blog with “blog” name, login to blog & import old blog data. Your … Read more

Error:406 not acceptable

I had a similar problem recently with this 406 Not Acceptable error occurring when trying to update permalinks in WordPress. I also had the same problem when submitting any changes to the editor, etc. Google Webmaster tools would yield the same result. The solution is to disable the mod_security firewall within your .htaccess file. My … Read more