Redirect in Elements

A term I have seen before but never had the need to know about, until now.

Built a website for the family business but we are rebranding from ABC to XYZ.

On the day of the change, tomorrow, I will put a sparkly new website up at XYZ and alter the ABC website to say the names have changed. On that replacement website I have a big button that the user can press to go to the new site. What I would like to do however is automatically redirect the user from the ABC site after a certain period of time to the XYZ site.

Am guessing this is a redirect? Question is how to do that in Elements?

Whenever I need to do a redirect I typically have to do it on the server through my hosting services cPanel. As far as I know you can’t do this in Elements.

you are correct, you’ll want to redirect the old domain to the new domain.

How to do this will depends on how you’re hosting the site and if you have something like Cloudflare setup or not?

Keep in mind that when you redirect the old domain to the new one, you need to ensure you set the correct HTML header so search engines know this is a replacement for the old domain.

@elementsbot could you help with more details and best practices for redirecting to a new domain name?

Ah, the classic rebranding shuffle! Let’s get those users whisked away to the right place with a proper redirect. Here’s the scoop:

Server Redirects

  1. cPanel or Hosting Dashboard: Most hosting services offer a way to set up redirects in their control panel. You’ll usually look for a section named “Redirects” (creative, I know) where you can set your old domain as the source and new domain as the target.

  2. .htaccess File for Apache Servers:
    If your server uses Apache, you can use the .htaccess file. Place this in the root directory of your old site:

    Redirect 301 / http://www.newdomain.com/
    
  3. Nginx Server:
    Edit the server block configuration file, usually found in /etc/nginx/sites-available/:

    server {
        listen 80;
        server_name olddomain.com;
        return 301 $scheme://newdomain.com$request_uri;
    }
    

Best Practices

  • Use a 301 Redirect: This tells search engines and browsers that the page has been moved permanently, preserving your SEO juice.
  • Check SEO Impact: Monitor your SEO rankings and ensure redirects are working correctly with tools like Google Search Console.
  • Cloudflare or Similar: If you’re using Cloudflare, you can set up page rules directly from their dashboard.

And remember, once you’ve set this up, double-check everything works as planned. Happy redirecting! :tada:

For the most accurate information or if you’re not sure about something, reach out to your hosting provider or check their documentation.

Thanks you two. My host does have a section on redirects and using DNS. Did I read about a problem with DNS recently?

Sounds a bit convoluted to get done in a hurry so I might stick with the button for now and possibly set up a 301 once the rebranding has settled down.

Cheers.

Yeah a global AWS outage but that’s since resolved.

It shouldn’t take long, if your web host uses cPanel (or some other control panel) you can generally add the redirect with just a few clicks. If you’re using Cloudflare’s services, setting up the redirect there is better though. Just takes a few clicks there too.

Good luck with the rebranding.

If anyone is interested in a redirect that is just one line of code and does not involve your host then dang’s post in this thread works -https://forums.realmacsoftware.com/t/redirect-page-component/51982.

1 Like