giving WP its own directory
-
Hi –
I’ve already read this excellent codex:
Giving WordPress Its Own Directory
And, before I plunge, I just have a few questions.
- Will this eliminate the “wordpress” subdirectory in the site’s URL? This is really what I want to accomplish.
- step 7 talks about copying the WP .htaccess file into the root directory. I already have an .htaccess file in the root directory. Here are its contents:
RewriteEngine on RewriteCond %{HTTP_HOST} ^widebandcomputers.com$ [OR] RewriteCond %{HTTP_HOST} ^www.widebandcomputers.com$ RewriteRule ^/?$ "http\:\/\/www\.widebandcomputers\.com\/wordpress" [R=301,L]
And here are the contents of the .htaccess file in the WP subdirectory:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPress
Much of this stuff is truly Greek to me, but I imagine that I would want to add the WP code to the root code, not replace it. Can someone provide some guidance on this?
Thanks for the help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘giving WP its own directory’ is closed to new replies.