If you need specific help, contact our Support Team.
Feel free to click the thumbs up below to help many others in need of similar solutions, thank you and God bless!
You can simply use the PHP header() function to redirect a user to a different page.
The PHP code in the following example will redirect the user from the page in which it is placed to the URL http://www.example.com/another-page.php. You can also specify relative URLs.
<?phpheader("Location: http://www.example.com/another-page.php");exit();?>
If you want to redirect the users from old page to a new page on a permanent basis then also mention HTTP response code in the header() function as shown in the following example, so that search engines transfer "page rank" from the old page to the new page.
<?php// 301 Moved Permanentlyheader("Location: http://www.example.com/another-page.php", true, 301);exit();?>
Read: How to Set Up an HTML Redirect on Your Website
Credits: Tutorial Republic
If you need specific help, contact our Support Team.
Feel free to click the thumbs up below to help many others in need of similar solutions, thank you and God bless!
You can simply use the PHP header() function to redirect a user to a different page.
The PHP code in the following example will redirect the user from the page in which it is placed to the URL http://www.example.com/another-page.php. You can also specify relative URLs.
<?phpheader("Location: http://www.example.com/another-page.php");exit();?>
If you want to redirect the users from old page to a new page on a permanent basis then also mention HTTP response code in the header() function as shown in the following example, so that search engines transfer "page rank" from the old page to the new page.
<?php// 301 Moved Permanentlyheader("Location: http://www.example.com/another-page.php", true, 301);exit();?>
Read: How to Set Up an HTML Redirect on Your Website
Credits: Tutorial Republic
If you need specific help, contact our Support Team.
Feel free to click the thumbs up below to help many others in need of similar solutions, thank you and God bless!
Let's get you started
We use cookies to enhance your browsing experience and personalise content. By continuing, you accept our Privacy Policy.
Manage how we use cookies on your device.
Required for the website to function. Cannot be disabled.
Help us understand how visitors interact with our site.
Used to deliver personalised advertisements and track campaigns.
Enable enhanced features like live chat and social media embeds.
Get a free consultation on web design, hosting, domains & digital marketing.