Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

247
Views
Detect multisite page URL in Oxygen Builder(wordpress)

Short intro to the problem: I am trying to create a redirect banner on a multisite website. The problem I am facing is that the multisite has different URL paths for the same page and I don't know how to detect these different URL paths on each Oxygen template. For example website.com/press vs website.de/presse.

Currently, what I've done redirects the user to the same URL on every template using Javascript inside Oxygen.

let redirectUrl = currentUrl.slice(0,34) + redirectCode + currentUrl.slice(37);
    
let redirectLink = document.createElement('a');
redirectLink.setAttribute('href', redirectUrl);

Is there a way to integrate another plugin(if it is can you show me how or at least point me to some resources to learn how to do it) such as Hreflang to detect the corresponding page URL for multisites?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!