The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to move the blog to a new URL/directory -domain.com ->domain.com/blog (7 posts)

  1. irinla
    Posted 6 years ago #

    Hi there,

    I have now installed the WP to my root domain ex. domain.com
    I want to move the blog to a new directory and the URL should be like domain.com/blog. What to do? Simple steps?

    (I will create static page at domain.com with no blog functions but I'll do it later so this is not the main problem)

    How to do this on the Dashboard?
    What should I do at Reading Settings on the Dashborad or should I do
    it at General settings to change URL?
    Any SIMPLE step-to-step guide?


  2. keesiemeijer
    Posted 6 years ago #

  3. irinla
    Posted 6 years ago #


    This was new information, I have been linked to the guide How to move WordPress to give WordPress its own direcory.

    I got now some serious trubble.
    I went to General Settings.
    I changed the WordPress URL to domain.com/blog but regreted after couple minutes because I thought the process would be too complecate to do, so I removed the /blog and loged out.
    Now I can't log into the Dashboard at all.
    Not from domain.com/wp-admin or domain.com/blog/wp-admin !!!!!!

    WHAT TO DO KNOW? I really need urgent help.
    Please help me out!!!! Pleeeaaaaase!!!

  4. boah123
    Posted 6 years ago #

    Try your ip address: x.x.x.x/wp-admin or x.x.x.x/wp-admin

    Alternative, browser your database and search for the settings in the data (if you have access to the database).

    Hope this helps

  5. keesiemeijer
    Posted 6 years ago #

    Often host control panels, such as cPanel and Plesk, have phpMyAdmin pre-installed. If you know how to access phpMyAdmin on your host, then you can edit these values directly in the database to get you up and running again. Instructions here: http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

  6. keesiemeijer
    Posted 6 years ago #

    Or put this in your wp-config.php, where "example.com" is the NEW location of your site.


    This is not necessarily the best fix, it's just hardcoding the values into the site itself. You won't be able to edit them on the General settings page anymore when using this method.

  7. irinla
    Posted 6 years ago #

    My host Hostgator fixed the problem in 30 sec, i'm so happy!
    They removed the directory and now Im able to log in to the site again!!

    But I'll check you links.

    I definateley need professional help to move the wp files to a new directory and I'm not going to that by myself.


    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic