Our old WP website: https://www.domainname.com/oldsite/ Our new WP website: https://www.domainname.com/newsite/

We want to make sure that no matter what page they land on, on the old site, will redirect them to the HOME PAGE of the NEW site. Notice both sites are installed in sub-folders of the main domain name and the whole domain name has a secure certificate.


1 Answer 1


This probably should have been asked on stackoverflow as its not wordpress specific. However, what youre looking for is a wildcard.

You can find information about using them to do what you need here htaccess wildcards

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.