(2014-01-17, 09:22:05)xxdex Wrote: But how to redirect this page in external serwer.Make yourself familiar with i18n customfield plugin.
Then create a new field for external link to the page you want to redirect from the menu, give it an example name: externalurl
Then create a new template file, name it for example: redirect_template.php
Use below code inside template file
Code:
<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location:".return_custom_field('externalurl'));
exit();
?>
All you have to do is:
1. add new page, add it to the menu (page options)
2. paste link into custom field (page options) | edit: don'g forget http:// prefix in pasted link, otherwise it won't work
3. choose external_link template for this particular page (page options)
4. Save page
voilla
Addons: blue business theme, Online Visitors, Notepad