Posts Tagged ‘page’

How to set custom error page in DirectAdmin?

1. Create your custom error page. This could be for 500 error (internal server error), 404 error (page not found), 403 error (forbidden), 401 error (authorization required), 400 error (bad request).
2. Login to DirectAdmin server control panel.
3. Locate link Custom Error Pages.
4. Choose any file to edit for certain error page.
5. Paste your web page source code to the editor and click Save As.

The same steps valid for every error code. Alternatively you can select error page for each directory by creating .htaccess file in each directory (if there is no .htaccess file).
Copy this line to the end of your .htaccess file:
ErrorDocument 401 http://yourdomain.com/nopassword.html

This code should be for each error you want to set the custom page. Reemember use the correct editor to edit .htaccess (e.g. Notepad ++).

How to clear the page cache in MediaWiki?

To clear the cache of a page in MediaWiki, you should add &action=purge to the end of the page’s URL in your browser’s address bar, e.g. :

http://www.yourdomain.com/wiki/index.php?title=Main_Page&action=purge

If you are not logged in the wiki, a message will come up asking you to confirm that you want to clear the cache of the page.

How to create a page in WordPress?

You can easily create a static page in your WordPress blog from your admin area > Pages > Add New.

When your page is ready, you can save and publish it by clicking the Publish button.

How to save a post/page as a draft in WordPress?

WordPress gives you several draft options so that you can save your work without having to publish it immediately.

This way you can work on a new post/page as much as you want and publish it only when it is ready.

To save a post as a draft, go to your blog’s admin area > Posts > Add New. Write your post and when you wish to save your progress, click the Save Draft button.

To save a page as a draft, go to your blog’s admin area > Pages > Add New. Enter the content of the new page and click the Save Draft button to save your page as a draft.