linking to test site urls on live site
-
On my site, Nextgen is still linking to files on a test site that I had set up before setting the site up on a live domain. I cant remember how I set the site up now either – chances are I did a find/replace of the URL’s offline in the database file.
In the source code, they are right at the end of the code, just before the ending body tag. 3 sets of javascript, one with a few lines of ‘nextgen_lightbox_loading_img_url’ in, and 2 linking to lightbox:
<script type=’text/javascript’ src=’https://testdomainhere.co.uk/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/jquery.lightbox/jquery.lightbox-0.5.min.js?ver=3.8.1′></script>
<script type=’text/javascript’ src=’https://testdomainhere.co.uk/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/jquery.lightbox/nextgen_lightbox_init.js?ver=3.8.1′></script>There’s also one stylesheet in the header:
<link rel=’stylesheet’ id=’lightbox-0-css’ href=’https://testdomainhere.co.uk/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/jquery.lightbox/jquery.lightbox-0.5.css?ver=3.8.1′ type=’text/css’ media=’all’ />
I downloaded the MySQL database and searched for the test domain. Replaced all the URL’s in there, re-uploaded the database but still the site tries to pull in files from the test site.
I cant find anything in the settings to alter the URL in WordPress admin (except the main wordpress url setting which was set up correctly right from the start).
How do I change these URL’s?
- The topic ‘linking to test site urls on live site’ is closed to new replies.