• Hi Everyone, hope hope everyone is doing well.

    I’m a newbee so please excuse me.

    I’ve designed a website for a client, I’ve moved the site from local to live, hosting is through Godaddy.

    I’ve run into a few issues, some of the links on the new website are not working, I’ve been sitting in-front of my laptop trying to fix them for more than a week and to no avail.

    When I hover over the tabs/ buttons that are not working I can see the url is pointing towards the WordPress local (localhost:8888/tangledhairstudio/prices), surely what I want and what it should be is https://www.tangledhairstudio/prices ????

    HALF WAY DOWN THE PAGE, IN THE SERVCE “SECTION”, 3 RED TABS NAMED: “SEE ALL”

    I’ve used the WordPress plugins Search & Replace, Better Search Replace, Velvet Blue as well as using sql code to search and replace to edit parts of the url’s/links;…

    /** update URL in posts table **/
    UPDATE wp_posts SET guid = replace(guid, ‘https://localhost:8888/’,’https://www.’);

    /** update URL in posts table **/
    UPDATE wp_posts SET post_content = replace(post_content, ‘https://localhost:8888/’, ‘https://www.’);

    /** update URL in postmeta table **/
    UPDATE wp_postmeta SET meta_value = replace(meta_value,’https://localhost:8888/’,’https://www.’);

    However, this worked by editing the url’s/ links in the database BUT, did nothing for the broken website links I was trying to change.

    nothing seems to work whether i’ve used a plugin, snippet of code or hardcoded each and every field in the database.

    ALSO, WHEN I VIEW THE WEBSITE ON MY MOBILE/ CELL, NONE OF THE IMAGES SHOW UP AND, SOME STUFF JUST SEEMS LITTLE OUT OF PLACE, I’M NOT SURE. ANY IDEAS?

    please please please could I get some help and ideas how I can get this site running smoothly without any errors.

    would much appreciate it,

    many thanks

    Leon

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • You are correct, I can see a lot of localhost URLs in your source code – localhost:8888/tangledhairstudio It looks like (for whatever unexplained reason) there may have been an error in the search and replace step.

    Your goal at this point would probably be to take another crack at replacing all instances of that string in your database with tangledhairstudio.co.uk

    Looking at your above examples, my first thought is that the formatting may not have been complete when you updated the URLs in the database.

    Example:

    UPDATE wp_posts SET guid = replace(guid, 'https://www.oldurl','https://www.newurl');

    Whereas you appear to have done this using incomplete URLs (unless you just used the below as an example).

    UPDATE wp_posts SET guid = replace(guid, ‘https://localhost:8888/’,’https://www.’);

    The sub-directory in the old URLs – localhost:8888/tangledhairstudio – could have caused an issue.

Viewing 1 replies (of 1 total)
  • The topic ‘MIGRATED LIVE SITE – BROKEN LINKS’ is closed to new replies.