l0s
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress mod_rewrite returns 403 ForbiddenOk, I found a hack that made the problem go away. I’m not really satisfied with this solution, but I may be able to learn to live wit it. If someone has a better solution, I would certainly be interested to know.
It’s a permissions thing. My public_html directory used to be 701. I changed it to 705 and everything works fine.
-Los
Forum: Fixing WordPress
In reply to: WordPress mod_rewrite returns 403 ForbiddenI seem to be having the same problem. Links that are supposed to be rewritten return a 403. I began developing my site in a subdirectory called /weblog and everything was working perfectly. Then, I moved it up one level to my public_html directory and mod_rewrite seemed to stop working. I was sure to change the webroot setting in wordpress to use the new site root ( https://www.carlos-m.net/ instead of https://www.carlos-m.net/weblog/ ). I even went into the MySQL database and changed all instances of https://www.carlos-m.net/weblog/ to https://www.carlos-m.net/ . However, I still get 403s on addresses that should work. Below are some examples of URLs that work and do not work:
does not work: https://www.carlos-m.net/category/fiction/
works: https://www.carlos-m.net/index.php/category/fiction/
used to work: https://www.carlos-m.net/weblog/category/fiction/
I used the standard .htaccess generated by WordPress as well as the following, which I found in another forum:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.+$ /index.php/$1I can provide the .htaccess that WordPress generates if it would be helpful.
Any help at all would be appreciated. Thanks very much.
-Los