Set up your Rewrite Rules

From ARK
Revision as of 14:51, 21 May 2014 by Stuarteve (talk | contribs) (Created page with "The rules that you setup will be dependent on what your ARK's structure is like (in terms of modules, etc.) and also what you would like your persistent URLs to look like. Here ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The rules that you setup will be dependent on what your ARK's structure is like (in terms of modules, etc.) and also what you would like your persistent URLs to look like.

Here are some examples:

To access an item in micro_view using the following URL - http://www.yourark.com/view/cxt/ABC12_212 you could setup the following rule:

RewriteRule view/([a-z]{3,})/([A-Z0-9]+_[0-9]+) micro_view.php?item_key=$1_cd&$1_cd=$2