• I know this should be a relatively easy task, but I’m a little stuck!

    My wordpress URL is http://www.dfrc.ca/wordpress/

    I’d like to change the site address to http://www.dfrc.ca so that all my old website content is hidden and my wordpress stuff shows up instead.

    In my Fetch FTP, I already copied and moved the index.php from the wordpress folder to the main root directory, along with changing the bit of code in the php doc to have “/wordpress/wp-blog-header.php”

    What I’m confused about is that in my FTP, I see that my website already has an .htaccess file in the main directory, with a bunch of code already on it that has nothing to do with wordpress. My wordpress folder itself doesn’t have an .htaccess file (I don’t think I used “pretty permalinks” on there???) so I’m not sure what to do here.

    My 2 questions:

    • Should I modify the existing .htaccess file so that it includes the code that the wordpress codex said I should have in an .htaccess file?

    • What steps am I missing in ultimately achieving the goal of moving my site URL?

    Help would be greatly appreciated!

    Please and thanks,
    Melody

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Should I modify the existing .htaccess file so that it includes the code that the wordpress codex said I should have in an .htaccess file?

    No, instead re-saving your permalink structure at Settings/Permalinks in your admin panel. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    What steps am I missing in ultimately achieving the goal of moving my site URL?

    Those are the right steps. What sort of trouble have you run into?

    Alternatively, you could move the whole thing: https://codex.wordpress.org/Moving_WordPress#Moving_Directories_On_Your_Existing_Server

Viewing 1 replies (of 1 total)

The topic ‘Changing Site URL’ is closed to new replies.