The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Redirect Template For Themes - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Scripts & Components (http://get-simple.info/forums/forumdisplay.php?fid=11) +--- Thread: Redirect Template For Themes (/showthread.php?tid=7229) |
Redirect Template For Themes - chien - 2015-04-24 Do you need to make a page that simply redirects? Do you need that page to also show up in the menu? The solution is simple, simply follow these step and you'll be up and going. Step 1. Open up your favorite text editor. -I.E. Notepad++- and place the following code in said text editor. Code: <?php if(!defined('IN_GS')){ die('You cannot load this page directly.'); } Now upload "redirect.php" into your site in the theme directory you are using. Example FTP /YOURDIRECTORYFORGETSIMPLE/themes/CURRENT THEME Step 2. In GS simply create a new page and place the URL you want to redirect in the TAGS & Keywords field and your done you can now have a page show up in the menu that simply rediects. RE: Redirect Template For Themes - shawn_a - 2015-04-24 Keywords is probably not the best place for this, since plugins use them as tags for various stuff RE: Redirect Template For Themes - chien - 2015-04-24 What about using Code: <?php get_page_meta_desc(); ?> RE: Redirect Template For Themes - shawn_a - 2015-04-24 Probably better |