Support » Fixing WordPress » I used the IP address to work on site before live, how do I get rid of IP #'s ..

  • cat

    (@cathrynbgirlcom)


    Hi. I’m setting up a new site and it was suggested to me to use the IP address vs. the actual URL while I was working on it and then go live. Except… I inadvertently went live and now I see that other than the home page, the other pages are only showing the IP address. I have also done this with another site that has over 150 pages and so that’s going to be a really bummer if there’s not some way to fix this.

    Help!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi.
    You need to contact your hosting provider and ask them if your domain name has already propagated. If it has, it means it is associated to your site’s physical address so entering http://yourdomain.com should take you to the same place as your site’s physical address.
    Cheers!

    Thread Starter cat

    (@cathrynbgirlcom)

    Hi Marventus, thanks for your response! the site is live with the domain name but the inside pages and posts have the IP address – not the domain name. I was advised by my host that I need to Change the Site URL via Codex http://codex.wordpress.org/Changing_The_Site_URL — I’m trying to alter the function.php code but I am having some trouble.
    They suggest four ways to do this. Right now I am trying via Filezilla.

    Hi.
    I assumed you were hosting your site directly from its physical address, which is the address (space on the net) hosting companies give you to upload your files.
    If you follow that Codex article, don’t hardcode your site’s URL in the wp-config.php file. It is better to configure it in the Admin Panel –> Settings –> General as suggested in the first section.
    Do that see if it works. If it doesn’t, LMK and post a link to your site.
    Thanks!

    Thread Starter cat

    (@cathrynbgirlcom)

    I was not clear in my first post and thanks again for your response and this advice. I originally wanted to work on the site without debuting it live. I know there’s a way to do that without doing it this way but someone suggested this and so I designed it via the IP address not realizing this is what would happen now. (I have another site with 800 posts and I’m not sure how that’s going to go when i want to make it live. At least, I can practice with this one that does not have much material on it.)

    Regarding the functions.php altering it in Filezilla — I’m worried about changing the code in the wrong section. Although I guess I could change it back.

    It says to insert code “after the initial ‘<?php’ line.”

    The first time this appears is under theme comments such as this — <?php comment_class()

    then — <?php echo get_avatar( $comment, 40 ); ?>

    should I be looking it for it to be standing on its own as JUST <?php
    or is this first one the one I should enter the code after?

    Thanks for the clarification and advice.

    Oh and am I misunderstanding what you wrote? Do you think I can just change it on my wordpress dashboard or do I need to do a number of steps… that is what my host company told me — that I need to do this in a specific order. So I’m understanding that I need to do this other step and then do the change in the Settings. If I could just make a simple switch of course that would be optimal.

    cat
    (site is http://savethegeese.net)

    <?php comment_class()

    Thread Starter cat

    (@cathrynbgirlcom)

    Hi songdogtech, thanks for the information. Oh dear. This is now getting quite complicated. It’s not such a big deal for this site (although still more complicated than I anticipated but I could maybe do wordpress.com instead) but my other site already took me quite some time to import 800 posts from wordpress.com to wordpress.org – and that has A LOT of images and other information. I would almost say I should somehow start anew but (a) the URL right now is domain mapped from wordpress.com (I was hoping to have designed it offline so to speak and then switched it) and (b) it took awhile to get those 800 posts imported. It took multiple tries. I feel a bit defeated. But thanks — Sigh.

    You don’t need to start again from scratch.
    You can use Search and Replace to replace all instances of your IP URL for the actual domain name in the Database. The plugin also allows you to do trial S&R so you know exactly what would be changed/replaced beforehand.

    There is also a plugin called VelvetBlues replace URL you can use to update the old URLs to the new URL: http://wordpress.org/extend/plugins/velvet-blues-update-urls I only check the first 3 or 4 boxes depending on what I’m changing.

    Thread Starter cat

    (@cathrynbgirlcom)

    Hi Marventus and wp_bh_fan, Great tips. Thank you! These plugins sound great. Okay, I feel a bit more hopeful. Thanks. Hope for the best.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘I used the IP address to work on site before live, how do I get rid of IP #'s ..’ is closed to new replies.