Forums

Big problems with setting up WP (3 posts)

  1. William Bowles
    Member
    Posted 1 year ago #

    My site <http://williambowles.info> was until a few months ago, a plain HTML site and then I took the plunge and moved over to WordPress. Initially, I added a redirect to the old index.html pointing to a WordPress install in a sub-directory <http://williambowles.info/wordpress/> but decided it was time to make it permanent but in order to do this it was necessary for the hosting co to make some changes which they did.

    But at first when I tried to access the site at http://williambowles.info I got errors pointing me to .../wordpress and worst of all, I couldn't/can't access admin. I got advice here to go into PHP Admin and find out if it was still pointing to .../wordpress, which it was, so I did an export of the wp-options table, did a search and replace, uploaded it, but lo and behold when I checked the wp-options again, every occurrence of <http://williambowles.info/wordpress/> that I'd altered to williambowles.info/ had been changed back to the old path!

    So I decided to create a new DB with the view to importing all the old content into the new DB, so I altered wp-config.php so as to create a new DB (wp_2).

    This worked, I got a new empty site but when I try to access the Admin I get the same redirect I've been getting all along!

    http://williambowles.info//wp-login.php?redirect_to=http%3A%2F%2Fwilliambowles.info%2F%2Fwp-admin%2F&reauth=1

    I'm at my wits end, I can't figure out what is going on and neither can the hosting co.

    Bill

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Set everything back to the way it was originally with WP operating within a sub-folder. The read Giving_WordPress_Its_Own_Directory.

  3. William Bowles
    Member
    Posted 1 year ago #

    Hi Esmi,
    Solved it! Took me two weeks but I did it. The cause were two lines I'd added to wp-config.php when I had a redirect running from the old site. Compared the file to my other site ad saw that they didn't contain these two lines.

    Still have a stackload of files that have the dreaded wordpress in the link but I'll have to edit them using link checker (unless there's a better one?.

    Bill

Topic Closed

This topic has been closed to new replies.

About this Topic