• Resolved df9517

    (@df9517)


    I was going to move my blog from wordpress/ to the root /

    I followed the instructions and changed the WordPress address (URI) and the Blog address (URI) to the root address.

    I copied all the files and folders under wordpress to the root and then nothing it didn`t work, nor the index.php or the wp-admin/index.php.

    1) Now I am moving back the blog to the original location but how can I change above setting back as they were?

    2) Why didn`t it work? I did have my old homepage index.html n the root as well but I guess that could not have caused wordpresses index.php no not function, could it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Actually, you can leave wordpress in the folder called wordpress, change your Blog address URL to NOT have the /wordpress at the end, then put this index.php file in your root folder.

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wordpress/wp-blog-header.php');
    ?>

    Even though the actual WordPress files reside in a sub-directory, the index.php file in your webroot, and the change to Options->General admin page Blog address (URL) allows WordPress to act as your main page. This particular setup is described at: https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    but how can I change above setting back as they were?

    you can use phpmyadmin to access your database, and change the values inside there, or you can use my script ??

    https://www.village-idiot.org/archives/2007/07/04/wp-emergency-url/

    Just please be sure to watch the tutorial, and keep in mind what Michael just said above.

    Thread Starter df9517

    (@df9517)

    Thanks for great help. Case is solved and closed. I just loved your script whooami, it worked perfectly.

    I never got Michaels instructions to work though. Perhaps it has to do with .htaccess. I never understood that part, guess I need to study. At least there are none such files in any catalogue.

    Once again, thanks.

    I just loved your script whooami, it worked perfectly.

    Awesome, I’m glad it helped! ??

    thirdeyetc

    (@thirdeyetc)

    If wordpress is in a subdirectory will and you change the index.php file as instructed will your url still be

    mysite.com/wordpress/posts, etc. when you are navigating through…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help, problem when moving blog’ is closed to new replies.