Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

JoomSEF 1.4 - htaccess configuration help needed
(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: JoomSEF 1.4 - htaccess configuration help needed

JoomSEF 1.4 - htaccess configuration help needed 17 years, 7 months ago #1726

  • zen
  • OFFLINE
  • Posts: 25
With some help from the hosting company (NetFirm), I have set up the htaccess file in the subdirectory (mysite.com/znew) as below:

RewriteEngine On
RewriteBase /znew/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (/|.htm|.php|.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_URI} !index.php
RewriteRule ^(content/|component/)(.*) index.php/$1$2

This works fine with Mambo built-in SEF on, but with ARTIO JoomSEF 1.4 installed, it returns 404 error on all pages.

ARTIO JoomSEF 1.4 has been working fine with all of my other Mambo installations with other hosting companies, so I'm not sure if this is the server specific conflict with JoomSEF.

Below is the System Info from my Mambo installation:

PHP built On: FreeBSD cgi4 4.10-RELEASE-p21
Database Version: 5.0.24a-log
PHP Version: 4.3.10
Web Server: Apache/1.3.34 (Unix) mod_fastcgi/2.4.2 mod_perl/1.26


Any input would be greatly appreciated.<br><br>Post edited by: zen, at: 2007/04/07 18:14

Re:JoomSEF 1.4 - htaccess configuration help neede 17 years, 7 months ago #1825

  • jirka
Hello,

please check that the 3rd party RewriteRules are uncommented in the .htaccess file. What you have posted here seem to be the standard Joomla/Mambo RewriteRules only.



RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section



########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php

Re:JoomSEF 1.4 - htaccess configuration help neede 17 years, 7 months ago #1839

  • zen
  • OFFLINE
  • Posts: 25
Here's an update.

RewriteEngine On
RewriteBase /znew/
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|.htm|.php|.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php


Now, with this version, it works with JoomSEF, but as described in this thread, I have to have the index.php (and not index.html) prefix in JoomSEF configuration in order for this to work.

How can I make htaccess to work with NO prefix entered?

Re:JoomSEF 1.4 - htaccess configuration help neede 17 years, 7 months ago #1845

  • jirka
Hello,

on our own site, the JoomSEF is configured with empty &quot;File suffix&quot; setting. Then, there are no .php or .html endings. As in this site - feel free to check.

Hopefully that is what you want?
I am a bit confused as .php is usually reffered to as &quot;file extension&quot; or &quot;suffix&quot;, but I think we understand each other.

Best regards,
ARTIO Support Team
  • Page:
  • 1
User Login Empty