Rename sites directory to be the new config repository
This commit is contained in:
parent
006992b900
commit
433e7eec80
31 changed files with 196 additions and 216 deletions
|
@ -28,8 +28,7 @@ accommodate future error codes easily.
|
|||
Installation:
|
||||
-------------
|
||||
|
||||
1. Install the customerror module directory in the directory where you
|
||||
keep contributed modules (e.g. sites/all/modules/).
|
||||
1. Install the customerror module directory in your modules directory.
|
||||
|
||||
2. Go to the Modules page
|
||||
- Enable the customerror module.
|
||||
|
@ -136,16 +135,16 @@ FAQ
|
|||
- There is no need to. CustomError returns the correct HTTP status
|
||||
codes (403 and 404). This will prevent robots from indexing the
|
||||
error pages.
|
||||
|
||||
|
||||
* I want to customize the custom error template output.
|
||||
|
||||
- In your site's theme, duplicate your page.tpl.php to be
|
||||
- In your site's theme, duplicate your page.tpl.php to be
|
||||
page-customerror.tpl.php and then make your modifications there.
|
||||
|
||||
* I want to have a different template for my 404 and 403 pages.
|
||||
|
||||
- Duplicate your page.tpl.php page to be page-customerror-404.tpl.php
|
||||
and page-customerror-403.tpl.php. You do not need a
|
||||
- Duplicate your page.tpl.php page to be page-customerror-404.tpl.php
|
||||
and page-customerror-403.tpl.php. You do not need a
|
||||
page-customerror.tpl.php for this to work.
|
||||
|
||||
* Some 403 errors (e.g. "http://example.org/includes") are served by
|
||||
|
|
Reference in a new issue