Where I can find the line/rule that removes the special URL parameters like Adwords' ?gclid?
-
Here's what my .htaccess looks like:
Options +FollowSymLinks
RewriteEngine on#RewriteCond %{HTTP_HOST} ^beta|livescore.mysite.com [NC]
#RewriteRule ^(.) - [L]
RewriteCond %{HTTP_HOST} !^www.mysite.com [NC]
RewriteRule ^(.)$ http://www.%{HTTP_HOST}/$1 [R=301,L]RewriteRule ^(R|S)-$ / [R=301,L]
RewriteRule ^index.php/(.*)$ / [R=301,L]
#group/category/country/region/city/area - redirect error pages
RewriteRule ^(buy|rent)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,()-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,_-]+)/sort(-)?$ /$1/$2/$3/$4/$5/$6 [R=301,L]#group/category/country/region/city - redirect error pages
RewriteRule ^(buy|rent)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/sort(-)?$ /$1/$2/$3/$4/$5 [R=301,L]#group/category/country - redirect error pages
RewriteRule ^(buy|rent)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/sort(-)?$ /$1/$2/$3 [R=301,L]RewriteRule ^(apartment-for-(sale|rent)-in-makati)/sort(-)?$ /$1 [R=301,L]
#lease/commercial-properties
#/category/country - redirect error pages
RewriteRule ^(lease|buy)/commercial-properties/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/sort(-)?$ /$1/commercial-properties/$2/$3 [R=301,L]#/category/country/region/city/area - redirect error pages
RewriteRule ^(lease|buy)/commercial-properties/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,_-]+)/sort(-)?$ /$1/commercial-properties/$2/$3/$4/$5/$6 [R=301,L]#str/country/region/city/area - redirect error pages
RewriteRule ^(short-term-rentals)/([a-zA-Z0-9,-]+)/sort(-)?$ /$1/$2 [R=301,L]
RewriteRule ^(short-term-rentals)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,-]+)/([a-zA-Z0-9,_-]+)/sort(-)?$ /$1/$2/$3/$4/$5 [R=301,L]#--Landing pages -start
RewriteRule ^apartment-for-rent-in-makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^apartment-for-sale-in-makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^for-rent-in-makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^for-sale-in-makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^apartment-for-rent-in-manila(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^apartment-for-sale-in-manila(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^serviced-apartments-ho-chi-minh-for-rent(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^residential-housing-bangkok(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^homes-for-sale(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^houses-for-sale(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^real-estate-listings(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^house-listings(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent-in-makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^manila-apartments(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^house-for-rent-manila(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^apartment-for-rent-in-saigon(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^apartment-for-rent-in-hcmc(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^house-for-rent-vietnam(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^house-for-rent-in-saigon(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^philippine-real-estate-for-sale(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/houses/philippines/national-capital-region/makati/dasmarinas-village(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/apartments/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/apartments/philippines/national-capital-region/paranaque(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/apartments/philippines/national-capital-region/taguig/fort-bonifacio-global-city(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/condominiums/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/condominiums/philippines/national-capital-region/taguig/fort-bonifacio-global-city(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/houses/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/houses/philippines/national-capital-region/muntinlupa(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/houses/philippines/national-capital-region/pasig(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/houses/philippines/national-capital-region/quezon-city(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/office-spaces/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/apartments/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/commercial-spaces/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/office-spaces/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/condominiums/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/condominiums/philippines/national-capital-region/taguig/fort-bonifacio-global-city(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/houses/philippines/national-capital-region/muntinlupa(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/houses/philippines/national-capital-region/pasig(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/industrial_warehouses/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/industrial_warehouses/philippines/national-capital-region/mandaluyong(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/land_developments/philippines/national-capital-region/taguig/fort-bonifacio-global-city(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/pre-selling_project-sales/philippines/national-capital-region/makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/office-spaces/philippines/national-capital-region/pasig/ortigas(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^rent/office-spaces/philippines/national-capital-region/taguig/fort-bonifacio-global-city(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
RewriteRule ^buy/pre-selling_project-sales/philippines/national-capital-region/taguig/fort-bonifacio-global-city(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=seoModule&sort=$2&page=$5 [L]
#--Landing pages -end#--Redirect pages -start
RewriteRule ^apartment-for-rent-philippines$ /rent/apartments/philippines [R=301,L]
RewriteRule ^serviced-apartments-ho-chi-minh-for-rent$ /rent/serviced-apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^rent/apartments/vietnam/ho-chi-minh-city/serviced-apartment-for-rent-in-Ho-Chi-Minh-City$ /rent/serviced-apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^apartment-for-rent-in-saigon$ /rent/apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^rent/apartments/vietnam/ho-chi-minh-city/apartment-for-rent-in-Saigon$ /rent/apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^philippine-real-estate-for-sale$ /residential-properties [R=301,L]
RewriteRule ^house-for-rent-in-saigon$ /rent/houses/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^house-for-rent-vietnam$ /rent/villas/vietnam [R=301,L]
RewriteRule ^condo-for-rent-philippines$ /rent/condominiums/philippines [R=301,L]
RewriteRule ^makati-condominiums$ /buy/condominiums/philippines/national-capital-region/makati [R=301,L]
RewriteRule ^apartment-for-rent-in-hcmc$ /rent/apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^apartment-for-rent-in-saigon$ /rent/apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^house-for-rent-manila$ /rent/houses/philippines/national-capital-region/manila [R=301,L]
RewriteRule ^manila-apartments$ /rent/apartments/philippines/national-capital-region/manila [R=301,L]
RewriteRule ^rent-in-makati$ /rent/apartments/philippines/national-capital-region/makati [R=301,L]
RewriteRule ^house-listings$ /residential-properties [R=301,L]
RewriteRule ^real-estate-listings$ /residential-properties [R=301,L]
RewriteRule ^houses-for-sale$ /residential-properties [R=301,L]
RewriteRule ^homes-for-sale$ /residential-properties [R=301,L]
RewriteRule ^residential-housing-bangkok$ /buy/houses/thailand/central/bangkok [R=301,L]
RewriteRule ^hcmc-apartment-rent$ /rent/apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^serviced-apartments-ho-chi-minh-for-rent$ /rent/serviced-apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^saigon-apartment-rent$ /rent/apartments/vietnam/south/ho-chi-minh-city [R=301,L]
RewriteRule ^apartment-for-sale-in-manila$ /buy/apartments/philippines/national-capital-region/manila [R=301,L]
RewriteRule ^apartment-for-rent-in-manila$ /rent/apartments/philippines/national-capital-region/manila [R=301,L]
RewriteRule ^for-sale-in-makati$ /buy/houses/philippines/national-capital-region/makati [R=301,L]
RewriteRule ^for-rent-in-makati$ /rent/houses/philippines/national-capital-region/makati [R=301,L]
RewriteRule ^apartment-for-sale-in-makati$ /buy/apartments/philippines/national-capital-region/makati [R=301,L]
RewriteRule ^apartment-for-rent-in-makati$ /rent/apartments/philippines/national-capital-region/makati [R=301,L]
RewriteRule ^rent/villas/vietnam/ho-chi-minh-city/house-for-rent-in-saigon$ /rent/houses/vietnam/south/ho-chi-minh-city [R=301,L]
#--Redirect pages -end#--custom landing pages from Ramon -start | Rnel
#--13-Mar-2012
RewriteRule ^rent/(apartments|villas)/vietnam/ho-chi-minh-city/([a-zA-Z-]+)-for-rent-in-([a-zA-Z-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=vietnam&group=1&custom_category=$2&custom_area=$3&custom_city=25443&custom=1&page=$6 [L]
RewriteRule ^rent/vietnam/ho-chi-minh-city/district-1/ho-chi-minh-city-(district-1|real-estate)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=vietnam&group=1&custom_target=$1&custom_city=25443&custom=2&page=$4 [L]
RewriteRule ^rent/apartments/vietnam/ho-chi-minh-city/saigon-pearl-(apartment-for-rent|for-rent)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=vietnam&group=1&custom_target=$1&custom_city=25443&custom=3&page=$6 [L]#-24-April-2012 | Apartment for rent in makati | 08-May-2012 changed to apartment-for-rent-in-makati
#RewriteRule ^rent/apartments/philippines/national-capital-region/makati((/)([0-9]+))?$ /rent/apartments/philippines/national-capital-region/apartment-for-rent-in-makati$1 [R=301]
#RewriteRule ^rent/apartments/philippines/national-capital-region/apartment-for-rent-in-makati((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=1&country=philippinesion=national-capital-region&city=makati&category=apartments&page=$3 [L]
#RewriteRule ^rent/apartments/philippines/national-capital-region/makati((/)([0-9]+))?$ /apartment-for-rent-in-makati$1 [R=301]
#RewriteRule ^buy/apartments/philippines/national-capital-region/makati((/)([0-9]+))?$ /apartment-for-sale-in-makati$1 [R=301]
#RewriteRule ^rent/apartments/philippines/national-capital-region/apartment-for-rent-in-makati((/)([0-9]+))?$ /apartment-for-rent-in-makati$1 [R=301]
#RewriteRule ^apartment-for-rent-in-makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=1&country=philippinesion=national-capital-region&city=makati&category=apartments&page=$5&sort=$2 [L]
#RewriteRule ^apartment-for-sale-in-makati(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=2&country=philippinesion=national-capital-region&city=makati&category=apartments&page=$5&sort=$2 [L]#--03-May-2012 - Manila | 07-May-2012 - Makati | (rent|buy)/
#RewriteRule ^rent/apartment-for-rent-in-manila$ /apartment-for-rent-in-manila [R=301]
#RewriteRule ^(apartment-)?for-(rent|sale)-in-(manila|makati)(/sort-([a-z0-9-]+))?((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=philippines&group_name=$2&custom_target=&custom_region=1&custom_city=$3&custom=4&page=$8&sort=$5 [L]
#--custom landing pages from Ramon|Claudio -end#search
RewriteRule ^search/$ / [R=301]
RewriteRule ^the_shang_grand_tower$ /search/shang-grand-tower [R=301]
RewriteRule ^search/([a-zA-Z0-9,)(-]+)/sort(-)?$ /search/$1 [R=301]
RewriteRule ^search/([a-zA-Z0-9,)(-]+)/sort-([a-z0-9-]+)/(1)?$ /search/$1/sort-$2 [R=301]
RewriteRule ^search/([a-zA-Z0-9,)(-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=search&q=$1&page=$5&sort=$2 [L]
RewriteRule ^search/([a-zA-Z0-9,)(-]+)/(1)?$ /search/$1 [R=301]
RewriteRule ^search/([a-zA-Z0-9,)(_-]+)((/)([0-9]+))?$ index.php?cmd=search&q=$1&page=$4 [L]#single listings
RewriteRule ^([r|R])-([0-9]+)((-)([0-9a-zA-Z-]+))?$ index.php?cmd=propertyPage&id=$2&group=1 [L]
RewriteRule ^([s|S])-([0-9]+)((-)([0-9a-zA-Z-]+))?$ index.php?cmd=propertyPage&id=$2&group=2 [L]#--new reset password page
RewriteRule ^reset-password$ index.php?cmd=retrievePassword [L]#--new reset password page 2
RewriteRule ^reset-password/([0-9]+)/([a-zA-Z0-9]+)$ index.php?cmd=retrievePassword&act=retrievePasswordConfirm&code=$1&key=$2 [L]#--new map page
RewriteRule ^map-page.php$ index.php?cmd=mapPage [L]#--new advertise with us page
RewriteRule ^advertise.php$ index.php?cmd=advertiseWithUs [L]#--new my acount page
RewriteRule ^my-account.php$ index.php?cmd=protectedMyAccount [L]#--new bookmarked properties page
RewriteRule ^bookmarked-properties(/((R|S)-([0-9]+)))?$ index.php?cmd=protectedBookmarkedProperties&id=$2 [L]
RewriteRule ^bookmarked-properties/([0-9]+)$ index.php?cmd=protectedBookmarkedProperties&page=$1 [L]#--new bookmarked properties delete page
RewriteRule ^bookmarked-properties/delete/([0-9,]+)$ index.php?cmd=protectedBookmarkedProperties&act=protectedBookmarkedProperties_delete&id=$1 [L]#--new register page
RewriteRule ^register.php$ index.php?cmd=register [L]#--new about us
RewriteRule ^about-us.php$ index.php?cmd=aboutUs [L]#--news
RewriteRule ^news(/([0-9]+)(.*))?$ index.php?cmd=news&id=$2&title=$3 [L]#--new confirm registration
RewriteRule ^registration/confirm/key=([a-zA-Z0-9]{150})/code=([a-zA-Z0-9]{5})$ index.php?cmd=register&act=registerConfirm&key=$1&code=$2 [L]#--new terms and conditions
RewriteRule ^terms-and-conditions.php$ index.php?cmd=termsAndConditions [L]#--new privacy policy
RewriteRule ^privacy-policy.php$ index.php?cmd=privacyPolicy [L]#--new contact us
RewriteRule ^contact-us.php$ index.php?cmd=contactUs [L]#--new site map
RewriteRule ^sitemap.php$ index.php?cmd=siteMap [L]#--new login
RewriteRule ^members/login.php$ login.php [L]#--new map page
RewriteRule ^rss$ index.php?cmd=rss [L]#--new links page
RewriteRule ^resources.php$ index.php?cmd=links [L]
RewriteRule ^links.php$ /resources.php [R=301]#--new links2 page
RewriteRule ^resources2.php$ index.php?cmd=links2 [L]#--new results page
RewriteRule ^results.php$ index.php?cmd=results [L]#--careers page - 25-Mar-2013
RewriteRule ^careers.php$ index.php?cmd=careers [L]#-Root
RewriteRule ^residential-properties/$ /residential-properties [L,R=301]
RewriteRule ^residential-properties((/)([0-9]+))?$ index.php?cmd=divisionsRoot&mainDivision=1&page=$3 [L]
RewriteRule ^commercial-properties/$ /commercial-properties [L,R=301]
RewriteRule ^commercial-properties((/)([0-9]+))?$ index.php?cmd=divisionsRoot&mainDivision=2&page=$3 [L]
RewriteRule ^short-term-rentals/$ /short-term-rentals [L,R=301]
RewriteRule ^short-term-rentals((/)([0-9]+))?$ index.php?cmd=divisionsRoot&mainDivision=1&str=1&page=$3 [L]
RewriteRule ^buy/$ /buy [L,R=301]
RewriteRule ^buy((/)([0-9]+))?$ index.php?cmd=divisionsRoot&group=2&page=$3 [L]
RewriteRule ^rent/$ /rent [L,R=301]
RewriteRule ^rent((/)([0-9]+))?$ index.php?cmd=divisionsRoot&group=1&page=$3 [L]#--
#str/COUNTRY/SORT
RewriteRule ^short-term-rentals/([a-z_-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1&str=1&sort=$2&page=$5 [L]#str/COUNTRY/REGION/CITY/SORT
RewriteRule ^short-term-rentals/([a-z_-]+)/([a-z_-]+)/([a-z_-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1ion=$2&city=$3&str=1&sort=$4&page=$7 [L]#str/COUNTRY/REGION/CITY/AREA/SORT
RewriteRule ^short-term-rentals/([a-z_-]+)/([a-z_-]+)/([a-z_-]+)/([a-z_-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1ion=$2&city=$3&area=$4&str=1&sort=$5&page=$8 [L]#str/COUNTRY/REGION/CITY/AREA
RewriteRule ^short-term-rentals/([a-z_-]+)/([a-z_-]+)/([a-z_-]+)/([a-z_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1ion=$2&city=$3&area=$4&str=1&page=$7 [L]#str/COUNTRY/REGION/CITY
RewriteRule ^short-term-rentals/([a-z_-]+)/([a-z_-]+)/([a-z_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1ion=$2&city=$3&str=1&page=$6 [L]#str/COUNTRY
RewriteRule ^short-term-rentals/([a-z_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1&str=1&page=$4 [L]
#--#--
#buy|rent/residential|commercial/COUNTRY/REGION/CITY/AREA/SORT
RewriteRule ^rent/residential-properties/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1ion=$2&city=$3&area=$4&sort=$5&group=1&page=$8 [L]
RewriteRule ^buy/residential-properties/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1ion=$2&city=$3&area=$4&sort=$5&group=2&page=$8 [L]
RewriteRule ^lease/commercial-properties/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$1ion=$2&city=$3&area=$4&sort=$5&group=1&page=$8 [L]
RewriteRule ^buy/commercial-properties/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$1ion=$2&city=$3&area=$4&sort=$5&group=2&page=$8 [L]#buy|rent/residential|commercial/COUNTRY/SORT
RewriteRule ^rent/residential-properties/([a-z_-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1&sort=$2&group=1&page=$5 [L]
RewriteRule ^buy/residential-properties/([a-z_-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1&sort=$2&group=2&page=$5 [L]
RewriteRule ^lease/commercial-properties/([a-z_-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$1&sort=$2&group=1&page=$5 [L]
RewriteRule ^buy/commercial-properties/([a-z_-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$1&sort=$2&group=2&page=$5 [L]#buy|rent/residential|commercial/COUNTRY/REGION/CITY/AREA
RewriteRule ^rent/residential-properties/([a-z_-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1ion=$2&city=$3&area=$4&group=1&page=$7 [L]
RewriteRule ^buy/residential-properties/([a-z_-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1ion=$2&city=$3&area=$4&group=2&page=$7 [L]
RewriteRule ^lease/commercial-properties/([a-z_-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$1ion=$2&city=$3&area=$4&group=1&page=$7 [L]
RewriteRule ^buy/commercial-properties/([a-z_-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$1ion=$2&city=$3&area=$4&group=2&page=$7 [L]#buy|rent/residential|commercial/COUNTRY
RewriteRule ^rent/residential-properties/([a-z_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1&group=1&page=$4 [L]
RewriteRule ^buy/residential-properties/([a-z_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$1&group=2&page=$4 [L]
RewriteRule ^lease/commercial-properties/([a-z_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$1&group=1&page=$4 [L]
RewriteRule ^buy/commercial-properties/([a-z_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$1&group=2&page=$4 [L]#--
#buy|rent/residential|commercial/CATEGORY/COUNTRY/REGION/CITY/AREA
RewriteRule ^rent/residential-properties/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$2ion=$3&city=$4&area=$5&category=$1&group=1&page=$8 [L]
RewriteRule ^buy/residential-properties/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$2ion=$3&city=$4&area=$5&category=$1&group=2&page=$8 [L]
RewriteRule ^lease/commercial-properties/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$2ion=$3&city=$4&area=$5&category=$1&group=1&page=$8 [L]
RewriteRule ^buy/commercial-properties/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([a-z,()0-9_-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$2ion=$3&city=$4&area=$5&category=$1&group=2&page=$8 [L]#-CITY
#-REGION#buy|rent/residential|commercial/CATEGORY/COUNTRY
RewriteRule ^rent/residential-properties/([a-z,-]+)/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$2&category=$1&group=1&page=$5 [L]
RewriteRule ^buy/residential-properties/([a-z,-]+)/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=1&country=$2&category=$1&group=2&page=$5 [L]
RewriteRule ^lease/commercial-properties/([a-z,-]+)/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$2&category=$1&group=1&page=$5 [L]
RewriteRule ^buy/commercial-properties/([a-z,-]+)/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&mainDivision=2&country=$2&category=$1&group=2&page=$5 [L]
#--#--
#rent|buy/CATEGORY/COUNTRY/REGION/CITY/AREA/SORT
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([0-9a-z(),.-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=1&country=$2ion=$3&city=$4&area=$5&category=$1&sort=$6&page=$9 [L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/([0-9a-z(),.-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=2&country=$2ion=$3&city=$4&area=$5&category=$1&sort=$6&page=$9 [L]#rent|buy/CATEGORY/COUNTRY/REGION/CITY/SORT
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=1&country=$2ion=$3&city=$4&category=$1&sort=$5&page=$8 [L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=2&country=$2ion=$3&city=$4&category=$1&sort=$5&page=$8 [L]#rent|buy/CATEGORY/COUNTRY/REGION/CITY/AREA
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)/([a-z()'-]+)/([a-z()-]+)/(([a-z(),.-]+)(-[0-9]+)?)(/|/1)$ /rent/$1/$2/$3/$4/$5 [R=301,L]
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)/([a-z()'-]+)/([a-z()-]+)/(([a-z(),.-]+)(-[0-9]+)?)(/([\d]+))?$ index.php?cmd=divisionsMain&group=1&country=$2ion=$3&city=$4&area=$5&category=$1&page=$9&etc=test [L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/([a-z()'-]+)/([a-z()-]+)/([0-9a-z(),.-]+)/$ /buy/$1/$2/$3/$4/$5 [R=301,L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/([a-z()'-]+)/([a-z()-]+)/(([a-z(),.-]+)(-[0-9]+)?)(/([\d]+))?$ index.php?cmd=divisionsMain&group=2&country=$2ion=$3&city=$4&area=$5&category=$1&page=$9&etc=test2 [L]
#RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/([a-z()'-]+)/([a-z()-]+)/([0-9a-z(),._-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=2&country=$2ion=$3&city=$4&area=$5&category=$1&page=$8 [L]#rent|buy/CATEGORY/COUNTRY/REGION/CITY
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/$ /rent/$1/$2/$3/$4 [R=301,L]
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=1&country=$2ion=$3&city=$4&category=$1&page=$7 [L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)/$ /buy/$1/$2/$3/$4 [R=301,L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/([a-z()-]+)/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=2&country=$2ion=$3&city=$4&category=$1&page=$7&etc=TEST [L]#-REGION
#rent|buy/CATEGORY/COUNTRY/SORT
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=1&country=$2&category=$1&sort=$3&page=$6 [L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/sort-([a-z0-9-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=2&country=$2&category=$1&sort=$3&page=$6 [L]#rent|buy/CATEGORY/COUNTRY/
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)/$ /rent/$1/$2 [R=301,L]
RewriteRule ^rent/([a-z,-]+)/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=1&country=$2&category=$1&page=$5 [L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)/$ /buy/$1/$2 [R=301,L]
RewriteRule ^buy/([a-z,-]+)/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain&group=2&country=$2&category=$1&page=$5 [L]#rent|buy/COUNTRY
RewriteRule ^rent/([a-z,-]+)/$ /rent/$1 [R=301,L]
RewriteRule ^rent/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain_categories&mainDivision=1&country=$1&group=1&page=$4 [L]
RewriteRule ^buy/([a-z,-]+)/$ /buy/$1 [R=301,L]
RewriteRule ^buy/([a-z()-]+)((/)([0-9]+))?$ index.php?cmd=divisionsMain_categories&mainDivision=1&country=$1&group=2&page=$4 [L]
#--<files 403.shtml="">order allow,deny
allow from all</files>deny from 173.245.84.49
deny from 92.40.44.99
deny from 92.41.197.133
deny from 41.58.53.131
deny from 41.184.129.141
deny from 112.135.153.58
deny from 41.138.169.191
deny from 41.58.19.87
deny from 199.58.164.113
deny from 41.71.158.188
deny from 81.149.227.17
deny from 95.211.231.222
deny from 41.58.196.39Thanks in advance!
-
I would backup your htaccess file.
then remove half the rules, then test. then you will know what half it is in. keep doing this to you find it
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How do YOU do an AdWords Audit?
Audits Audits Audits! I am overhauling my AdWords Audit Process and the Documentation and I was wondering if any generous souls our there mind sharing a few ideas or learnings that they have had along the way? I aim to make it as thorough but as quick and automated (think scripts) as possible. I'm also 14 pages into the documentation that I will use for some audits that include explanations, recommendations & definitions. I'd love to hear your opinions on what to Audit, how to audit and how to report on it 🙂
Paid Search Marketing | | Singularitie0 -
Set-up remarketing through Analytics or Adwords?
I am setting up a remarketing campaign and wonder if anyone has any thoughts on whether to do this via Analytics or Adwords? Doing it through Analytics appears to be more straight forward - and I like the idea of broadening the data set that comes from an Analytics report. I therefore I wonder if it comes down to personal preference? Would be grateful to any thoughts for or against.
Paid Search Marketing | | E2E0 -
Privacy Policy in Adwords
Does anyone have direct experience regarding the impact on quality score by ensuring there is a privacy policy in place on the landing page? I am aware of the legal requirement but I have heard anecdotal evidence there could be an impact on quality score if one is missing.
Paid Search Marketing | | MickEdwards0 -
Blocking google adwords on google.com?
Is there any chance to block google adwords (not google adsense) firefox/chrome/internet explorer 🙂
Paid Search Marketing | | FCRMediaLietuva0 -
Which of my products should I advertise for first using Adwords?
Serious Adwords noob here. I have been reading a great deal in preparation for my first Adwords campaign. Strangely enough, I have not been able to find information that might help me determine which of my 180+ products I should begin with and use in my first campaign. I imagine that there is some sort of general criterion like the highest selling item, lowest, one meeting certain criterion in the popularity of it's keywords/difficulty, one with least competition or, most likely, something that I haven't even thought of. Does anyone have any suggestions or a link to something I might be able to read to solve this? Thanks for your help!
Paid Search Marketing | | machineuser0 -
How can I filter peoples names out in an Adwords campaign?
for example I get all these searches like "dan stoffer painter spokane"
Paid Search Marketing | | Superflys0 -
What are the best ways that PPC and SEO can work together?
This has come up recently internally as we are an agency that traditionally only focuses on SEO. However, when asked to articulate the benefits of how they can work together I normally see rather vague and non-actionable answers that don't really translate to real life always. I can understand how you can use SEO techniques to improve the ROAS of a PPC campaign by improving the quality of a landing page. I am also aware of a number of ways you can use Adwords data from your campaign to improve your SEO campaign but I am curious to know. How else can the two channels work together to help each other out?
Paid Search Marketing | | SearchAcademy0 -
Best method to measure conversions (Adwords)
Hi, I am a new member and fairly new to PPC. I have a service based site (car detailing) and I have been using Adwords for quite sometime now. My primary question is about tracking conversions. I have dedicated landing pages for each one of my ad groups (and some kw specific landing pages). When a potential customer lands on one of my pages - lets say my "car wash" page, they have the option to: Call from that page to book a service (I have a trackable number on that pages) Book online (its a 3rd party booking app with no tracking functionality) Continue to my main site for find out about our other services (I have a few outbound links set up on the page) But, I am running into problems when it comes to conversion tracking. I am not doing any call tracking via Adwords, so what would be the most effective way for me to track conversions? A) Should I set up event tracking in order to count outbound clicks as conversions? B) Should I remove all outbound links from that landing page and use the custom phone number on that page? My fear with this option is that customers may want to see additional services that are on my primary site. Therefore, I don't want to limit them to that landing page only. C) Should I use Adwords call tracking? If I go this route, I would have to decrease my campaign budgets in order to offset the call tracking costs. Or maybe there is another option I should consider that someone with more experience could offer. Any advice would be greatly appreciated. Thanks in advance
Paid Search Marketing | | Headwurdz0