• 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?

    Thankx.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Thread Starter irinla

    (@irinla)

    Thanks!

    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.
    Dam!
    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!!!
    Anyone!

    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

    Moderator keesiemeijer

    (@keesiemeijer)

    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: https://codex.www.ads-software.com/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    Moderator keesiemeijer

    (@keesiemeijer)

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

    define('WP_HOME','https://example.com');
    define('WP_SITEURL','https://example.com');

    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.

    Thread Starter irinla

    (@irinla)

    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!!
    Wow.

    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.

    *swet*

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to move the blog to a new URL/directory -domain.com ->domain.com/blog’ is closed to new replies.