WordPress.org

Support

Support » How-To and Troubleshooting » Think I May Have Caused a 404 Error

Think I May Have Caused a 404 Error

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator kmessinger

    @kmessinger

    Hi. I haven’t read it yet – but thanks so much for responding so quickly. Much appreciated! Ahh, the things we do when we are so tired… -:)

    OK. I think I followed instructions and it didn’t work. Possibly, I’ve made a mistake.

    The file functions.php exists in the Avada file. I tried to make the changes and upload them via FTP and it didn’t work.

    I then went into my host’s control panel, found the functions.php file to see if the changes were reflected (they were not), so I added the code directly into the host function.php file… I think it was the correct information:

    <?php
    update_option(‘siteurl’,’http://www.happyhour1.com/hhoa-wp-site’)
    update_option(‘home’,’http://www.happyhour1.com/hhoa-wp-site’)
    “>

    Saved the file; tried to load up several times on Google Chrome and IE – still get that 404 error code. Cleared out history/cache.

    I have not deleted out this additoinal code since I’ve been unable to access the site. I understand this code is to be deleted once the site is back.

    Hopefully, you will see that I’m a newbie to WP and have not quite got this right yet…

    Any thoughts? Thanks so much.

    Still not resolved. I corrected the codex links because I saw that I did not include the ? mark before the closing bracket ?>. I uploaded the corrected functions.php file via FTP a short while ago, and followed the instructions which indicated it might take a few tries to get to the admin login. No luck. Cleared cache in multiple browsers — tried the login in all of them several times.

    While this should not have a thing to do with it, I have a separate sql database and file folder for what will be my 2nd site, everythingequestrians. I don’t see why this would affect my edits and files that are placed in my HHOA-WP-SITE folder/files, which is where I edited the functions.php file.

    Any other suggestions. I’m trying so hard to get to work on this site in an effort to supplement my disability income. I fully realize there is a learning curve, and probably more with WP initially. However, I need to retain control and ownership over my website files. Once I get through this first one, our other sites should be easier to set up. At least, that’s what I’m hoping…

    Thanks for your input. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Think I May Have Caused a 404 Error’ is closed to new replies.
Skip to toolbar