Problem for Giving WordPress Its Own Directory
-
Good evening, I need your support.
I try to change the URL of my wordpress but keep the root directory in the footsteps of “https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory” (www.your_domain.com/wordpress) root (www.your_domain.com) URL to display .
All I get to perfection, the website loads without problem, but when do the same with another installation of wordpress gives me error, I load the main wordpress (the first install). I realize that it is for the index.php file.
I wish someone would help me configure this file to load several wordpress.
First WordPress
<? Php
/ **
?* Front to the WordPress application. This file does not 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__) ‘/web/wp-blog-header.php.’);Second WordPress
<? php
/ **
? * Front to the WordPress application. This file does not 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__) ‘/web2/wp-blog-header.php.’);
- The topic ‘Problem for Giving WordPress Its Own Directory’ is closed to new replies.