Thanks for the reply.
I had previously found that article and added:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# Fix 403 errors on existing directories; WordPress overrides.
RewriteCond %{REQUEST_URI} ^/(wordpress)/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /index.php [L]
# END WordPress
To the top of my htaccess file with no success.
-
This reply was modified 6 years, 6 months ago by
ericroks. Reason: formatting
Joy
(@joyously)
Yeah, that [L} on the end of the line means “Last”, so it likely doesn’t even get to your new lines.
You could edit the option table to change the permalink option back again.
I am sorry, Joy, I am not familiar… where can I find the “option table”?
Joy
(@joyously)
In your host control panel, there is typically phpMyAdmin and you can manipulate the database directly.
You might need to do some research to figure out what the name of the option is and what it should be set to.
I was able to find wp_options in the AQL database and it was a blank field. I checked up on it and, it appears that blank is the default setting.
Yet, the 403 still persists.
I then found this (https://wordpress.stackexchange.com/questions/58625/where-is-permalink-info-stored-in-database) and added the following into “permalink_structure”:
[(.?.+?)/page/?([0-9]{1,})/?$] => index.php?pagename=$matches[1]&paged=$matches[2]
[(.?.+?)/comment-page-([0-9]{1,})/?$] => index.php?pagename=$matches[1]&cpage=$matches[2]
[(.?.+?)(/[0-9]+)?/?$] => index.php?pagename=$matches[1]&page=$matches[2]
…still no luck.
-
This reply was modified 6 years, 6 months ago by
ericroks. Reason: formatting
Update:
I was chatting with my hosting provider and they found a very small error that was easy to overlook.
The .htaccess file was missing the “dot” at the beginning of the filename.
It would appear that when I saved the changed Permalink settings, the subsequent .htaccess regeneration by WP forgot to add the “dot” before the “htaccess”. This may have something to do with the fact that it is a beta/dev site on a subdomain, but that is just a hypothesis.
This caused the entire site (front & back-ends) to generate a 403 (and a 500 in some cases).
I hope this information helps others in the future.
Thank you for your responses & cheers!
Organize your .htaccess data like.
–TR–
.htaccess dosyasını aşağıdaki gibi revize ederseniz sorununuz çözülür.
# 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>
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
# END WordPress
-
This reply was modified 6 years, 3 months ago by
bymaximum.
-
This reply was modified 6 years, 3 months ago by
bymaximum.