Options +FollowSymLinks
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript



RewriteEngine On
RewriteRule ^dashboard.htm index.php
RewriteRule ^login.htm login.php
RewriteRule ^register.htm register.php
RewriteRule ^restore-password.htm forgot.php
RewriteRule ^user-settings.htm user-settings.php
RewriteRule ^alerts.htm alerts.php
RewriteRule ^websites.htm websites.php
RewriteRule ^campaigns.htm campaigns.php



RewriteRule ^create-website.htm create-website.php
RewriteRule ^website-([^/]+).htm create-website.php?unique=$1

RewriteRule ^add-campaigns.htm add-campaigns.php
RewriteRule ^campaign-([^/]+).htm add-campaigns.php?unique=$1

RewriteRule ^stats-([^/]+)-([^/]+).htm stats.php?cat=$1&u=$2

RewriteRule ^earnings.htm payments.php
RewriteRule ^payments.htm payments.php
RewriteRule ^payment-([^/]+).htm payments-view.php?unique=$1