redirect question

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
wb_user
 
 
Posts: 1099
Joined: Sun Jul 05, 2015 7:03 am

Re: redirect question

Post by wb_user »

Adrian wrote: Mon Oct 18, 2021 3:03 pm Hello wb_user, no, it has no negative effect because this is just a Php redirection.

The file in the folder article MUST be a index.php AND your server MUST search for a index.html or a index.php!


Regards, Adrian
thanks!
jjq2r01h
 
 
Posts: 19
Joined: Sun Aug 23, 2020 4:31 pm

Re: redirect question

Post by jjq2r01h »

Hi
Can anybody guide me on how to easily create a website https://a.b.c which then immediately redirects (without any user interventions) to another website https://x.y.z?
wwonderfull
 
 
Posts: 1255
Joined: Fri Aug 21, 2020 8:27 am

Re: redirect question

Post by wwonderfull »

jjq2r01h wrote: Tue Dec 26, 2023 7:45 am Hi
Can anybody guide me on how to easily create a website https://a.b.c which then immediately redirects (without any user interventions) to another website https://x.y.z?
To easily create a website `https://a.b.c` that immediately redirects to another website `https://x.y.z` without any user interventions, you can use HTML meta tags in the head section of your HTML code. Here's an example:

Code: Select all

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="refresh" content="0;url=https://x.y.z">
    <title>Redirecting...</title>
</head>
<body>
    <h1>Redirecting to https://x.y.z...</h1>
</body>
</html>
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: redirect question

Post by BaconFries »

There is a couple of ways to do this one is using meta tags* such as the following:
<meta http-equiv="refresh" content="0; url=add the required url to redirect to" /> by inserting in
Page Properties--> Meta Tags under User Defined. Where it reads "refresh" content= is set to 0 (equals seconds) this will redirect the user as soon as they enter the page if you wish a delay then.you can change the 0 to either 5 or increasements in seconds.
jjq2r01h
 
 
Posts: 19
Joined: Sun Aug 23, 2020 4:31 pm

Re: redirect question

Post by jjq2r01h »

Thank you WWONDERFULL and BACONFRIES

Both your solutions work excellently and I am very grateful for your help. It is very much appreciated.
Post Reply