• My site <https://williambowles.info&gt; 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 <https://williambowles.info/wordpress/&gt; 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 https://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 <https://williambowles.info/wordpress/&gt; 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!

    https://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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Set everything back to the way it was originally with WP operating within a sub-folder. The read Giving_WordPress_Its_Own_Directory.

    Thread Starter William Bowles

    (@creative-i)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Big problems with setting up WP’ is closed to new replies.