
# ============================================================
# 301 REDIRECTS - Added April 2026
# ============================================================
<IfModule mod_rewrite.c>
RewriteEngine On

# --- SERVICE PAGES ---
RewriteRule ^insomnia-treatment-newcastle/?$ https://www.newcastle-hypnotherapy.com/insomnia-treatment-newcastle/ [R=301,L]
RewriteRule ^pain-management-newcastle/?$ https://www.newcastle-hypnotherapy.com/pain-management-hypnosis-newcastle [R=301,L]
RewriteRule ^stop-smoking-newcastle/?$ https://www.newcastle-hypnotherapy.com/stop-smoking-hypnosis-newcastle [R=301,L]
RewriteRule ^phobia-treatment-newcastle/?$ https://www.newcastle-hypnotherapy.com/phobia-fear-hypnotherapy-treatment-newcastle [R=301,L]
RewriteRule ^ocd-intrusive-thoughts-newcastle/?$ https://www.newcastle-hypnotherapy.com/ocd-intrusive-thought-treatment-newcastle [R=301,L]
RewriteRule ^addiction-habit-treatment-newcastle/?$ https://www.newcastle-hypnotherapy.com/addiction-habit-treatment-newcastle/ [R=301,L]
RewriteRule ^depression-treatment-newcastle/?$ https://www.newcastle-hypnotherapy.com/depression-hypnosis-treatment-newcastle [R=301,L]
RewriteRule ^corporate-wellbeing-newcastle/?$ https://www.newcastle-hypnotherapy.com/business-corporate-wellbeing-newcastle [R=301,L]
RewriteRule ^public-speaking/?$ https://www.newcastle-hypnotherapy.com/public-speaking-anxiety-newcastle [R=301,L]
RewriteRule ^mental-health/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]

# --- OLD ANXIETY URLS ---
RewriteRule ^hypnosis-services/anxiety-treatment-counselling-newcastle/?$ https://www.newcastle-hypnotherapy.com/anxiety-treatment-newcastle [R=301,L]
RewriteRule ^hypnosis-services/anxiety-relief-hypnosis-program/?$ https://www.newcastle-hypnotherapy.com/anxiety-treatment-newcastle [R=301,L]
RewriteRule ^[Aa][Nn][Xx][Ii][Ee][Tt][Yy]/?$ https://www.newcastle-hypnotherapy.com/anxiety-treatment-newcastle [R=301,L]

# --- LOCATION PAGES ---
RewriteRule ^bedlington-hypnotherapy-practice-northumberland/?$ https://www.newcastle-hypnotherapy.com/hypnotherapy-northumberland/ [R=301,L]
RewriteRule ^newcastle-hypnotherapy-bedlington-northumberland/?$ https://www.newcastle-hypnotherapy.com/hypnotherapy-northumberland/ [R=301,L]
RewriteRule ^south-shields-hypnotherapy-practice/?$ https://www.newcastle-hypnotherapy.com/hypnotherapy-south-shields/ [R=301,L]
RewriteRule ^newcastle-hypnotherapy-in-seaton-delaval/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^newcastle-hypnotherapy-in-wallsend/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^newcastle-hypnotherapy-cramlington-practice/?$ https://www.newcastle-hypnotherapy.com/hypnotherapy-cramlington/ [R=301,L]
RewriteRule ^hypnotherapy-north-sheilds/?$ https://www.newcastle-hypnotherapy.com/hypnotherapy-north-shields/ [R=301,L]

# --- REVIEWS ---
RewriteRule ^reviews-testimonials/?$ https://www.newcastle-hypnotherapy.com/newcastle-hypnotherapy-reviews [R=301,L]
RewriteRule ^reveiws/?$ https://www.newcastle-hypnotherapy.com/newcastle-hypnotherapy-reviews [R=301,L]
RewriteRule ^client-feedback/?$ https://www.newcastle-hypnotherapy.com/newcastle-hypnotherapy-reviews [R=301,L]

# --- BLOG ---
RewriteRule ^blog/?$ https://www.newcastle-hypnotherapy.com/mental-health-blog [R=301,L]

# --- EVENTS & WORKSHOPS ---
RewriteRule ^events-workshops-newcastle-hypnotherapy/?$ https://www.newcastle-hypnotherapy.com/mental-health-workshops-newcastle/ [R=301,L]

# --- ABOUT & INFO ---
RewriteRule ^about-us/?$ https://www.newcastle-hypnotherapy.com/about-newcastle-hypnotherapy [R=301,L]
RewriteRule ^learn-more/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^terms-conditions/?$ https://www.newcastle-hypnotherapy.com/privacy-policy/ [R=301,L]

# --- CONSULTATION (kept from original) ---
RewriteRule ^free-consultation-newcastle-hypnotherapy/?$ https://www.newcastle-hypnotherapy.com/free-strategy-call-newcastle-hypnotherapy/ [R=301,L]

# --- OLD CONTENT ---
RewriteRule ^choosing-your-hypnotherapist/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^therapist-training-courses/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^the-secret-workshops/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^the-secrets-of-deep-relaxation-workshop/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^the-secrets-of-being-happy/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^dealing-with-difficult-people-children/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^edgar-cayce-american-psychic-clairvoyant-talk/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]
RewriteRule ^hypnosis-services/past-life-regression-hypnosis-sessions/?$ https://www.newcastle-hypnotherapy.com/ [R=301,L]

</IfModule>
# ============================================================

# ============================================================

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On

  # Images
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/gif "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType image/webp "access plus 1 year"
  ExpiresByType image/svg+xml "access plus 1 year"
  ExpiresByType image/x-icon "access plus 1 year"

  # Video
  ExpiresByType video/mp4 "access plus 1 year"
  ExpiresByType video/mpeg "access plus 1 year"

  # CSS, JavaScript
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType text/javascript "access plus 1 month"
  ExpiresByType application/javascript "access plus 1 month"

  # Others
  ExpiresByType application/pdf "access plus 1 month"
  ExpiresByType application/x-shockwave-flash "access plus 1 month"
</IfModule>

<IfModule mod_deflate.c>
  # Compress HTML, CSS, JavaScript, Text, XML and fonts
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/xml

  # Remove browser bugs (only needed for really old browsers)
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  Header append Vary User-Agent
</IfModule>

RewriteOptions inherit

# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?newcastle-hypnotherapy\.com
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ https://www.newcastle-hypnotherapy.com/$1 [R,L]

# BEGIN ShortPixelWebp
# END ShortPixelWebp

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 216.40.44.101
deny from 216.40.42.4

# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the "PHP" package.
# php -- END cPanel-generated handler, do not edit
