If your domain name changes, IDX Broker does not automatically create 301 redirects for your IDX pages. However, you can configure redirects manually using the steps below.
In this example, the domain is being changed from:
demo.idxbroker.com
to:
demo.idxdevelopers.com
Steps
- Delete the existing CNAME record for the old domain.
Create the old domain as a subdomain on your hosting account.
Example:
demo.idxbroker.com
- Install an SSL certificate for the old subdomain.
- If your server is using Apache, add the following rule to your
.htaccessfile:
RewriteEngine On RewriteBase / RewriteRule (.*) https://demo.idxdevelopers.com/$1 [R=301,L]
This will permanently redirect all traffic from the old IDX domain to the new domain while preserving the page path.
Notes
- The SSL certificate is important to avoid browser security warnings on HTTPS traffic.
- This redirect should be configured on the old domain or subdomain hosting environment.
- The
$1in the rewrite rule preserves the requested URL path during the redirect.
If you have any questions, please email:
developers@idxbroker.com