Forums

[resolved] How do I create my blog in my root dir (16 posts)

  1. ElmoJackson
    Member
    Posted 7 years ago #

    Currently I have my blog in a sub directory entitled: blog. How can I make it load from my main website?

    Thanks,

    Elmo

  2. Mark (podz)
    Support Maven
    Posted 7 years ago #

    Do you to move all the files, or just make it load ?

  3. ElmoJackson
    Member
    Posted 7 years ago #

    Well, if it will just load and work properly then I suppose I would just want to make it load. I have tried to do this by setting the option in the program to have it load from a different directory. That does not work.

    Should I just install everything in the main directory?

    Thanks,

    elmo

    PS: Just got totally wiped out today while trying to make the changes I have been discussing. Boy I was mad. I lost a lot of post. Any help would be appreciated.

  4. eragle
    Member
    Posted 7 years ago #

    Are you still trying to install in the root? Did you have anything left to transfer or did you lose it all?

  5. ElmoJackson
    Member
    Posted 7 years ago #

    No-I am not trying to install to root. I lost it all. Here it is. My web hosting providers says my structure is: /var/www/html. This is where my files are suppose to go in a normal web site using html. WordPress advise creating a directory so now I have /var/www/html/blog-and this works fine. But it will not allow me to load from my main web address of http://www.elmojackson.net, which is what I want.

    elmo

  6. ElmoJackson
    Member
    Posted 7 years ago #

    And I don't want to use redirection as I want the best positioning I can get in the search engines.

  7. Lorelle
    Member
    Posted 7 years ago #

    This might help you. http://codex.wordpress.org/Moving_WordPress

    It deals with the issues of moving and installing to the root, and even some other specialized installations.

  8. ElmoJackson
    Member
    Posted 7 years ago #

    Ok, I'll try that. I mean I'll just copy everything into the /var/www/html directory which is suppose to be my user "root". I'll see what happens.

    Thanks you all for the assist.

  9. ElmoJackson
    Member
    Posted 7 years ago #

    Well that didn't work. Is there anyway I can edit a file in the wordpress directory to change back by locations settings for the wordpress URI. It want let me back in through word press. I can edit using ftp, but I don't know what file or line to edit. Otherwise I am going to have to do yet another re-install.

    elmo

  10. myjobsucks
    Member
    Posted 7 years ago #

    You need to copy your files into /var/www/html.

    /var/www/html/blog will make your home page show up here: http://www.elmojackson.net/blog

    instead of here: http://www.elmojackson.net/

  11. myjobsucks
    Member
    Posted 7 years ago #

    If you have lost everything at this point a clean re-install may be best.

  12. ElmoJackson
    Member
    Posted 7 years ago #

    Okay, I did that. But before I made the previous change I edited the opitions to tell it to look for the uri http://www.elmojackson.net.

    I think wordpress set the parameters for the operations of the program on the orginal installation to /var/www/html/blog. Is there any way to rebuild it short of reinstallation to relfect the new changes?

    elmo

  13. ElmoJackson
    Member
    Posted 7 years ago #

    If not, I'll just do a clean install to /var/www/html

    thanks,

    elmo

  14. myjobsucks
    Member
    Posted 7 years ago #

    Not sure, that maybe saved in the db somewhere.

  15. ElmoJackson
    Member
    Posted 7 years ago #

    This is for anyone who may have been following this thread and having the same problem. I did a clean install into my user root directory. Every thing is working okay now. I know somewhere I was told to create a sub directory called blog. But if you want you wordpress blog to load from your http://mydomain.com address, then simply do a new install there. I have no advise if you are trying to juggle between a regular html web site and wordpress.

    Thanks to all those who were willing to take their time and help me with this.

    Elmo

  16. James
    Happiness Engineer
    Posted 7 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags