Forums

".com/wordpress/" only on installation (9 posts)

  1. GarethP
    Member
    Posted 1 year ago #

    I have installed Wordpress (its brilliant) but it only comes up in the wordpress folder as the homepage:

    http://www.domainname.com/wordpress

    not

    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?

  2. samboll
    moderator
    Posted 1 year ago #

  3. GarethP
    Member
    Posted 1 year ago #

    Neither the blog appears at http://poweroverwireless.com or http://poweroverwireless.com/wordpress nor can I log into the Wordpress Admin.

  4. Ipstenu
    Member
    Posted 1 year ago #

    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) 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.

  5. GarethP
    Member
    Posted 1 year ago #

    <?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 WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @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?

  6. GarethP
    Member
    Posted 1 year ago #

    Hi Can anyone help me with this, Im so close to getting things set up.

    Anyone help would be greatly appreciated.

  7. Ipstenu
    Member
    Posted 1 year ago #

    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 and http://poweroverwireless.com/wordpress/index.php both have to exist for your site to work :)

  8. GarethP
    Member
    Posted 1 year ago #

    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.

  9. samboll
    moderator
    Posted 1 year ago #

    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

    now - if you want your blog to be in the root
    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

    step by step

Topic Closed

This topic has been closed to new replies.

About this Topic