OK, the problem might be that the index.php is in the directory above.
I think that is an issue for you 😉
Andreas
Hello @hondo6566,
Do you have a .htaccess file in the home directory? Please post his content.
—
George
-
This reply was modified 6 years, 6 months ago by
George J.
htaccess file created by WordPress. Here is the content:
# 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
@hondo6566: try to remove (or comment) the content of the .htaccess file located inside the home directory.
And the .htaccess file from /wp/ directory (/wp/.htaccess) should be:
# 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
Sorry my failure,
the .htaccess file is in /wp/ directory.
In home directory isn’t such a file.
@hondo6566 No problem. As I said, the .htaccess file from /wp/ directory should be:
# 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
@hondo6566 it’s not the same, the content is different.
Or maybe I don’t understand what’s your real issue. Do you want to achieve something like this: https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory?
-
This reply was modified 6 years, 6 months ago by
George J.
Hello,
I think I’m not blind, and the Content from you and me is exactly the same.
Wordpress is installed into directory /wp/
index.php from wordpress is in home directory.
Logged in as an admin, I see the frontend when I browse to mysite.de/wp because I copied index.php to /wp/,
But when I browse to mysite.de I see the maintenacde notice and not the frontend.
Regards
Andreas
-
This reply was modified 6 years, 6 months ago by
Hondo6566.
@hondo6566 I’m not here to point out if you’re blind or not, but maybe you should take a look at this: https://imgur.com/a/vWbUO8a.
Anyway, now I understand your problem and the idea with the .htaccess is not useful in this case. So ignore it.
After you finished that setup, have you tried to log out and log in again? As I said in my last reply, it worked fine in my tests.
-
This reply was modified 6 years, 6 months ago by
George J.
sorry, I double checked the text but I have not seen it. Thank you for your patience.
I will test to logout/login.
Andreas