Announcement

Collapse
No announcement yet.

How to set up a .htaccess redirect?

Collapse

Ads on showthread pages

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to set up a .htaccess redirect?

    WordPress Hosting on SSD Servers


    Code

    Redirect 301 /example/test.html http://www.yoursite.com/newlocation/newpage.html


    Cut and paste this code into your .htaccess file. "Redirect 301" means that it is a permanent redirect. You can change it to "Redirect 302" for a temporary redirect. If you have no number, then it will default to a temporary (302) redirect. Change the "/example/test.html" to your old location. Then put your new location in where it says "http://www.yoursite.com/newlocation/newpage.html". You are done
    Last edited by admin; 08-17-2015, 09:04 AM.
Working...
X
Sign up for a News Letter Click here to sign up