GetSimple Support Forum
QUESTION Acces to one website with two url - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: QUESTION Acces to one website with two url (/showthread.php?tid=10610)



Acces to one website with two url - dc7os - 2018-10-19

Hi,

i build a web site with GetSimple, www.nordlink.org. This site should be aviable from two different Networks. One time from the "normal" Internet with this url. On the other site from an internal Network with the url nordlink.de.ampr.org

My Question how could i modify all the links that i don't get any Problem with these 2 URLs?

TIA, Karsten


RE: Acces to one website with two url - dc7os - 2018-11-02

I found a solution: goto admin/inc and open basic.php in Editor. Then find the definition of the function find_url. You only have to replace the "$type='full'" with "$type='relative'". That's all and it works fine.

HTH, Karsten


RE: Acces to one website with two url - datiswous - 2018-11-03

This is not optimal, because with an update it will get overwritten. There's also a plugin for this I think.