Hot answers tagged

2

The solution to restrict access to author's archives with .htaccess rule does pretty decent job. However, not everyone can edit or have access to .htaccess, especially on shared hosting accounts. The code below require PHP version 5.3+. Here is the solution which deals with the problem on WordPress level. Put this code in your theme's function.php file: &...


1

It was a server missconfiguration in httpd.conf: <Directory /> AllowOverride None </Directory> had to be changed in AllowOverride All. I should have realized this sooner, but it eluded me since I thought the override was working on the main installation, but it wasn't. I didn't notice it, because it was a one-page website. Once I turned ...



Only top voted, non community-wiki answers of a minimum length are eligible