-
Notifications
You must be signed in to change notification settings - Fork 78
Adding custom page to your project
Obihörnchen edited this page Nov 13, 2016
·
1 revision
- FTP/sFTP client
- First add a page in pages folder The page must be named following this convention :
page_name.page.php
As Worldpage is based on Bootstrap, you must start your page by a row.
`
<h1>Content</h1>
<p>Here comes your content</p>
</div>
At this moment, you can access to your page using the page GET param.
http://HOST.TLD/?page=page_name
Edit .htaccess file to add your URL
RewriteRule ^FRIENDLY_URL$ index.php?page=page_name [QSA,NC,L]
See Editing menu