What are the different ways to set up website page redirects?

Tags:
redirects
Web pages
How to redirects a page in different ways?


Software/Hardware used:
php, cpanel, html, wordpress, .htaccess
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi.
If you are using PHP then easily redirect page to another page by editing code in.htaccess file. you need to decide redirect option that permanent or redirect if want to done permanently used 301 redirection code here is the way

RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC]

replace example.com to your website pages.

If you just setup temporary redirection need to used 302 redirection method read out these steps
landofcode.com/web-development-how-to/webpage-redirection.php

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: