• Let’s say my website is hosted as example.com and all the href and src also use the same domain.

    I want to change all href and src values in all webpages to test.example.com based on a certain condition.

    How to achieve this?
    I understand that I can use some php script function like getElementsByTagName and html DOM but I am new to any kind of coding and not sure how to go about this. I appreciate any help.

  • The topic ‘Modify href on all web pages’ is closed to new replies.