Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- # use this base for lab
- # RewriteBase /goldoller.com/
- # use this base for production
- RewriteBase /
- RewriteCond %{HTTP_HOST} ^goldoller.com [NC]
- RewriteRule ^(.*)$ http://www.goldoller.com/$1 [R=301,NC]
- RewriteRule ^portal$ portal/ [R]
- RewriteRule ^portal/$ portal/index.php [L,QSA]
- RewriteRule ^blog/(.*)$ blog/$1 [L,QSA]
- RewriteRule ^([^\/\.]+)$ $1/ [R]
- # properties
- RewriteRule ^our-properties/details/([^\/\.]*)/$ p.php?l=our-properties&pl=$1 [L,QSA]
- RewriteRule ^our-properties/page/([^\/\.]*)/$ p.php?l=our-properties&page=$1 [L,QSA]
- # search
- RewriteRule ^search/([^\/\.]*)/$ p.php?l=search&search-text=$1 [L,QSA]
- # tertiary
- RewriteRule ^([^\/\.]*)/([^\/\.]*)/([^\/\.]*)/$ p.php?pp=$1&p=$2&l=$3 [L,QSA]
- RewriteRule ^([^\/\.]*)/([^\/\.]*)/([^\/\.]*)/\#([^\/\.]*)$ p.php?pp=$1&p=$2&l=$3\#$4 [L,QSA]
- # secondary
- RewriteRule ^([^\/\.]*)/([^\/\.]*)/$ p.php?p=$1&l=$2 [L,QSA]
- RewriteRule ^([^\/\.]*)/([^\/\.]*)/\#([^\/\.]*)$ p.php?p=$1&l=$2\#$3 [L,QSA]
- # primary
- RewriteRule ^([^\/\.]*)/$ p.php?l=$1 [L,QSA]
- RewriteRule ^([^\/\.]*)/\#([^\/\.]*)$ p.php?l=$1\#$2 [L,QSA]
Advertisement
Add Comment
Please, Sign In to add comment