My website shows "Error 404 - Not Found"

Avatar
  • 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 (www.hoomie.com.au) working fine, and all my hyperlink automatically removed the "index.php". BUT when I clicked into the other pages such as "www.hoomie.com.au/hh/about", the link won't work at all, this link "http://www.hoomie.com.au/hh/index.php/about" 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 (.*) http://www.hoomie.com.au/$1/ [R=301,L]
#Change http://hoomie.com.au to http://www.hoomie.com.au (Optional)
RewriteCond %{HTTP_HOST} ^hoomie.com.au$
RewriteRule ^/?(.*)$ http://www.hoomie.com.au/$1 [R=301,L]
#Rewrites http://www.hoomie.com.au/hh to http://www.hoomie.com.au/
RewriteCond %{REQUEST_URI} !^/hh
RewriteRule ^(.*)$ hh/$1 [L]
Avatar
JeffMa
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.