Forums

Updating permalinks after changing site url (4 posts)

  1. rfertner
    Member
    Posted 5 months ago #

    Alright, I changed the Site URL following the instructions here (under the section "Using a pre-existing subdirectory install")

    Everything is working great, but the navigation is still pointing towards /wordpress/page_name, and the client wants to change that.

    If I go into the permalink settings, all of the options have the /wordpress/ in front of them.

    I've tried re-uploading the .htaccess file, but it doesn't seem to work. The code in the .htaccess is :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Is there something I'm missing? Thanks in advance for the help.

  2. Jonas Grumby
    Member
    Posted 5 months ago #

    I never do it that way. I always do it this way (i.e. move all of the files to the root).

  3. rfertner
    Member
    Posted 5 months ago #

    While that is certainly a possibility, I hesitate to move all of the files to the root right now, since the client sent out an email promoting the site last night. Wouldn't want to risk breaking anything.

    If there is no way to make my current method work, then I'll keep that in mind, but I'd rather find a way to just update the permalinks right now.

  4. rfertner
    Member
    Posted 4 months ago #

    Okay...so I moved the whole thing to the root, because I couldn't find another answer that was successful.

    And, after migrating everything to the root, the links still include the /wordpress/.

    So, obviously I've done something wrong, or I'm not understanding something. Does anyone have any ideas on making this work?

Reply

You must log in to post.

About this Topic