Unstoppable Domains

Mod_rewrite - Rewrite everything BUT one specific URI.

Spaceship Spaceship
Watch

Barrucadu

Established Member
Impact
64
Here's my current .htaccess:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

I would like it to do what it does now - but not rewrite URIs in the form of /stats/*
I use DreamHost and so to access the stats I have to go to www.domain.com/stats/, but that is being rewritten and treated like a wordpress page name - which it obviously isn't. I'm also using Google Analytics for stats, but I'd prefer to see the DreamHost ones.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
hmmn, you could try
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/stats/$
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back