Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1 vote

Redirect OLD/Path to NEWURL/Path

<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^olddomin\.com RewriteRule ^(.*)$ https://newdomain.com/$1 [R=301,L] </IfModule> This is what you're looking for, before ...
Chris Cox's user avatar
  • 1,277

Only top scored, non community-wiki answers of a minimum length are eligible