Hi all,
I'm going to take this from the top as I've read through the forum and still cannot solve my problem.
This afternoon my 404SEF component stopped working and when it was enabled for some reason my homepage read
The page you are trying to access does not exist.
Please select a page from the main menu.
When I switched 404SEF off, the site went back to normal, unfortunately without the .html links I had previously created.
I have since uninstalled that version and replaced it with ARTIO's version. When I enable it, the same problem. My research told me that I had to do something with the .htaccess file, so I disabled JoomSEF and changed the .htaccess file to read as follows:
Options +FollowSymLinks
DirectoryIndex index.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_URI} (/|.htm|.php|.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
# Security x 2 #
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
The above code has already worked for someone on this forum, so I don't understand why it doesn't for me. I simply got the
The page you are trying to access does not exist.Please select a page from the main menu.
message when I enabled JoomSEF again.
I have a Joomla run site hosted by Siteground, version 1.08 if that matters at all even though I don't think it does.
Could someone please help me to sort this problem with the .htaccess file if it is indeed that? If not, what else could the problem be?
Thank you for your time,
Antony