WordPress.org

Ready to get started?Download WordPress

Forums

Help, Site not loading? (4 posts)

  1. soulrider911
    Member
    Posted 3 years ago #

    SO I have the newest version of wordpress installed at my host (1and1), and I renamed the "wordpress" folder to "portfolio." Its all good to go, got all my content in etc...when i type in my url:bradysammons.com/portfolio...all loads fine.

    Now All i wanted to do was define the "portfolio" folder as the root directory for my site... so when you type: brady sammons.com it loads, instead of bradysammons.com/portfolio.

    However when I do that the site breaks??? It must be a mis-communication with the DB or something. I have done this numerous times with static html sites??? please help, i really dont want to un-install and re-install everything all over again :(

  2. Emil Uzelac
    Theme Review Admin
    Posted 3 years ago #

    Hosting companies in most cases will give you an option to install WordPress in root directory and/or example.com/wordpress just like you have right now. You can also take a look at this http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Thanks,
    Emil

  3. torlowski
    Member
    Posted 3 years ago #

    that problem is probably that when you designate /portfolio as the root directory, WordPress is still looking for the install in the /portfolio folder. Undo the root folder designation and follow the instructions for moving WordPress - http://codex.wordpress.org/Moving_WordPress to "move" it to the root folder. Than you should be able to redo the root folder designation with your host. Or just actually move it to the root folder.

    From what you said, I think that will fix it.

  4. govpatel
    Member
    Posted 3 years ago #

    if you want your wordpress files and folders in portfolio directory and you site to be domain name then you need copy index.php file in root and edit line 17
    require('./wp-blog-header.php');
    to
    `require('.portfolio/wp-blog-header.php');
    and change the urls in Settings general
    wordpress url http://domainname.com/portfoio
    site url http://domainname.com

Topic Closed

This topic has been closed to new replies.

About this Topic