But now when I login it does like before and takes me to the 404 page instead of the forum.
This issue comes up because of the htaccess file edits that I did to get the custom 404 page working again. Don't know how this happened because I thought that great care was taken to only change the 404 redirect code, as seen here:
# Error Document -- Handled by a TinyPortal page
ErrorDocument 404 /FamilyForum/index.php?page=208
But, when comparing the file previously in use, (.htacess-old) to the current file in use, (.htaccess) the differences in the code are rather obvious.
It may take me a few days to sort it out, not doing so great just now.
htaccess code:
RewriteEngine on
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php70†package as the default “PHP†programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php70 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
# Error Document -- Handled by a TinyPortal page
ErrorDocument 404 /FamilyForum/index.php?page=208
RewriteCond %{HTTP_HOST} ^.*$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/ourfamilyforum\.org\/FamilyForum" [R=301,L]
htaccess-old code:
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/www\.ourfamilyforum\.org\/FamilyForum\/" [R=301,L]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php70†package as the default “PHP†programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php70 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
EDIT: ...spelling.