Reserved aliases - slackero/phpwcms GitHub Wiki

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');