Questions? Call (860)407-2687
find us on:

🧾 The Way to Use Htaccess 302 Affiliate Redirect Generator 🛠 Online

short url:

This webpage contains instructions on the right way to use this htaccess page moved redirect generator 🛠 tool.

If these instructions are not understandable, feel free to view the following other instructions (links open in new window) ...

Here you will find the actual .htaccess 301/302 affiliate redirect code builder 🛠.

🧾 The Way to Use Htaccess 302 Affiliate Redirect Generator 🛠 Online

An .htaccess file is a file that contains directives or special instructions to the web server.

One of these directives is redirect commands. You do NOT want to mess up your HTACCESS file because that could be a complete web server nightmare, even if you know what you are doing so make sure to follow these instructions exactly:

  1. Check to see if your web server already has an .htaccess file. If you are using Wordpress then your web server does already have an .htaccess file.
  2. IF your web server DOES already have an .htaccess file, download the .htaccess file with a ftp client program like Filezilla and save the copy of your .htaccess file somewhere. This way if you do something wrong within the .htaccess file, you can upload the backed up version.
  3. IF your web server does NOT already have an .htaccess file, open a blank text file like Notepad (Windows) or TextEdit (Mac) and save that blank file as .htaccess. That is not a misprint. I know the filetype looks strange because there is nothing before the period . but that is literally how you save the file properly, as .htaccess.
  4. Use the HTACCESS Redirect Code Generator above to properly create your .htaccess url redirect command. Follow the step by step instructions below or the instructions contained within the tool itself.
  5. Open the .htaccess file and place the output code on a line all by itself. Make sure to put nothing before or after the code that is generated by the HTACCESS Redirect Code Generator.
  6. Re-save the file and upload it to your web server to replace the existing .htaccess file (if one already exists on your web server).

Step by Step HTACCESS Redirect Code Generator Instructions

  1. Select the correct option button to indicate the type of HTACCESS redirect you wish to create ...
  2. Select the option button to choose the type of HTACCESS redirect you wish to create ...
  3. Enter the FULL URL (starting with http:// or https://) of the page you are redirecting from. The url of this web page does not even have to exist on your web server and can be a completely ficticious page. This is great for affiliate marketers wishing to redirect to an affiliate url because you can create a link with any url assigned to it you desire. For example, if you are affiliate marketing a web hosting company you could create a link on a web page
    http://www.mywebsite.com/webhostingcompany
    for example which will redirect to your affiliate link url when clicked.
  4. Enter the FULL URL of the page you wish to redirect TO. If you are an affiliate marketer, this would be your affiliate url.
  5. Press the button with the text Create HTACCESS Redirect.
  6. The completely, properly structured HTACCESS line of code will be output to this text box. Click it with your mouse to select it and copy to clipboard (CTRL+C on PC, Command/⌘+C on Mac).
  7. Open your .htaccess file and paste this line of code, on a separate line by itself, in the .htaccess file. Save and close the file.
  8. Upload the .htaccess file to your web server.

Purpose of HTACCESS Redirect Code Generator

There are many ways to redirect a url but for SEO (search engine optimization) purposes, HTACCESS url redirection is USUALLY the way to go. It is neat and clean and the least complicated way to redirect a url.

There are two main types of HTACCESS url redirects:

  • 301 Permanent Redirect: this is the type of HTACCESS redirect you should use if the redirection is permanent. For example if the url of a web page you have has changed or for an affiliate link redirect.
  • 302 Temporary Redirect: this is the type of HTACCESS redirect you should use if the redirection is temporary, for example you are working on a web page and until that page update is complete you want the website visitor to be redirected to a different url.

The HTACCESS Redirect Code Generator tool above allows you to select either 301 or 302 for your HTACCESS redirect.

If these instructions are not understandable, feel free to view the following other instructions (links open in new window) ...

Here you will find the actual .htaccess 301/302 affiliate redirect code builder 🛠.

CONTENT RELATED TO 🧾 HTACCESS URL 🔗 AFFILIATE REDIRECT RULE GENERATOR 🛠

Question ❔
Back to Top
S
H
A
R
E