.htaccess home configuration

Try this: <IfModule mod_rewrite.c> RewriteCond %{HTTP_HOST} ^www\.mydomain\.com [NC] RewriteRule ^(.*)$ http://mydomain/.cl/c/news/.com/$1 [L,R=301] </IfModule>

Htaccess remove dates from root site but not from subdomain

I figured out my own answer, so am posting it here so if someone else runs into the same problem, they can see what I did. The issue for me was that the base WordPress redirect code: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} … Read more

Does htaccess password keep search engines out?

Not really a WP question, but I do this with dev sites. I don’t think I can give you an absolute answer as to search engines’ behavior, but speaking from experience, adding authentication like htpasswd retroactively would cause an eventual departure from search results. Adding auth proactively has produced effective results for me. The search … Read more

Steps for WordPress over SSL

It is not absolutely necessary to add anything to the config file. However it’s a good idea to do a test to look for any unsecured Http calls, such as stylesheets or Scripts. A good resource for this is https://www.whynopadlock.com/. The force SSL Setting can sometimes help with requests coming from plug-ins or anything you … Read more

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