Menu Content

Support

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

JoomSEF Solution for Netfirms Servers
(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
  • 2

TOPIC: JoomSEF Solution for Netfirms Servers

JoomSEF Solution for Netfirms Servers 17 years, 11 months ago #1387

I am new to joomla so I am still testing it on my site along with components like JoomSEF. Joomla installed easily and works perfectly, but when I turned on the Joomla core SEF I had to change the .htaccess file as shown below.
 
[size=4]
[color=#0000FF]
Options +FollowSymLinks
 
RewriteEngine On
 
RewriteBase /
 
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/$1$2
[/color]
[/size]
 

You'll notice the rewrite rule has been changed and the RewriteBase is set to "/"
After installing JoomSEF, the frontpage loaded with SEF urls but all SEF urls ending with ".php" reloaded the frontpage and all SEF urls ending with a ".html" returned a 404 page. After a couple days of tinkering I got everything to work, but would like to know if anyone can explain why it only works with the .htaccess file shown below and how I might be able to fix it to work as it should.
 
[size=4]
[color=#0000FF]
Options +FollowSymLinks
 
RewriteEngine On
 
RewriteBase /subdirectory/
 
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
[/color]
[/size]
 

You'll notice I had to change the RewriteBase to the subdirectory that my domain already points to. "www.mydomain.com/" goes to my homepage. The subdirectory is in the main www directory for my netfirms account. Also, in order for all the SEF urls to redirect properly, I had to change the file suffix in the JoomSEF configuration to ".php"
The server is Apache with php running as a cgi.

Re:JoomSEF Solution for Netfirms Servers 17 years, 11 months ago #1388

I changed the prefix from html to php and that worked.

thanks SO much for the post!!

Re:JoomSEF Solution for Netfirms Servers 17 years, 8 months ago #1727

  • zen
  • OFFLINE
  • Posts: 25
Experiencing exactly the same symptom as Luke with NetFirm account.

I prefer not to have .php prefix for my links (no prefix preferred).

Has anyone found a workaround for this?<br><br>Post edited by: zen, at: 2007/04/07 21:19

Re:JoomSEF Solution for Netfirms Servers 17 years, 8 months ago #1728

  • zen
  • OFFLINE
  • Posts: 25
<br><br>Post edited by: zen, at: 2007/04/07 21:37

Re:JoomSEF Solution for Netfirms Servers 17 years, 8 months ago #1783

  • zen
  • OFFLINE
  • Posts: 25
Any update on this, team?

Re:JoomSEF Solution for Netfirms Servers 17 years, 8 months ago #1844

  • 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
  • 2
User Login Empty