My website shows "Error 404 - Not Found"

  • Answered
My website was built up with Joomla 3, and after I found a tutorial online of .htaccess, I'd turned on "User URL rewriting" under my Joomla back-end. All my website ( working fine, and all my hyperlink automatically removed the "index.php". BUT when I clicked into the other pages such as "", the link won't work at all, this link "" is working.

The Support Team (submit a ticket) told me to get assistance from Community Support. Thank you.

The .htaccess code below were the one I placed under my public_html:

RewriteEngine On
RewriteBase /
# This section must come first!
# Add trailing slash if path does not contain a period or end with a slash
RewriteCond %{REQUEST_URI} !(.|/$)
RewriteRule (.*)$1/ [R=301,L]
#Change to (Optional)
RewriteCond %{HTTP_HOST} ^$
RewriteRule ^/?(.*)$$1 [R=301,L]
#Rewrites to
RewriteCond %{REQUEST_URI} !^/hh
RewriteRule ^(.*)$ hh/$1 [L]
As it does look like you had two different Joomla installations, one being within a directory labeled "hh", you would need htaccess rewrites within this directory as well. It does look like you had the default htaccess.txt file within that folder in which I renamed to .htaccess to make it active. Now that the file has been renamed, your pages are no longer giving 404 errors.