• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to Register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

How to set up a .htaccess redirect?

Collapse

Unconfigured Ad Widget

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.

  • #2
    ASP.Net Hosting starts @ $3.18/Mo.
    Create the . htaccess file on your computer using a text editor. ...
    Use your FTP client to access your site. Make sure to set your FTP client to view hidden files.
    Go to the public_html directory.
    Upload your new . ...
    When the upload is complete, exit your FTP client.

    Comment

    Working...
    X

    Sign up for a News Letter Click here to sign up