SEO for affiliates

The server-side snippets offered with our Pro and Enterprise plans can help you improve your site's visibility to search engines if you are writing custom content for you products. These snippets offer an advantage over Javascript snippets because they render the shop contents, including product names and descriptions, to the search engine. Additionally, with the SEO Rules editor provided with our Enterprise plan, you can customize data feed content to include your own targeted keywords.

We highly recommend that you refer to Google's Webmaster Guidelines for more information about SEO.

PHP is a commonly used server language. Your PHP snippets will execute properly if PHP is enabled on your site, and if the filename extension for the webpage is .php. You may also be able to configure your server to run the PHP interpreter on your .htm and .html files. To do this, you will need to create or modify an .htaccess file and add something similar to the following entry:

AddHandler application/x-httpd-php .htm .html

Please contact your web host for more information on editing .htaccess files. All hosts, systems, etc are different and this approach may not work for your particular system.

Redirecting HTML pages using htaccess

If you have old .html pages and want to redirect to your new .php pages, using htaccess to redirect is an SEO friendly way to redirect your pages (and easier to manage).

Here is one way to do it:

  1. Access your ".htaccess" file on your root directory.
  2. Open the .htaccess using your text editor.
  3. Add this into the .htaccess file, save it and then upload it to your web server:
Redirect 301 /directory/file.html /directory/file.php

NOTE: Notice how there was no "http://www" attached to /directory/file.html . Also, make sure you're using a single space between the statements.

redirect 301 (the instruction that the page has moved)
/directory/file.html (the original folder path and file name)
/directory/file.php (new path and file name)