Seo redirect > Settings


As you already know - module creates new menu item where you can configure the module. First element of this menu is "settings" tab. Here you can manage main settings of the plugin, activate some features globally etc. This part of documentation explains available features in this "settings" secttion.

seo redirect settings

 

Enable wildcards possible values: YES / NO 

wildcard  character can be used to substitute for any other character(s) in a string.  Module can work with wildcards, this means that you can generate bulk redirections based on url patterns. Feature - if enabled - will search in the redirection urls for characters that are wildcards. This option allows to use wildcards like:

  1. Regular expressions  You can use regular expressions to define redirections. ? (question mark)  this can represent any single character. If you specified something at the command line like "hd?" - script would look for hda, hdb, hdc and every other letter/number between a-z, 0-9.
  2.  (asterisk)  this can represent any number of characters (including zero, in other words, zero or more characters). If you specified a "cd*" it would use "cda", "cdrom", "cdrecord" and anything that starts with “cd” also including “cd” itself. "m*l" could by mill, mull, ml, and anything that starts with an m and ends with an l.
  3. [ ] (square brackets)  specifies a range. If you did m[a,o,u]m it can become: mam, mum, mom if you did: m[a-d]m it can become anything that starts and ends with m and has any character a to d inbetween. For example, these would work: mam, mbm, mcm, mdm. This kind of wildcard specifies an “or” relationship (you only need one to match).
  4. { } (curly brackets)  terms are separated by commas and each term must be the name of something or a wildcard. This wildcard will copy anything that matches either wildcard(s), or exact name(s) (an “or” relationship, one or the other). For example, this would be valid: {*printed*,*summer*} - this will check urls for "printed" or "summer" words
  5. [!]  This construct is similar to the [ ] construct, except rather than matching any characters inside the brackets, it\'ll match any character, as long as it is not listed between the [ and ]. This is a logical NOT.

Enable statistics  possible values: YES / NO 

Enable or disable statistics feature. If enabled - module will store informations about redirected customers. You will be able to see stats under Seo Redirect > statistics menu item.


Out of stock products

With this option you can automatically redirect products that are no longer in stock. For this option you just have to select what you want to do with products that are out of stock.

possible values: 
- Nothing
- Disable and hide automatically
- Disable and redirect to homepage
- Disable and redirect to main category of product


Disabled Products

With this option you can automatically redirect disabled product pages. Module will identify the product in your shop and if it will find that it is disabled - module will create redirection. Here you can define what to do with disabled products

Possible values:

- nothing

- redirect to shop homepage

- redirect to main category page of disabled product


Removed products

With this option you can automatically redirect products' pages that were removed from your shop. Module will identify if browser page is a product page - and if so - module will create redirection. Here you can define what to do with removed products

Possible values:

- nothing

- redirect to shop homepage


Out of stock products redirection type

IF you will enable redirection of out of stock products you can define type of redirection that module will use to redirect guests.

Possible values:

- 301 permanent redirection

- 302 moved temporarily redirection

- 303 redirection


Disabled products redirection type

if you will enable redirection of products that are disabled you can define type of redirection that module will use to redirect guests.

Possible values:

- 301 permanent redirection

- 302 moved temporarily redirection

- 303 redirection


Removed products redirection type

If you will enable redirection of products that were removed you can define type of redirection that module will use to redirect guests.

Possible values:

- 301 permanent redirection

- 302 moved temporarily redirection

- 303 redirection