Hi. I have problem I am deploying my wp to live site , when I launch the site my site is destroy due to my js and css is not loading properly it uses the url of my local , how can I change the path of my css and js to point to the live url ?
If your live URL path has the same path as your local URL just omit the host from it. For example
Instead of http://localhost/path/to/my/asset.css have /path/to/my/asset.css.
If the paths were different then you could use a variable to set the base url depending on the host.