-
Notifications
You must be signed in to change notification settings - Fork 52
Reserved aliases
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:
- newsdetail
- newspage
- id
- aid
- subgallery
- listpage
- page
- subscribe
- unsubscribe
- 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');