

# php -- BEGIN cPanel-generated handler, do not edit
# Set the "ea-php81" package as the default "PHP" programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

# ==================== 301 REDIRECTS (tours removed -> blog) ====================
<IfModule mod_rewrite.c>
  RewriteEngine On

  # Old tour hub -> blog
  RewriteRule ^tour\.php$ /blog.php [R=301,L]

  # Canada tour detail pages -> relevant guides / blog
  RewriteRule ^canada/ca-tour-rockies\.php$ /blog-canadian-rockies-guide.php [R=301,L]
  RewriteRule ^canada/ca-tour-eastern\.php$ /blog-best-time-to-visit.php [R=301,L]
  RewriteRule ^canada/ca-tour-thunder\.php$ /canada/things-to-do.php [R=301,L]
  RewriteRule ^canada/ca-tour-yellowknife\.php$ /canada/seasons.php [R=301,L]

  # UK tour detail pages -> relevant guides / blog
  RewriteRule ^uk/uk-tour-classic\.php$ /blog-uk-first-trip.php [R=301,L]
  RewriteRule ^uk/uk-tour-southern\.php$ /uk/things-to-do.php [R=301,L]
  RewriteRule ^uk/uk-tour-northern\.php$ /uk/travel-tips.php [R=301,L]
  RewriteRule ^uk/uk-tour-wales\.php$ /uk/seasons.php [R=301,L]
</IfModule>
