need help with getting wordpress at the root level on server
-
Hi,
I uploaded and launched a WP site live after working in local. i would like to keep the majority of the files in the wordpress directory. I found some instructions on moving a site from a subdomain to root, but it’s not working quite right. When you loginto http://www.brlconsulting.com it will redirect to http://www.brlconsulting.com/wordpress/. I left the general settings for WP and site address at http://www.brlconsulting.com/wordpress. If I remove the /wordpress everything is broken (styles functionality etc) and a page not found error is thrown.
I copied the .htaccess and index.php from the /wordpress directory into the root per instructions. In my index.php file I changed this part
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’);my .htaccess file at the root level is as follows:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
I think I must be missing something.Can anyone fill in the missing piece?
- The topic ‘need help with getting wordpress at the root level on server’ is closed to new replies.