Basic Joomla SEF and 'external' link

Discuss Search Engine Optimization in relation to Joomla!. This forum will also have discussions on SEF/SEO Joomla! extensions.

Moderator: General Support Moderators

Locked
balooka
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 27, 2008 3:10 pm

Basic Joomla SEF and 'external' link

Post by balooka » Mon Sep 29, 2008 4:51 pm

Hi

I have the basic Joomla SEF working nicely, and everything resolves to URLs like www.domain.com/venues - www.domain.com/contact etc. This is perfect, however, I have a folder called stats (provided by my host, running Analog) and I can't reach the folder! Joomla thinks that www.domain.com/stats is a joomla site so it starts to look for it and returns an errormessage.

The htaccess file needs to be modified, but I have no clue where to start. Anyone any hints?

Thanks!

maiahost
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 116
Joined: Sat Jan 19, 2008 12:59 pm

Re: Basic Joomla SEF and 'external' link

Post by maiahost » Tue Sep 30, 2008 4:00 pm

Something like :

Code: Select all

RewriteCond %{REQUEST_URI} !^/stats$
RewriteCond %{REQUEST_URI} !^/stats/(.*)
Should prevent .htaccess from rewriting the directory.

balooka
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 27, 2008 3:10 pm

Re: Basic Joomla SEF and 'external' link

Post by balooka » Tue Sep 30, 2008 6:03 pm

Thanks malahost

I've figured it out already :)

All I did was add this to the conditions:

Code: Select all

RewriteCond %{REQUEST_URI} !^/stats/(.*)$ 
RewriteCond %{REQUEST_URI} !^/failed_auth.html$


Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 1.5”