by blindlemon1983 » Fri Oct 12, 2007 11:55 am
Mod rewrite is enabled and allowed.
I do have other code though, here's my full mod-rewrite code...
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/WebLinks(/.*)?$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?africapic\.com(/.*)?$ [NC]
RewriteRule \.jpg$ - [NC,F]
RewriteRule ^stock-photography-([a-zA-Z_()0-9]+)-([a-zA-Z_()'"0-9]+)-photos-pictures-images-([0-9]+)\.html$ /index.php?pId=102&id=$3&start=0 [L]
# Sitemap URLS
RewriteRule ^(.*)-pictures-([0-9]+)\.html$ /index.php?pId=102&id=$2&start=0 [L]
RewriteRule ^pictures-of-([a-zA-Z_()'"0-9]+)-stock-photography-photos-([0-9]+)\.html$ /index.php?pId=102&id=$2&start=0 [L]
# Sitemap Galleries Previous
RewriteRule ^gallery/([a-zA-Z]+)/([a-zA-Z]+)/([0-9]+).html$ /index.php?category=gallery/$1/$2&start=$3 [L]
RewriteRule ^gallery/([a-zA-Z]+)/([0-9]+).html$ /index.php?category=gallery/$1&start=$2 [L]
RewriteRule ^gallery/([a-zA-Z]+)/([a-zA-Z]+)/([a-zA-Z]+)/([0-9]+).html$ /index.php?category=gallery/$1/$2/$3&start=$4 [L]
RewriteRule ^gallery/([a-zA-Z]+)/([a-zA-Z]+)/([a-zA-Z]+)/([a-zA-Z]+)/([0-9]+).html$ /index.php?category=gallery/$1/$2/$3/$4&start=$5 [L]