Jump to content

Get page URL without host


suntrop
 Share

Recommended Posts

On my site I am using the code from this post

https://processwire.com/talk/topic/5082-default-language-per-domain-language-switcher-not-working/

All homepages look fine and return the corresponding translation. But all links are still pointing to the default host not the one I am currently visiting.

Is there any way I can strip out the host or let PW know to use the host the user is on?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...