Skip to content
Oliver Georgi edited this page Oct 18, 2013 · 1 revision

Structure levels and articles can get custom alias to be addressed by index.php?alias or when rewrite functionality is enabled by alias.html.

By default there are some aliases which cannot be set. If phpwcms matches such alias in the backend it is extended by date -Y-n-j or -view.

Reserved aliases:

  • print
  • newsdetail
  • newspage
  • id
  • aid
  • subgallery
  • listpage
  • page
  • subscribe
  • unsubscribe
  • email
  • u
  • s
  • q
  • feedimport
  • r404

The list of reserved aliases can be extended by setting config value $phpwcms['reserved_alias'].

// Sample
$phpwcms['reserved_alias'] = array('myreserved-alias', 'blocked');

Clone this wiki locally