Pretty Permalinks htaccess code

Joomla version 1.0 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
StreetChariot
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Tue Feb 27, 2007 7:17 pm

Pretty Permalinks htaccess code

Post by StreetChariot » Tue Feb 27, 2007 11:13 pm

If you are using PPL's or SEO's as they are called here (I believe), use the following code in your .htaccess file to get them to display properly.

Only add this code if they are not displaying properly.
Example: The frontpage works, but clicking any CMS item causes the system to throw a  "404 not found" error.


Thanks!

Code: Select all


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Last edited by StreetChariot on Wed Feb 28, 2007 1:57 am, edited 1 time in total.

User avatar
RussW
Joomla! Exemplar
Joomla! Exemplar
Posts: 9349
Joined: Sun Oct 22, 2006 4:42 am
Location: Sunshine Coast, Queensland, Australia
Contact:

Re: Pretty Permalinks htaccess code

Post by RussW » Wed Feb 28, 2007 4:04 am

If you look in the " / " Joomla! directory, you should see a htaccess.txt file, this file should contain all the appropriate SEO/SEF re-writes that are required, including some additional conditions that cater for common exploit attempts.
Joomla! on the fabulous Sunshine Coast...
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/


Locked

Return to “Installation - 1.0.x”