Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^index.html$ index.php [L]
RewriteRule ^list-country.html$ list-country.php [L]
RewriteRule ^blog.html$ blog.php [L]

RewriteRule ^cambodia-trip-list/([^/\.]+)-joining-tours.html$ trip-list.php?triname=$1

RewriteRule ^([^/\.]+)-tours.html$ country-tour.php?country=$1
RewriteRule ^([^/\.]+)-holidays/page-([0-9]+).html$ tour-type-country.php?tourt=$1&page=$2
RewriteRule ^country-tour/([^/\.]+)-([0-9]+).html$ country-tour.php?name=$1&&country_tour_id=$2

RewriteRule ^hotels/([^/\.]+)-([0-9]+)/page-([0-9]+).html$ hotel-city.php?name=$1&&country_id=$2&&page=$3

RewriteRule ^thematic/([^/\.]+)-([0-9]+)/page-([0-9]+).html$ thematic.php?name=$1&&in=$2&&page=$3

RewriteRule ^([^/\.]+)-thematic-tours/([^/\.]+)-excursion/page-([0-9]+).html$ thematic-country.php?co=$1&tcul=$2&page=$3

RewriteRule ^([^/\.]+)-vacation/([^/\.]+)-tours/page-([0-9]+).html$ tour-type.php?coun=$1&type=$2&page=$3

RewriteRule ^([^/\.]+)/([^/\.]+)/page-([0-9]+).html$ tour-type.php?name=$1&&tour-type=$2&&namec=$3&&country=$4&&page=$5

RewriteRule ^cambodia-trip-list/cambodia-joining-tours/([^/\.]+).html$ trip-detail.php?tripd=$1
RewriteRule ^tour-style/page-([0-9]+).html$ tour-style.php?page=$1  
RewriteRule ^thematic-holidays/page-([0-9]+).html$ thematic-type.php?page=$1

RewriteRule ^([^/\.]+)-tours.html$ tour-type-country.php?name=$1
RewriteRule ^([^/\.]+)-thematic.html$ thematic-by-countries.php?themacoun=$1
RewriteRule ^([^/\.]+)-thematic-tours/page-([0-9]+).html$ thematic-by-countries.php?themacoun=$1&page=$2
RewriteRule ^tour-list/([^/\.]+)-([0-9]+)/page-([0-9]+).html$ tour-list.php?name=$1&&tour_id=$2&&page=$3

RewriteRule ^([^/\.]+)-vacation/([^/\.]+)-tours/([^/\.]+).html$ tour-detail.php?co=$1&typ=$2&td=$3


RewriteRule ^trip/page-([0-9]+).html$ trip.php?page=$1


RewriteRule ^thematic-by-countries/([^/\.]+)-([0-9]+)/page-([0-9]+).html$ thematic-by-countries.php?name=$1&&country_tour_id=$2&&page=$3

RewriteRule ^([^/\.]+)-thematic-tours/([^/\.]+)/([^/\.]+).html$ thematic-detail.php?ct=$1&tm=$2&md=$3

RewriteRule ^other-service-list.html$ other-service-list.php
RewriteRule ^hotels/page-([0-9]+).html$ hotels.php?page=$1
RewriteRule ^blog/([^/\.]+).html$ blog-detail.php?bl=$1
RewriteRule ^hotel-form-booking.html$ hotel-form-booking.php
RewriteRule ^other-service/([^/\.]+)-([0-9]+).html$ other-service.php?name=$1&&page_name=$2

RewriteRule ^about-us/([^/\.]+)-([0-9]+).html$ about-us.php?name=$1&&page_name=$2

RewriteRule ^hotels/([^/\.]+)/([^/\.]+)-([0-9]+)/page-([0-9]+).html$ hotel-list.php?name=$1&&location_name=$2&&location_id=$3&&page=$4
RewriteRule ^hotel-detail/([0-9]+)/([^/\.]+)-([0-9]+).html$ hotel-detail.php?id=$1&&name=$2&&country=$3
RewriteRule ^useful-information.html$ useful-information.php
RewriteRule ^([^/\.]+)-information.html$ country-information.php?cot=$1

RewriteRule ^([^/\.]+)-information/([^/\.]+).html$ detail-information.php?c=$1&ind=$2

RewriteRule ^about-us.html$ about-us.php             
RewriteRule ^booking-guide.html$ booking-guide.php
RewriteRule ^faqs.html$ faqs.php
RewriteRule ^whyus.html$ whyus.php
RewriteRule ^testimonial.html$ testimonial.php
RewriteRule ^our-team.html$ our-team.php
RewriteRule ^responsible-tourism.html$ responsible-tourism.php
RewriteRule ^news-event.html$ news-event.php
RewriteRule ^contactus.html$ contactus.php

RewriteRule ^booking/([^/\.]+)/([^/\.]+)/([0-9]+).html$ booking.php?code=$1&&name=$2&&price=$3

RewriteRule ^joining-group/([^/\.]+)/([^/\.]+)/([^/\.]+).html$ joining-group.php?code=$1&&name=$2&&departure=$3

RewriteRule ^customize-form.html$ customize-form.php
RewriteRule ^newsletter-signup.html$ newsletter-signup.php
RewriteRule ^video-map.html$ video-map.php
RewriteRule ^genuine-price.html$ genuine-price.php

RewriteRule ^our-videos.html$ our-videos.php


RewriteRule ^country-information-([0-9]+)-([0-9]+)-([0-9]+).html$ country-information.php?country=$1&&start=$2&&page=$3
RewriteRule ^country-tour-([0-9]+)-([0-9]+)-([0-9]+).html$ country-tour.php?page_name=$1&start=$2&page=$3
RewriteRule ^our-team-([0-9]+)-([0-9]+).html$ our-team.php?start=$1&page=$2
RewriteRule ^our-videos-([0-9]+)-([0-9]+)-([0-9]+).html$ our-videos.php?id=$1&&start=$2&page=$3
RewriteRule ^thematic-country-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ thematic-country.php?type=$1&&country=$2&&start=$3&page=$4
RewriteRule ^thematic-type-([0-9]+)-([0-9]+).html$ thematic-type.php?start=$1&page=$2
RewriteRule ^tour-list-([0-9]+)-([0-9]+)-([0-9]+).html$ tour-list.php?tour_id=$1&&start=$2&page=$3
RewriteRule ^trip-list-([0-9]+)-([0-9]+)-([0-9]+).html$ trip-list.php?trip_id=$1&&start=$2&page=$3