-
Notifications
You must be signed in to change notification settings - Fork 8
/
.htaccess
27 lines (22 loc) · 1.12 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
RewriteEngine on
RewriteRule includes/ipn_listner.incl.php includes/ipn_listner.incl.php [L]
RewriteRule contact index.php?p=contact [L]
RewriteRule view/(.*) index.php?p=view-product&id=$1 [L]
RewriteRule Basket/Notavailable/(.*) index.php?p=view-basket&variationNotAvailable=$1 [L]
RewriteRule Basket/Remove/(.*) index.php?p=remove-from-basket&variationId=$1 [L]
RewriteRule Basket/add/(.*) index.php?p=add-to-basket&action=$1 [L]
RewriteRule Basket index.php?p=view-basket [L]
RewriteCond %{REQUEST_URI} !^/Dropbox/unicenta-web-frontend/index.php$
RewriteCond %{REQUEST_URI} !^/Dropbox/unicenta-web-frontend/$
RewriteCond %{REQUEST_URI} !^/Dropbox/unicenta-web-frontend/index.*$
RewriteCond %{REQUEST_URI} !^/Dropbox/unicenta-web-frontend/templates.*$
RewriteCond %{REQUEST_URI} !^/Dropbox/unicenta-web-frontend/images.*$
RewriteCond %{REQUEST_URI} !^/Dropbox/unicenta-web-frontend/admin.*$
RewriteCond %{REQUEST_URI} !/includes/getImage.php*$
RewriteRule (.*) index.php?p=view-category&id=%{REQUEST_URI} [L]
#//If page request is not equal to:
# >contact
# >about
# >storefinder
# >basket
# Then pass the request to index.php?p=request