We have a few domains that we redirect to our homepage. When someone enters one of the domains in their browser (ex www.redirect1.com
) it redirects to our web page (www.ourwebpage.com
) and shows the redirected url as the name of the page. We would like the redirected urls all show the actual name of the page instead (www.ourwebpage.com
). Is this something I need to do with our domain registrar or is it a coding thing for the web page?
If I understand correctly, it sounds like you currently point your different domains to same IP address. Therefore, the domains mask the fact that you are on the same web site. Therefore, you need to make a change to the webpages to check if the current URL matches the one you want to display. If it does not, the site should perform a redirect. Another way to do this is to configure each domain to its own website. For the domains you want to redirect, set the redirect option in your web server.
I hope that helps.