• Resolved fatcat7060

    (@fatcat7060)


    We have an old site at: http://www.oldsite.com

    And the new WordPress version at: http://www.oldsite.com/NEW

    WordPress was installed in the ‘NEW’ folder.

    We’d now like to change this so that http://www.oldsite.com is the WordPress pages. Is it a matter of making changes to the URLs in the admin > settings > general page? I’ve seen a few instructions on htaccess and copying and adding code here and there —- does it get that complicated?

    Trying to do this properly without making a big mess of it!

    Thank you!

Viewing 13 replies - 1 through 13 (of 13 total)
  • esmi

    (@esmi)

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install
    I’d recommend this technique

    Basically, change one of the URLs, copy over index.php and .htaccess, edit index.php, reset permalinks, and yer good (obviously follow the instructions! I’m summarizing)

    But you can also move right out of the NEW folder
    http://codex.wordpress.org/Moving_WordPress

    And either way, if you’ve uploaded any images through the media uploader, those URLs may still point to the wrong place, and would need a rewrite in the database

    This can help with that
    http://wordpress.org/extend/plugins/search-and-replace/

    Thread Starter fatcat7060

    (@fatcat7060)

    Yikes, it all sounds quite intimidating. I was hoping it would be a matter of a few button clicks : )

    For future reference, was there a better way we could have set this up? We wanted the old site to remain active while putting together the WordPress stuff, so that’s why we created the new folder and installed WordPress into that.

    esmi

    (@esmi)

    Not really. Installing WP in a sub-folder is the way to go. And although it might look intimidating, the method outlined in the link I posted about should only take about 10 minutes.

    Thread Starter fatcat7060

    (@fatcat7060)

    I did it!

    Everything is OK, except the interior pages still have the “NEW” in their URLs.

    I looked at Permalinks in the settings > general, but didn’t see an option to eliminate the “NEW” being included in the link.

    What am I missing here?

    Here’s the actual site:
    http://blairsrepair.com

    Click on “about us” or “services” and you’ll see what I mean.
    It still has http://blairsrepair.com/NEW/our-services/
    when it ought to be http://blairsrepair.com/our-services/

    Thanks! I was sweating bullets while it had the big ERROR message up there, but luckily it all came back. Phew.

    esmi

    (@esmi)

    If you have set up Permalinks, go to the Permalinks panel and update your Permalink structure. WordPress will automatically update your .htaccess file if it has the appropriate file permissions. If WordPress can’t write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    Thread Starter fatcat7060

    (@fatcat7060)

    I did look at the Permalinks page and can’t see what I can do. All the choices have the word “NEW” in them. There was one option to write your own custom permalink, which I did, but that didn’t get rid of the “NEW” in there either.

    When you say “update your Permalink structure”, what exactly should I do, in my case?

    Thanks so much — glad you’re online right now!!

    esmi

    (@esmi)

    First, did you follow all of the other 7 steps? If so, then you should just be able to go to the Permalinks page and click on “Save Changes”.

    Thread Starter fatcat7060

    (@fatcat7060)

    Yes, I did follow the previous 7 steps, very carefully. Then went to the Permalink page, as instructed. All the permalink examples they offer still have the word NEW in them.

    WAIT!! — I just looked at the settings>general page and noticed that the URL for the site is still listed with the word NEW. That’s odd. That was the first thing I did was to remove the word NEW and click “save” and then got the big ERROR message. Weird the NEW subdirectory was still in there?

    All is well! Thank you so much!

    Thread Starter fatcat7060

    (@fatcat7060)

    esmi —- I hope you’re around.

    I have another site that I was trying to MOVE from its WordPress directory, into the “regular” URL.

    The WordPress site used to be at: http://www.teachsoap.com/newsoap

    I followed all the instructions to move it, so that it would appear at:

    http://www.teachsoap.com

    It seemed to go well until I tried to tweak the permalinks, and WP said it was unable to write to our htaccess file. (we host at http://www.pair.com) Since then, I’ve made our htaccess file (the one in the ROOT folder) writable, plus I’ve added the code that WP said it was unable to add to htaccess.

    Presently:

    The interior pages of the WP site work fine:
    http://teachsoap.com/aloha-mp-soap/

    BUT — if you click on “HOME” — it takes you to the old HTML version homepage.

    I’ve been wrestling with this since yesterday. I hope you can suggest something. I’m at a loss what else to try. What would you do, in this situation? We’re so close — it’s all “good” except for the homepage.

    So presently, the WP homepage at http://www.teachsoap.com/newsoap, no longer works since we did the URL changeover, and now the actual URL of http://www.teachsoap.com doesn’t work either because of some mysterious screw up on my part, no doubt.

    Would showing you the code in the htaccess file be of any use?

    Thank you!

    Thread Starter fatcat7060

    (@fatcat7060)

    Hello Esmi —- are you online?

    I am changing over another WP site!

    All the pages have switched over OK to the WP version — but the homepage is still the old HTML page. http://www.acmewormfarm.com

    However, the interior pages work properly:
    http://www.acmewormfarm.com/garden-gear/

    Click on “home” and you land on the old HTML. I’ve done all the seven steps. I’ve checked the permalinks and all seems to be correct.

    Even in the WP editor — if I edit the homepage, then click “view page” — I get the HTML homepage rather than the WP version.

    I can’t see what else to do! Help! Thank you!

    Thread Starter fatcat7060

    (@fatcat7060)

    Problem fixed — I deleted the old index.html file from the ROOT directory, and now the index.php WP page is displaying. All is well.

    Thread Starter fatcat7060

    (@fatcat7060)

    I spoke too soon.

    The site is working fine: http://www.acmewormfarm.com

    But now — I cannot login to the Dashboard!

    I get to this page:
    http://www.acmewormfarm.com/NEW/wp-admin

    Enter my same old login that I’ve been entering a zillion times, and nothing happens. It doesn’t say my login is wrong, or any error message, it just presents me with the same two empty fields to enter my username and PW.

    Do you think this is related to anything done recently (moving directories) or it’s an unrelated, weird, and pretty awful glitch?

    HELP!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Making our new wordpress site "live"’ is closed to new replies.