Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

ARTIO JoomSEF installation
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: ARTIO JoomSEF installation

ARTIO JoomSEF installation 18 years, 2 months ago #412

  • antonyaddy
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

Re:ARTIO JoomSEF installation 18 years, 2 months ago #456

  • jirka
Hi Antony,

is the RewriteBase applicable to your configuration? This is in fact the only setting that might need to be adjusted in each Joomla installation as it depends on what is your site root dir location relative to the webserver root.

If it is same, then / should be ok, otherwise you need to specify the correct patch.

If this is set correctly, you should also check that the mod_rewrite module is installed in your Apache server and works ok. As the next step also make sure .htaccess file are allowed to configure Rewriting directives.

You write your website has stopped suddenly -- this might be connected with some change in the webserver configuration. Alternativelly there could be also some DB problems where JoomSEF stores the generated URLs.

Best regards,
Jirka
  • Page:
  • 1
Přihlášení uživatele Prázdný