[Resolved] development url versus domain url
I have two WordPress sites at Bluehost. One used a new domain furnished by Bluehost, and it was a breeze to set up and get fully submitted to Google Webmaster tools. The other site I set up first with a termporary development url assigned by BlueHost, and then I pointed an old url from godaddy to it. The pointing was successful and my site came online. However, past the landing page the page urls revert to the development url, not the domain. The domain is –
but, for example, the url for the second page is
If I try http://westchesterchorale.org/about-us-2/ I get an internal service error.
I think this may be why Google webmaster tools and I are not getting along. My sitemap submissions have failed, and I get a warnings that say
“This url is not allowed for a Sitemap at this location.”
“Sitemap contains urls which are blocked by robots.txt.”
(There’s a whole separate saga about the robots.txt file that I don’t have the strength to go into now. Fetch as Google sometimes is partially OK with my robots.txt file and sometimes not OK at all. But when it’s OK — although only partially — with robots.txt it still won’t take my sitemap.)
A techie at Bluehost suggested I use a plug in called velvet blues update urls, which I used, and it did absolutely nothing as far as I can tell. I read up on changing the site url at WordPress.org, and based on that advice I added this code to the wp-config.php file —
This worked like a charm, almost, except that all my pages but the home page were offline. From the admin page I could see the page urls had changed to the westchesterchorale.org domain, but the pages were offline, and the urls only went to an internal service error warning. I had a copy of the old wp-config.php file, fortunately, so I uploaded it and let it override the one I had edited, and my pages were back online — with the development url.
WordPress.org had other advice for changing the url, but the other methods are more complicated and I’m frankly terrified to try them. Any other advice?
- The topic ‘[Resolved] development url versus domain url’ is closed to new replies.