Problem Accessing WordPress via Root Web Address
-
Hi there,
After reviewing this article and several forum help requests for this issue, I am still unable to get my WordPress site to appear correctly.
What I want is for my site to appear in web browsers in this format: “www.mysite.com” instead of this format: “www.mysite.com/wordpress” where the WordPress files are located in the directory “public_html/wordpress”
What I have now is a working site, but it shows as “www.mysite.com/wordpress.” My .htaccess and index.php files from the WordPress directory were each copied into the root directory. The index.php file was modified precisely as instructed on WordPress’s instructions (in the article linked above). Somehow, I lost the original .htaccess file in my WordPress directory (which oddly did not cause any errors), but I reproduced it by first copying the root .htaccess file into the WordPress directory, and then altering one of the lines according to this guy’s rewrite rule. And my General settings are correct: “www.mysite.com” is my Site Address, and “www.mysite.com/wordpress” is my WordPress Address.
Yet my site continues to appear incorrectly as “www.mysite.com/wordpress”
This is what I edited in my root copy of index.php:
require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );
This is how I left the original index.php file in my WordPress directory:
require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
This is what my root copy of .htaccess shows:
RewriteRule ^(/)?$ wordpress [L]
And this is what that same line was changed to in my WordPress directory’s copy of .htaccess:
RewriteRule ^b/([^/]*)$ /?p=$1
Any help would be much appreciated, thanks!
Peace,
Brian
- The topic ‘Problem Accessing WordPress via Root Web Address’ is closed to new replies.