Created
March 17, 2019 13:57
-
-
Save jason-engage/4c60f6e11d8afca9be92fd6de17f536d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use PHP 5.4 | |
#AddHandler application/x-httpd-php53 .php | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} ^/([/ab/]|[/bc/]|/mb/]|[/nb/]|[/nl/]|[/nt/]|[/ns/]|[/nu/]|[/on/]|[/pe/]|[/qc/]|[/sk/]|[/yt/]|[/al/]|[/ak/]|[/az/]|[/ar/]|[/ca/]|[/co/]|[/ct/]|[/de/]|[/fl/]|[/ga/]|[/hi/]|[/id/]|[/il/]|[/in/]|[/ia/]|[/ks/]|[/ky/]|[/la/]|[/me/]|[/md/]|[/ma/]|[/mi/]|[/mn/]|[/ms/]|[/mo/]|[/mt/]|[/ne/]|[/nv/]|[/nh/]|[/nj/]|[/nm/]|[/ny/]|[/nc/]|[/nd/]|[/oh/]|[/ok/]|[/or/]|[/pa/]|[/ri/]|[/sc/]|[/sd/]|[/tn/]|[/tx/]|[/ut/]|[/vt/]|[/va/]|[/wa/]|[/wv/]|[/wi/]|[/wy/]|[/dc/]) | |
RewriteRule ^(ab|bc|mb|nb|nl|nt|ns|nu|on|pe|qc|sk|yt|al|ak|az|ar|ca|co|ct|de|fl|ga|hi|id|il|in|ia|ks|ky|la|me|md|ma|mi|mn|ms|mo|mt|ne|nv|nh|nj|nm|ny|nc|nd|oh|ok|or|pa|ri|sc|sd|tn|tx|ut|vt|va|wa|wv|wi|wy|dc)/(.*)$ states/$1/$2 [L] | |
</IfModule> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^resize/(.*)x(.*)/r/(.*) includes/timthumb.php?src=http://yourdomainhere.com/$3&h=$2&w=$1 | |
</IfModule> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^logo/(.*)x(.*)/r/(.*) includes/timthumb.php?src=http://yourdomainhere.com/$3&h=$2&w=$1&zc=2 | |
</IfModule> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^logo/(.*)/x/(.*) includes/timthumb.php?src=http://yourdomainhere.com/$2&w=$1 | |
</IfModule> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
#Beacon For Tracking Listing views and Search Keywords | |
RewriteRule ^trans.gif includes/beacon.php | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment