-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
57 lines (20 loc) · 1.31 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
RewriteEngine On
RewriteCond %{HTTP_HOST} ^caricaturetoons\.com$
RewriteRule (.*) http://www.caricaturetoons.com/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !^show_text/([^/\.]+)/([^/\.]*)$
RewriteRule ^show_text/([^/\.]+)/([^/\.]*) includes/show_text.php?text=$1&size=$2 [L]
RewriteCond %{REQUEST_URI} !^artist/([^/\.]+)/([^/\.]*).html$
RewriteRule ^artist/([^/\.]+)/([^/\.]*).html $2\.php?art_id=$1 [L]
RewriteCond %{REQUEST_URI} !^category/([^/\.]+)/([^/\.]*).html$
RewriteRule ^category/([^/\.]+)/([^/\.]*).html $2\.php?cat_id=$1 [L]
RewriteCond %{REQUEST_URI} !^subcategory/([^/\.]+)/([^/\.]+)/([^/\.]*).html$
RewriteRule ^subcategory/([^/\.]+)/([^/\.]+)/([^/\.]*).html $3\.php?cat_id=$2&mcat_id=$1 [L]
RewriteCond %{REQUEST_URI} !^maincategory/([^/\.]+)/([^/\.]*).html$
RewriteRule ^maincategory/([^/\.]+)/([^/\.]*).html $2\.php?mcat_id=$1 [L]
RewriteCond %{REQUEST_URI} !^caricatures/toons-ideas/([^/\.]*)$
RewriteRule ^caricatures/toons-ideas/$ triathlon-caricature-toons-ideas.php [L]
RewriteCond %{REQUEST_URI} !^caricatures/toons-ideas/gallery/([^/\.]*)$
RewriteRule ^caricatures/toons-ideas/gallery/([^/\.]*) toon_idea_gallery.php?toon_gallery_name=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/\.]+).php$ index.php [L]