Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I need to use two different hostnames for the same server running Gallery, but with one of them all the page links are wrong. How do I fix it?

0
Posted

I need to use two different hostnames for the same server running Gallery, but with one of them all the page links are wrong. How do I fix it?

0

G2 constructs links to other G2 pages using the baseUri parameter in the config.php (you’ll find it at the end of the file). If you set this parameter to blank (“”) then all links in a page are built with the same hostname as the request was made to. So you can use two different names and the pages served for both will remain consistent.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123