# Apache SEO Redirects For Production

Preferred canonical origin:

```apache
https://cambridgeveritas.com
```

If Apache terminates HTTP/HTTPS before requests reach Next.js, add these rules in the HTTPS vhost or `.htaccess` before application rewrites:

```apache
RewriteEngine On

# Force HTTPS and non-www for the primary website.
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} ^www\.cambridgeveritas\.com$ [NC]
RewriteRule ^ https://cambridgeveritas.com%{REQUEST_URI} [R=301,L,NE]

# Legacy CI4 blog URL recovery.
RewriteRule ^blog/teacher-training/a-complete-guide-to-tesol-in-india-2024-costs-courses-career-paths/?$ https://cambridgeveritas.com/blog/teacher-training/tesol-certification-in-india-complete-guide-2026-costs-courses-and-careers [R=301,L,NE]
RewriteRule ^blog/ielts/how-can-i-become-ielts-certified-trainer/?$ https://cambridgeveritas.com/blog/ielts/how-can-i-become-an-ielts-certified-trainer [R=301,L,NE]
```

Do not redirect `in.cambridgeveritas.com` with these rules until you confirm whether it has unique regional content. The Next.js app currently treats that host as noindex.
