View Single Post
Old 06-11-2009, 09:49 PM   PM User | #12
schleppel
Regular Coder

 
Join Date: Oct 2004
Posts: 330
Thanks: 0
Thanked 13 Times in 13 Posts
schleppel is an unknown quantity at this point
Relative paths can also be fixed with the HTML <base> element.

Code:
^blog\/(.+)$
does not match /blog/. Try
Code:
Options +FollowSymLinks

RewriteEngine On

# Ignore /blog and /images.
RewriteRule ^(blog|images)(/.*)?$ - [L]

RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ /index.php?page=$1z$2z$3z$4z$5 [L]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$         /index.php?page=$1z$2z$3z$4    [L]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/?$                 /index.php?page=$1z$2z$3       [L]
RewriteRule ^([^/]+)/([^/]+)/?$                         /index.php?page=$1z$2          [L]
RewriteRule ^([^/]+)/?$                                 /index.php?page=$1             [L]
schleppel is offline   Reply With Quote
Users who have thanked schleppel for this post:
samcroft (06-14-2009)