• Resolved maybon

    (@maybon)


    So i have made my site, finished it how I wanted it and then uploaded the database using filezilla I have then exported/imported the information to the server.

    And when I go and look at my site, only the homepage loads and barely… It has no formatting at all I have no idea what I have done wrong. Can someone help please?
    The website is
    https://melbournemantids.com/wordpress

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter maybon

    (@maybon)

    please help some one.

    Very simple thing to tell. Unfortunately this happens all the time, and gets a lot of people worried.

    If you look at the URL’s that your site is trying to load, you’ll see that they are all like:
    https://127.0.0.1/wordpress/wp-content/themes/twentyeleven/style.css
    This means that your site is trying to load the same files as your development site that you did locally and it doesn’t work. That’s thanks to WordPress’s ideal of having all of the URL’s hard-coded (there’s decisions behind that so no point getting into it here).

    What you need to do is change every instance of ‘https://127.0.0.1’ that’s recorded in your database to ‘https://melbournemantids.com/wordpress’. Unfortuantely, that’s a lot harder ten it sounds because a lot of them are stored in serialised arrays so you can’t just change the text nad have it work.

    Fortunately, there is help. The best tool that I’ve found to help this is this script. If you follow the instructions for that, you’ll be able to get the site fixed up again. I use this tool on every site that I’ve deployed, and it’s pretty good.

    Thread Starter maybon

    (@maybon)

    awesome thank you I will try this out within the next 2 hours (gotta goto the shops) and I will post the results.

    Thanks again

    Thread Starter maybon

    (@maybon)

    I ran the script and got 650 changes, got the export from myphpadmin and uploaded to my site again, but still no luck all the URL’s are sill broken. Any steps I missed by any chance?

    Thread Starter maybon

    (@maybon)

    i did it with the offline database details as I cannot access anything but the homepage for my site online. Eg the https://melbournemantids.com/wordpress/fakename.php did not open and I got the url of – https://redirect.main-hosting.com/error404.php/4 instead…? Any ideas on this, should it matter if I did it with online or offline database details? I changed the details in wp-config to online ones afterwards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Offline WP site to an online URL problem’ is closed to new replies.