Make subdirektory root – can't make it work
-
Hey! I followed the instructions on Giving WordPress Its Own Directory, but it doesn’t work.
My website is: ceciliesgalleri.dk
In the Generel settings tab:
Wordpress url: http://ceciliesgalleri.dk/wp
Site url: http://ceciliesgalleri.dkI made a copy of .htaccess and index.php to root.
In root index.php, I changed:
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
to:
require( dirnam/( __FILE__ ) . '/wp/wp-blog-header.php' );In the wordpress directory, the .htaccess rewrote itself from:
# 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 WordPressto:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wp/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wp/index.php [L] </IfModule> # END WordPressSo what am I missing?
The topic ‘Make subdirektory root – can't make it work’ is closed to new replies.