Point domain.org to domain.org/new_wp
-
This is a very basic question, I know, but I don’t understand the instructions in the codex. My installation quit working after an update and I had to upload a backup to my isp. I have WordPress installed in domain.org/new_wp and am using a newly-created database.
.htaccess in the root is:
‘# 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
‘
Index.php in the root is:
‘<?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(‘./new_wp/wp-blog-header.php’);
‘
This is lthe way it was before. Everything works ok, but to log in I have to go to domain.org/new_wp/wp-admin. All files start with domain.org/new_wp/. I’d rather just go to domain.org/wp-admin to log in, and have files start with domain.org/. I was able to do it before but don’t know why I can’t now. What do I do? I don’t really understand the instructions in the codex. They seem to say several different things.
Thanks for any help you can give!
- The topic ‘Point domain.org to domain.org/new_wp’ is closed to new replies.