MyBB Community Forums

Full Version: Can MyBB Redirect To New Website?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Got a question that I do not see anywhere being asked on MyBB.com.

I have a current website, Luxor Forums (luxorforums.com) and I want to redirect the traffic to the new website, Contenght (contenght.com)

Both websites are using the latest MyBB forum software.

What is the best way to redirect the Luxor Forum traffic to the new website? 

I have seen a redirect page with a 5-10 pause before the user is redirected to a new website.

The redirect page would state something like this: "This website is now closed, you are being redirected to the new website." 

The user has 2 options, to click on the link on the redirect page (the link will be below the above statement), or wait for the countdown to be redirected to the new website.

How is this done?
I'm not sure if you can directly redirect traffic and firstly show a redirect page before doing so, but the best way to redirect all traffic is to add a page rule for forwarding URL in cloudflare (if you have cloudflare), or do it through your domain registrar e.g. namecheap, godaddy, etc.

Usually what ur asking when the user has 2 options is when a link is clicked, but I have not seen something like it for a permanent redirect from one website to another
(2019-10-13, 11:45 PM)makpaolo Wrote: [ -> ]I'm not sure if you can directly redirect traffic and firstly show a redirect page before doing so, but the best way to redirect all traffic is to add a page rule for forwarding URL in cloudflare (if you have cloudflare), or do it through your domain registrar e.g. namecheap, godaddy, etc.

Usually what ur asking when the user has 2 options is when a link is clicked, but I have not seen something like it for a permanent redirect from one website to another

What I mean by 2 options is this...

When the user reads the short statement and if they do not want to wait for the countdown to end... then can click on the link immediately.

Or the user can do nothing and allow the countdown to continue to go to zero and that user is automatically redirected to the new website.
.htaccess redirect. 301 to the new website.

There won't be a countdown. It'll just straight convert your URL to the new one.

I wouldn't recommend a countdown as that'll do things to your SEO.

Redirect 301 https:///luxorforums.com https://contenght.com
(2019-10-14, 01:24 AM)Ben Cousins Wrote: [ -> ].htaccess redirect. 301 to the new website.

There won't be a countdown. It'll just straight convert your URL to the new one.

I wouldn't recommend a countdown as that'll do things to your SEO.

Redirect 301 https:///luxorforums.com https://contenght.com

Luxor Forums is on a Linux VPS, therefore, .htaccess won't work.
(2019-10-16, 06:08 PM)Serpius Wrote: [ -> ]Luxor Forums is on a Linux VPS, therefore, .htaccess won't work.

rewrite ^/oldlocation$ http://www.newdomain.com/newlocation permanent;
(2019-10-16, 06:22 PM)Wildcard Wrote: [ -> ]
(2019-10-16, 06:08 PM)Serpius Wrote: [ -> ]Luxor Forums is on a Linux VPS, therefore, .htaccess won't work.

rewrite ^/oldlocation$ http://www.newdomain.com/newlocation permanent;

Well, I know zilch about Linux, therefore, I wouldn't know where to begin to put that line in.
(2019-10-16, 07:14 PM)Serpius Wrote: [ -> ]Well, I know zilch about Linux, therefore, I wouldn't know where to begin to put that line in.

This is a line that goes in your nginx conf.d

If you aren't sure how to add this, then you probably just need to seek out someone to help you administrate your server.
Does your webhosting service allow you to change DNS manually?
Then set an A Record. This is the lowest layer for redirection with least delay. You can also choose between HTTP 301 (Moved permanently) or Frame-Forwarding (means redirection to another domain while the typed URL still keeps visible)

In respect to performance, do a redircetion/forwarding in the following order in general:
1. DNS: A-Record - on network layer
2. Webserver: .htaccess - on webserver service layer
3. HTML: meta-Refresh - on client layer

[ExiTuS]
(2019-10-16, 07:16 PM)Wildcard Wrote: [ -> ]
(2019-10-16, 07:14 PM)Serpius Wrote: [ -> ]Well, I know zilch about Linux, therefore, I wouldn't know where to begin to put that line in.

This is a line that goes in your nginx conf.d

If you aren't sure how to add this, then you probably just need to seek out someone to help you administrate your server.

kawaii was helping out until he "disappeared". 

So, I need someone else to do that.
Pages: 1 2