The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
XAMPP Localhost migration problem - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5) +--- Thread: XAMPP Localhost migration problem (/showthread.php?tid=2293) |
XAMPP Localhost migration problem - listgiant - 2011-10-20 I am about to move a Get-Simple site from one server to another. I wanted to do a test run on my localhost. Everything is working pretty well except the links. The site is at localhost/lg. When I hover over a link it reads localhost/link.php when it should say localhost/lg/link.php. Has anyone encountered this problem before? XAMPP Localhost migration problem - n00dles101 - 2011-10-20 add Code: <base href="http://localhost/lg/" /> to the <head> of your template. Remove/change before transferring to your live site. XAMPP Localhost migration problem - hameau - 2011-10-20 @listgiant: Have you seen the information in the wiki ? To modify in-page links, I use rpl, a Python script (no need to compile or install anything, if Python is already available to you). Just run the following in your /data/pages directory: Code: rpl -bs -x.xml oldserver/oldfolder/ newserver/newfolder/ ./* @n00dles: Isn't the <base> tag only useful if you have relative links in-page, in which case correcting the paths in .htaccess and gsconfig.php will fix everything anyway ? |