Does anyone know how to first get the current URL (which always contains a subdomain) then remove the subdomain and print the result?
For Example, turn this:
<a href ="http://shop.mydomain.com/subdirectory">Link</a>
into this:
<a href ="http://mydomain.com/subdirectory">Link</a>
Remove Subdomain from url
Moderator: General Moderators