Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can MyBB Redirect To New Website?
#1
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 Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#2
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
Reply
#3
(10-13-2019, 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.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#4
.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
[Image: kAhpvOW.png]
Reply
#5
(10-14-2019, 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.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#6
(10-16-2019, 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;
Reply
#7
(10-16-2019, 06:22 PM)Wildcard Wrote:
(10-16-2019, 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.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#8
(10-16-2019, 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.
Reply
#9
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]
New Forum / MyBB 1.8.22 + innovative Theme
Live-Escape-Game-Forum.com / .de / .net
The first German and International Community and discussion platform for Live Escape Rooms and Adventure Games.
Reply
#10
(10-16-2019, 07:16 PM)Wildcard Wrote:
(10-16-2019, 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.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)