Joomla SEF Page Script for Namesco Zeus Server

June 18, 2014

A while back I posted the solution I use for WordPress friendly URL’s on a Namesco Zeus server and it seems to have helped out a bunch of people so I thought I’d publish the script I use on Joomla.

Joomla’s standard friendly URL’s use the mod_rewrite function in an htaccess file which isn’t available when hosting on a Zeus server. You need to provide a script called rewrite.script that uses intructions Zeus understands.

Below is the code I use in my rewrite.script file. Take this code, paste it in a text editor and save it as rewrite.script. Then upload it to the web root of your Joomla installation.

map path into SCRATCH:path from %{URL}
look for file at %{SCRATCH:path}
if matched then goto RULE_END
look for dir at %{SCRATCH:path}
if matched then goto RULE_END
match URL into $ with ^/index.php
if matched then goto RULE_END
insensitive match URL into $ with (/|\.php|\.html|\.feed|\.pdf|\.raw|/[^.]*)$
if matched then set URL = /index.php
RULE_END:

Next go to your Joomla Global configuration and switch the Friendly URL’s on.

Joomla SEF on Namesco Zeus

And fingers crossed you should have friendly URL’s switched on.

If it doesn’t work, just switch them off again in your global configuration.

Footnote – not being a Zeus server tech I’m not really sure how the script works, so can’t really supply any support on it.

UPDATE: The above script didn’t work for me when I was using SOBI2 on a Joomla site. Thankfully though Root Creative had posted a script on their site that worked perfectly. Try it if you have trouble with the one above, try Root Creative’s one.

{ 2 comments… read them below or add one }

Ali - Postal Gold June 23, 2014 at 8:20 am

Big fat thankyou, I followed your instructions and it worked liiiiike a charm. Magnificent.

Paul Bursnall September 13, 2014 at 8:30 am

I wish I could get this working. I’ve tried this and over ten other example scripts to no avail. Namesco’s converter tools is beyond useless as well. If you reading this before choosing a Joomla host, DO NOT go with a host using Zeus.

Leave a Comment

Previous post:

Next post:

microsoft search engines