Hi Folks.
Sorry for the delayed response, but I'm living in the North of Thailand (Chiang Mai), so if you guys are in the US, Canada, or Europe, there's going to be quite a time difference between us.
Hi snakes1100, thanks for helping to identify the area of the problem yesterday. I guess the difficulty now is how to fix it. The strangest thing is the unknown reason(s) why these issues have materialized in the first place, when previously there were none. I mean, none of these .htacess files have been modified between then and now, which is why I was thinking some WP update might have caused a conflict somewhere.
I did wonder too if a WP plugin might have been the cause, but I've since deactivated all of them, with no success.
Hi Lynne. Below is the code from the /public_html/forum/.htaccess as requested. Hope it makes some sense?
Code:
RewriteEngine on
# This file is only needed if you have set the Forum Component URL in your admincp and you are
# using the mod_rewrite option for friendly urls. If this is the case, copy this file
# to your forum component stub directory.
# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
# RewriteBase /forum-stub-directory/
# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews
# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*calendar\.php\ HTTP/
RewriteRule ^(.*)calendar\.php$ /$1 [R=301,L]
RewriteRule ^(50adm)($|/) - [L]
And here's what I discovered when working with snakes1100 yesterday:
The guy that installed and custom built the forum said that the issue with admincp denied access could be resolved by removing the line: RewriteRule . /index.php [L] from the /public_html/.htaccess file, and it can. But that line is also needed for the WordPress site to function, so its removal is not an option.
However, removing RewriteRule . /index.php [L] from the /public_html/ directory only allows access to the adminCP but it does not allow access to the forums, whereas temporarily removing the .htaccess file by renaming it without the dot, does allow access to ALL forum pages, but once again, it can't stay that way because it disrupts the WordPress site.
Like I've said previously, I don't understand most of what I'm writing here, so apologies if my lack of technical skills in this areas make it difficult to understand what I'm trying to say.
Thanks, as always, for any help and suggestions given.
Andy