Moved site to testing server – some JS URLs broken
-
Hi all
I’ve moved my site from my live server to a testing server with no domain name associated.
The site does load, but many URLs are now broken (though strangely not all of them):
<script type=’text/javascript’ src=’https://192.168.0.1/wp-content/plugins/add-to-any/addtoany.min.js?ver=1.1′></script>
<script type=’text/javascript’ src=’https://192.168.0.1192.168.0.1192.168.0.1/wp-content/plugins/revslider/public/assets/js/jquery.themepunch.tools.min.js?ver=5.2.6′></script>See above – how can I fix the “https://192.168.0.1192.168.0.1192.168.0.1”.
Due to this I have no running back-end where I can go make changes.
The above should simply be “https://192.168.0.1” instead of “https://192.168.0.1192.168.0.1192.168.0.1”
The site was set on the source server to using pretty URLs – they themselves do still work on the testing server, but most of the page’s elements are missing due to the above strange thrice repetition of the server IP in especially JS referencing URLs.
How to approach this to fix?
Thanks
Stefan
- The topic ‘Moved site to testing server – some JS URLs broken’ is closed to new replies.