Function __global->rename_live_comcode_page
Definitions
sources/zones3.php
- Rename/move a Comcode page.Does create a redirect, if requested.Does not rename the actual .txt files or rebuild the Sitemap files or empty caches.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$zone | ID_TEXT | required parameter | N/A | N/A | The old zone |
$file | ID_TEXT | required parameter | N/A | N/A | The old page |
$new_zone | ID_TEXT | required parameter | N/A | N/A | The new zone |
$new_file | ID_TEXT | required parameter | N/A | N/A | The new page |
$create_redirect | boolean | False | N/A | N/A | Whether to create a redirect |