• Resolved carlmcdunc

    (@carlmcdunc)


    My problem seems to be slightly different than the usual new-URL problems.

    I’m running everything from my Windows laptop, manually installed Apache, MariaDB and PHP, and so far so good. The site and editor work very well.

    However, I want to change my URL from the install directory at https://leahisoccer.com/leahi_wp/wp to a cleaner https://leahisoccer.com

    I have done so by changing the SiteURL, but this has caused odd problems.

    – I can no longer save any edits to my pages. When I click Update in the block editor, it spins forever. Chrome’s debugger reports 403 and 404 errors like this one: GET https://leahisoccer.com/wp-json/ultp/taxonomy?taxonomy=post_tag&wpnonce=f2ff747311&_locale=user 403 (Forbidden)

    – JetPack does not load from the dashboard, but instead spins forever on an empty UI.

    I followed the WP tutorials on moving your site carefully, but it feels like I’m missing something.

    Also, when I change my permalinks in the general settings, it writes the .htaccess file in an unexpected directory. It writes over the web root, rather than the wordpress root as I would expect.

    Please help! Thanks.

    • This topic was modified 3 years, 11 months ago by carlmcdunc.
    • This topic was modified 3 years, 11 months ago by carlmcdunc.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator t-p

    (@t-p)

    I have done so by changing the SiteURL, but this has caused odd problems.

    Don’t know how and where you changed URL.

    For single installs of WordPress, use one of the methods described in this article to properly change the site URL:
    https://wordpress.org/support/article/changing-the-site-url/

    I prefer Changing the URL directly in the databas

    Thread Starter carlmcdunc

    (@carlmcdunc)

    I tried this two ways, with the same resulting problems.

    First I changed the SiteURL value in the WordPress manager (wp-admin), under Settings >> General.

    Next I tried changing the value by modifying the options table directly in the database.

    Both approaches had the effects, as fas as I can tell.

    Thread Starter carlmcdunc

    (@carlmcdunc)

    Also, the site you recommend (changing-the-site-url) is exactly what I followed originally, step by step. Almost everything appears to work as expected, but then the 403s and 404s in certain cases.

    My _guess_ is that relative paths are no longer valid, because htaccess is rewriting them … but that just my admittedly uninformed guess.

    Moderator t-p

    (@t-p)

    After making changes, try clearing all cache (browser, plugin, etc.)

    Thread Starter carlmcdunc

    (@carlmcdunc)

    Ok, the browser cache didn’t seem to be the issue.

    I’m not sure about the plugin cache. Where is that? Is there a single, standard ‘wordpress plugin cache’, or are you referring to any plugin that does its own caching?

    None of my plugins appear have have a ‘clear cache’ command. Maybe JetPack does, but of course I can’t access it (at least not via the wp-admin page).

    Thanks for your help, by the way!

    Moderator t-p

    (@t-p)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    Thread Starter carlmcdunc

    (@carlmcdunc)

    Hmm, these reset techniques didn’t fix the problem either (although good knowledge to have, thanks).

    I have restructured the site so that my Apache document root is the wordpress folder, and everything functions as desired. It’s not the structure I intended, but that’s not important.

    Next time I will remember to establish my final, live URLs before any further development.

    Thanks again for your help!

    Thread Starter carlmcdunc

    (@carlmcdunc)

    Closing.

    Moderator t-p

    (@t-p)

    Glad its sorted 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can’t save page edits after URL change.’ is closed to new replies.