My index.html wont show up when i have wordpress installed in sub directory
-
Hi,
This’s what i wanna do, having static HTML with wordpress files.
/index.html ---> showing static index.html as my top page for my site /about.html ---> static.html /feature.html ---> static.html /wp/ ----> the subdirectory for wordpress, where the wordpress is installed.
I would like my HTML to execute PHP, so this’s my .htaccess under /
AddType application/x-httpd-php .htm .html
And this’s the .htaccess under wp/
# 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 WordPress
I cant see anything wrong here, but when i access to my site,
https://localhost/
it keeps giving me 404 error, and redirecting me to:
https://localhost/wp-admin/install.phpThere’s no wp-admin/ under /
Where is the mistake here?If i delete the .htaccess under /, the page shows up well.
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘My index.html wont show up when i have wordpress installed in sub directory’ is closed to new replies.