RewriteEngine on
#ErrorDocument 404 http://www.capetouristguide.com/404.html
RewriteRule ^index\.html$ index.php
RewriteRule ^new\.html$ new.php
RewriteRule ^cape-winelands-district/cape-winelands-south-africa-wine\.html$ tour-page.php?id=1 
RewriteRule ^township-tours-south-africa/new-south-africa-tours-townships\.html$ tour-page.php?id=2
RewriteRule ^nature-south-africa/wilderness-south-africa-nature\.html$ tour-page.php?id=3
RewriteRule ^cape-town-atlantic-seaboard/atlantic-seaboard-cape-town-peninsula\.html$ tour-page.php?id=4
RewriteRule ^adventure-south-africa/extreme-south-africa-adventure\.html$ tour-page.php?id=5
RewriteRule ^tourist-attractions-south-africa/tourism-south-africa-general\.html$ tour-page.php?id=6
RewriteRule ^tours-south-africa-safari\.html$ set-tours.php
RewriteRule ^tours-south-africa-booking\.html$ select-service.php
RewriteRule ^book-tours-south-africa\.html$ booking-enquiry.php 
RewriteRule ^online-tour-booking\.html$ booking-reference.php 
RewriteRule ^tours-south-africa-enquiry\.html$ general-enquiry.php
RewriteRule ^tourist-services-south-africa\.html$ other-services.php
RewriteRule ^about-us\.html$ tour-cape-town.php?id=6
RewriteRule ^send-an-enquiry\.html$ tour-cape-town.php?id=7
RewriteRule ^book-now\.html$ tour-cape-town.php?id=8
RewriteRule ^manage-my-bookings\.html$ tour-cape-town.php?id=9
RewriteRule ^what-is-a-tourist-guide\.html$ tour-cape-town.php?id=10
RewriteRule ^join-the-ctgc\.html$ tour-cape-town.php?id=11
RewriteRule ^co-ordinators-login\.html$ tour-cape-town.php?id=12
RewriteRule ^terms-conditions\.html$ tour-cape-town.php?id=13
RewriteRule ^new-service-tours\.html$ service-details.php?id=12
RewriteRule ^hermanus-whale-watching-tours\.html$ service-details.php?id=9
RewriteRule ^cape-winelands-district/wine-tour-3-tours\.html$ service-details.php?id=5
RewriteRule ^cape-winelands-district/affordable-winelands-tours\.html$ service-details.php?id=1
RewriteRule ^cape-town-atlantic-seaboard/boulders-beach-experience-tours\.html$ service-details.php?id=10
RewriteRule ^home\.html$ tour-cape-town.php?id=14
#RewriteRule ^(.*)\.html$ $1\.php
RewriteRule ^(.*)\.html(.*)$ $1\.php$2