I would like to have an alias and redirect the URL tz433.tld/jobs/
to the page tz433.tld/about-us/jobs/
.
This is what I\'ve tried by far; it di
If you want the rule to only execute when the domain is "tz433.tld", you need this condition:
RewriteCond %{HTTP_HOST} ^(www\.)?tz433\.tld
And to redirect "jobs/" and "jobs" to "tz433.tld/about-us/jobs.html", you can try one of these:
RewriteRule ^jobs/? /about-us/jobs.html [R=301,L]
# or
RewriteRule ^jobs/? http://tz433.tld/about-us/jobs.html [R=301,L]
If someone is just interested in simple redirect you can try this:
Redirect /URL URLtoRedirect
e.g
Redirect /old-url https://mywebsite.com/new-url