Posts: 1,908
Threads: 80
Joined: Dec 2016
Reputation:
91
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 ¯\_(ツ)_/¯
Posts: 590
Threads: 137
Joined: Jun 2004
Reputation:
12
2019-10-13, 11:45 PM
(This post was last modified: 2019-10-13, 11:46 PM by makpaolo. Edited 1 time in total.)
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
Posts: 1,908
Threads: 80
Joined: Dec 2016
Reputation:
91
(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.
I'm Serpius and You're Not ¯\_(ツ)_/¯
Posts: 3,101
Threads: 57
Joined: Dec 2011
Reputation:
115
2019-10-14, 01:24 AM
(This post was last modified: 2019-10-14, 01:39 AM by s3_gunzel. Edited 3 times in total.)
.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
Posts: 1,908
Threads: 80
Joined: Dec 2016
Reputation:
91
(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.
I'm Serpius and You're Not ¯\_(ツ)_/¯
Posts: 2,754
Threads: 63
Joined: Nov 2011
Reputation:
261
(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;
[retired]
Posts: 1,908
Threads: 80
Joined: Dec 2016
Reputation:
91
(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.
I'm Serpius and You're Not ¯\_(ツ)_/¯
Posts: 2,754
Threads: 63
Joined: Nov 2011
Reputation:
261
(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.
[retired]
Posts: 671
Threads: 20
Joined: Jun 2019
Reputation:
81
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]
Posts: 1,908
Threads: 80
Joined: Dec 2016
Reputation:
91
(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.
I'm Serpius and You're Not ¯\_(ツ)_/¯
|