Viewing 15 replies - 1 through 15 (of 241 total)
  • Moderator James Huff

    (@macmanx)

    Your site seems to be quite broken.

    Start by downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    While you’re at it, take note of which directory /wp-admin/ is in. According to your login link, it should be in the /2014/ directory, but is that actually true, or is it elsewhere?

    Thread Starter Tremayne

    (@tremayne)

    the WP-admin folder is actually in the wordpress folder/wp-admin, not /2014, but I do see that in the redirect. I think it’s leftover from a previous multi-site install hack around.

    unfortunately I’m a little new to WP. Do you think I will loose my site if I do the above replacement? I did create an original backup with the Updraft Plus plugin. Would you advise I do a fresh install and restore? Or will that just recreate the same problem.

    I was hoping to tweak the Wp-config.php to give the correct location of the wp-admin folder, let me know if that’s just crazy and if I can provide more evidence (like htaccess/wp-config.php contents)

    Moderator James Huff

    (@macmanx)

    Ah, ok, don’t replace the files just yet.

    First, correct the site and home URLs to the actual locations of your files following this guide: https://codex.www.ads-software.com/Changing_The_Site_URL

    If that doesn’t entirely fix everything (it should), let us know!

    Thread Starter Tremayne

    (@tremayne)

    Thanks! I’m looking at the guide now. Will report back. Thank you for taking the time.

    Moderator James Huff

    (@macmanx)

    You’re welcome, please let us know how it goes!

    Thread Starter Tremayne

    (@tremayne)

    okay, funny thing. The functions php file had this already in it

    <?php
    update_option(‘siteurl’,’https://marcusassoc.net/2014&#8242;);
    update_option(‘home’,’https://marcusassoc.net/2014&#8242;);

    and when I changed it to
    <?php
    update_option(‘siteurl’,’https://marcusassoc.net&#8217;);
    update_option(‘home’,’https://marcusassoc.net&#8217;);

    it lost the theme/formatting

    when I replaced it with a copy of teh original functions.php the site is still borken. WHat have I done?

    Moderator James Huff

    (@macmanx)

    Yeah, I’m not a fan of that method myself. I should have been more specific, sorry.

    Go ahead and remove all that from functions.php and try the direct database method: https://codex.www.ads-software.com/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    siteurl should be set to the directory that wp-login.php exists in, and home should be the URL that WordPress’s main index.php file exists in.

    Thread Starter Tremayne

    (@tremayne)

    excuse the incredibly newbie question, but if the wp-login.php file is in
    marcusassoc.net/public_html/wordpress/wp-login.ph

    is that effectively just

    marcusassoc.net

    that spot in the database is currently reading

    https://marcusassoc.net/2014

    Thread Starter Tremayne

    (@tremayne)

    I’m thinking I just remove the “/2014”

    Moderator James Huff

    (@macmanx)

    Ah, no, you replace /2014/ with /wordpress/ then. ??

    Your siteurl should be:

    https://marcusassoc.net/wordpress

    And, home probably should be as well. It’s wherever the main index.php file is.

    Thread Starter Tremayne

    (@tremayne)

    index.php is in the same directory

    trying it now

    Thread Starter Tremayne

    (@tremayne)

    Okay, changing the siteurl brought back some of the sites formatting, but lost all link functionality

    where do I modify “home” I don’t see it in the instructions, or see a table entry labled home under the wp-options entry

    Moderator James Huff

    (@macmanx)

    Can you get into the Dashboard now? If so, just change them via Settings -> General in your blog’s Dashboard.

    Fixing that will clear up your link problem. ??

    Thread Starter Tremayne

    (@tremayne)

    okay I found home, and changed both locations, but no luck gaining login access. Think I’m going to try just

    https://marcuasassoc.net in both places

    Thread Starter Tremayne

    (@tremayne)

    OKAY! I hard coded “marcusassoc.net/wordpress” into thw functions.php and changed both database records and logged into the dashboard!

    site is still broken though

    but progress!

Viewing 15 replies - 1 through 15 (of 241 total)
  • The topic ‘wp-admin link suddenly stopped working’ is closed to new replies.