Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Settings area you can make AMR related following settings:

Plugin settings

Enable AMR: through this setting you can enable and disable plugin without deactivation in plugin manager.

...

  • The routing does not sends a HTTP header redirection to the destination URL, the redirection will happen internally by
    replacing the detected incoming URL against the new destination URL (overwriting of article- categoryid)
  • Incoming URLs can point to non existing resources (category/article), but the desttination URLs should point
    to valid CONTENIDO articles/categories
  • Destination URLs should point to real URLs to categories/articles,
    e. g.front_content.php?idcat=23 or front_content.php?idart=34
  • The language id should attached to the URL in multi language sites
    e. g. front_content.php?idcat=23&lang=1
  • The client id should attached to the URL in multi client sites sharing the same folder
    e. g. front_content.php?idcat=23&client=2
  • The destination URL should not start with '/' or './' (wrong: /front_content.php, correct: front_content.php)

Image Added

In functions area you can make following settings:

Functions

Copy/Download .htaccess template: in this setting you can select the .htacces type. On this point you have two different templates, you can copy or download the template.

Restrictive .htaccess: contains all restrictive settings. All requests with file type js, ico, gif, jpg, jpeg, png, css, pdf will be not rewritten. All other file type will be rewritten to front_content.php.

Folders contenido/', 'setup/', 'cms/upload', 'cms/front_content.php' are excluded from the rewriting. If you want to exclude some another files or folders you have to define it explicit.

Simple .htaccess: contains simply rewriting rules. All request to the valid symlinks, folders or files are excluded from the rewriting. All another requests will be rewritten to the front_content.php.

 

Reset category-/ and article aliases: with this setting you can reset all or only empty alliases.

Image Added

In test area you can test your amr related settings:

Test


The test area provides testing of the current AMR configuration.

Define options to genereate the URLs by using the form below and run the test: with this setting you can define test params for the current configuration. That can be idcat which is category id, idart which is article id, idcatart which is relation id between category and article

or idartlang which is article id in certain language. After that you can input count of article ids and run test.

After test, you can see how much url were rewritten, successfull resolved,  errors etc.


//END


AMR is high configurable plugin, you can set how your url should looks like through dirrefent settings(see screenshot above).

...