Trying to change website URL…
-
Hi there, I’ve been wrestling with this all day and have come to no conclusion.
Currently I host a secondary website on my hosting account (through godaddy), which is located in a separate folder like so:
https://www.website1.com/website2/Well, my friend purchased a URL for website2 and although we can point his new URL to the website – all of the internal wordpress pages show up through my original URL still.
So, today I’ve been digging up queries in order to change all of the internal database links in order to replace my ‘oldurl’ with the ‘newurl’.
Unfortunately after I make all of the adjustments I get that same old error where the front page shows up without any CSS additions and WP-ADMIN simply places me in a loop where it asks for login information and then reloads the page never allowing me to get past this point.
I have quit trying at this point and I’m hoping someone out there can help point me in the direction of what I am missing. Here are the queries I last tried with the actual URL’s I am trying to change:
UPDATE wp_posts SET post_content = REPLACE(post_content, ‘https://www.variedcelluloid.net/vcinema’, ‘https://www.vcinemashow.com’);
UPDATE wp_posts SET guid = REPLACE(guid, ‘https://www.variedcelluloid.net/vcinema’, ‘https://www.vcinemashow.com’);
UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, ‘https://www.variedcelluloid.net/vcinema’, ‘https://www.vcinemashow.com’);
UPDATE wp_options SET option_value = REPLACE(option_value, ‘https://www.variedcelluloid.net/vcinema’, ‘https://www.vcinemashow.com’);
UPDATE wp_links SET link_image = REPLACE(link_image, ‘https://www.variedcelluloid.net/vcinema’, ‘https://www.vcinemashow.com’);
UPDATE wp_users SET user_email = REPLACE(user_email, ‘https://www.variedcelluloid.net/vcinema’, ‘https://www.vcinemashow.com’);Does anyone know what the problem may be? Is this even possible or have I simply misread?
- The topic ‘Trying to change website URL…’ is closed to new replies.