index file in root not directing to WordPress install folder
-
I have my wordpress install on my domain (www.reputationangel.com) in a folder named RAsite. I want the https://www.reputationangel.com URL to direct to the RAsite folder’s WP install. I have followed the instructions and set the site url to https://www.reputationangel.com and copied the index and .htaccess files to the root folder and I have edited the index file to point to the RAsite folder, but when I go to https://www.reputationangel.com I get a blank page.
The index file looks like this:
<?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( dirname( __FILE__ ) . ‘/RAsite/wp-blog-header.php’ );And the .htaccess file looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /RAsite/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /RAsite/index.php [L]
</IfModule># END WordPress
Any help would be appreciated!
- The topic ‘index file in root not directing to WordPress install folder’ is closed to new replies.