Title: &#8220;.com/wordpress/&#8221; only on installation
Last modified: August 19, 2016

---

# “.com/wordpress/” only on installation

 *  [garethp](https://wordpress.org/support/users/garethp/)
 * (@garethp)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/)
 * I have installed WordPress (its brilliant) but it only comes up in the wordpress
   folder as the homepage:
 * [http://www.domainname.com/wordpress](http://www.domainname.com/wordpress)
 * not
 * [http://www.domainname.com](http://www.domainname.com)
 * How do I load wordpress that homepage is under the domain name and not in a folder.
   When I intall WordPress I;m sure the instructions tell me to load the entire 
   folder.
 * Can anyone help please?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893143)
 * no problem
    [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 *  Thread Starter [garethp](https://wordpress.org/support/users/garethp/)
 * (@garethp)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893155)
 * Neither the blog appears at [http://poweroverwireless.com](http://poweroverwireless.com)
   or [http://poweroverwireless.com/wordpress](http://poweroverwireless.com/wordpress)
   nor can I log into the WordPress Admin.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893159)
 * You seem to be calling the header from the wrong location. Based on what you’re
   saying (about wordpress being installed in a folder called wordpress) you may
   need to change your index.php in the main root ([http://poweroverwireless.com/index.php](http://poweroverwireless.com/index.php))
   to this:
 *     ```
       <?php
       /* Short and sweet */
       define('WP_USE_THEMES', true);
       require('./wordpress/wp-blog-header.php');
       ?>
       ```
   
 * Did you change the index.php file in the wordpress folder as well? If so, you
   should undo that.
 *  Thread Starter [garethp](https://wordpress.org/support/users/garethp/)
 * (@garethp)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893162)
 * <?php
    /** * Front to the WordPress application. This file doesn’t do anything,
   but loads * wp-blog-header.php which does and tells WordPress to load the theme.**
   [@package](https://wordpress.org/support/users/package/) WordPress */
 * /**
    * Tells WordPress to load the WordPress theme and output it. * * [@var](https://wordpress.org/support/users/var/)
   bool */ define(‘WP_USE_THEMES’, true);
 * /** Loads the WordPress Environment and Template */
    require(‘./wordpress/wp-
   blog-header.php’); ?>
 * This is my index file, but I’ve moved the index file from the wordpress folder
   to main folder. Thats what it tells me to do isn’t it?
 *  Thread Starter [garethp](https://wordpress.org/support/users/garethp/)
 * (@garethp)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893186)
 * Hi Can anyone help me with this, Im so close to getting things set up.
 * Anyone help would be greatly appreciated.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893197)
 * Okay, you need to have the index.php in the **wordpress** folder as well as the
   one above it. Not a move but a copy.
 * [http://poweroverwireless.com/index.php](http://poweroverwireless.com/index.php)
   and [http://poweroverwireless.com/wordpress/index.php](http://poweroverwireless.com/wordpress/index.php)
   both have to exist for your site to work 🙂
 *  Thread Starter [garethp](https://wordpress.org/support/users/garethp/)
 * (@garethp)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893320)
 * Many thanks, but Ive tried that. On a help sheet it sais I had to change the 
   php file under the root domain name. I did that and the root domain worked but
   whenever I clicked on the header it took me back to .com/wordpress
 * But now I have another problem, I changed the blog address to .com instead of.
   com/wordpress
 * Why is this part so difficult???? Can anyone help me, is there anything I can
   do?
 * I’m a whits end.
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893323)
 * stop screwing around and read the documentation.
    First – fix your 2 url’s to
   where your blog really is located [http://codex.wordpress.org/Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
 * now – if you want your blog to be in the root
    [http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site](http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site)
 * If you want to leave all of your files in /wordpress and still have wordpress
   open in the root
    [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 * step by step

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘“.com/wordpress/” only on installation’ is closed to new replies.

## Tags

 * [folder](https://wordpress.org/support/topic-tag/folder/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 8 replies
 * 3 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/comwordpress-only-on-installation/#post-893323)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
