• I have installed wp in a subdirectory as this is classed as “best practice”.

    This means my wp site is currently sitting at http://www.example.com/wordpress … where I really want is for users to browser to http://www.example.com and hit my wp site.

    The hosting I have is running IIS7 (so no lectures on htaccess please).

    I have read, and re-read this:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    And in all honesty it just doesn’t cut it. It doesn’t provide enough information or details if running in a windows host.

    It talks about copy index.php and .htaccess from the wordpress folder, or if you are on windows iis the web.config file, doing so makes wp crash as you can’t have 2 web.configs.

    The codex page seems to be directed towards apache servers, and not windows iis servers.

    Please, someone help me.

    Things I have tried:

    – Copied index.php and web.config to root (removing web.config from /wordpress folder).

    – Changed the line in index.php to:

    require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );

    – Amended site address (URL) in general settings in the control panel to http://www.example.com

    – Can’t update permalinks as it crashes

    http://www.example.com does work but any thing else (e.g. http://www.example.com/foo) crashes.

    – The permalinks which I have already set up/using is “Post Name”

    – I have no content at the moment, just my template set up as I need.

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

The topic ‘Sub Directory as Homepage’ is closed to new replies.