I would like to have an alias and redirect the tz433.tld/jobs/ URL to the tz433.tld/about-us/jobs/ page.
This is what I tried far; this did not work:
RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.tz433\.tld/jobs/$ RewriteRule (.*) http://tz433.tld/about-us/jobs.html [R=301,L]
The problem is that there are several domains in this root path because it is a multi-user installation of typo3. So, something like "redirect /jobs to /about-us/jobs " does not work, because it should only happen for a specific domain (tz433).
The following feature of www.tz433.tld automatically redirected to tz433.tld . Therefore, it should also work with www.tz433.tld/jobs/ and tz433.tld/jobs . Both should be redirected to tz433.tld/about-us/jobs.html .
How can I achieve this successfully?
redirect apache .htaccess
emjay
source share