Apparently I'm drawing a blank - must be a simple, stupid issue....
Scenario:
Website hosted by a provider w/ Apache WS - no root access. Existing static website is located in folder public_html (index.html). The existing .htaccess contains a single line: DirectoryIndex index.html. The server's start directory is public_html.
A working WordPress Installation is located in public_html/folder_wp (i. e. when switching the server's start directory from public_html to public_html/folder_wp WordPress is executed upon calling the website from any browser).
The static website contains a button with link to folder_wp/index.php - the purpose is to redirect to the WP site from the static website.
Both - static and WP site - share the same URL.
Any hint highly welcome. -mgw
Problem: When clicking the link that should launch to the WP site a 403 is displayed.
I fiddled around with several settings in .htaccess to no avail and only ended up with either 404 or 500 besides the 403.
Last tried with public_html/.htaccess and added directory index.php - funny enough I can now reach the WP site but when clicking anywhere I end up with 404 (wp_admin not found et al.)... guess I need some rewrite rule or else...? New .htaccess:
#KONSOLE AREA START - PLEASE DO NOT EDIT MANUALLY BETWEEN THESE LINES
DirectoryIndex index.html
#KONSOLE AREA END - PLEASE ADD MANUAL CHANGES BELOW
DirectoryIndex index.html index.php
What am I missing?
/var/log/apache2/error.logfolder_wp/? Might interfere with theDirectoryIndex index.htmlline in the webhome. Try to addDirectoryIndex index.phpin the.htaccessinpublic_html/folder_wp/.public_htmland the WP-built infolder_wp. Adding index.php or folder_wp/index.php into public_html/.htaccess led to same issue.