Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Domain Names pointing to same GS installation
#6
(2017-07-01, 02:05:18)vanfruniken Wrote: What I am trying to achieve is that the same GetSimple content is served for different domain names that I own.

I assume, all of your domains are on the same server?

Then make as much GS installations as you own domain names. In one of these installations (let's call it "main installation") you'll edit the content. In all the other installations you change the GSDATAPAGESPATH in the file /admin/inc/common.php so that it points to the GSDATAPAGESPATH of the "main installation".

Look at line 116 of common.php:

change
PHP Code:
define('GSDATAPAGESPATH'GSROOTPATH'data/pages/'); 
to
PHP Code:
define('GSDATAPAGESPATH''/server/path/to/this/installation/data/pages/'); 

That's all.

Alex
Reply


Messages In This Thread
RE: Multiple Domain Names pointing to same GS installation - by Alexander_ - 2017-07-01, 22:42:09



Users browsing this thread: 1 Guest(s)