arif Posted June 12, 2019 Share Posted June 12, 2019 Hello, after installing the latest processwire installation in a subfolder /k/, the index does always show the 404 page, not the home page. I can access the home page however, by going to domain.com/k/. Why doesn't domain.com point me to the home page? It does point me to the process wire 404 page. On the same server i have another processwire installation running with exactly the same setup, it works just fine. I have compared the htaccess files several times and they are set up the same way. I don't know what else to do and would be grateful for a tip. thank you! Arif Link to comment Share on other sites More sharing options...
dragan Posted June 12, 2019 Share Posted June 12, 2019 What's in the root folder? Another PW installation? Or someting else? What are the index.php/.html and .htaccess of root? If you installed PW into domain.tld, then of course that PW homepage will be shown in domain.tld/subfolder/, not domain.tld/ Link to comment Share on other sites More sharing options...
arif Posted June 12, 2019 Author Share Posted June 12, 2019 Hi Dragan, thank you for responding. In the public_html (root) folder there is only a .htaccess, no index.php or .html. There are also three subfolders: jn, acg and k. JN contains a processwire installation that shows the index.php just fine. K contains the problematic, new installation that always shows 404 (at domain.com) the htaccess in the root contains the following lines. RewriteCond %{HTTP_HOST} ^domain.com$ RewriteCond %{REQUEST_URI} !^/k// RewriteRule (.*) /k//$1 [last] RewriteCond %{HTTP_HOST} ^www.domain.com$ RewriteCond %{REQUEST_URI} !^/k// RewriteRule (.*) /k//$1 [last] RewriteCond %{HTTP_HOST} ^acg.com$ RewriteCond %{REQUEST_URI} !^/acg// RewriteRule (.*) /acg//$1 [last] RewriteCond %{HTTP_HOST} ^www.acg.com$ RewriteCond %{REQUEST_URI} !^/acg// RewriteRule (.*) /acg//$1 [last] RewriteCond %{HTTP_HOST} ^www..acg.com$ RewriteCond %{REQUEST_URI} !^/acg// RewriteRule (.*) /acg//$1 [last] RewriteCond %{HTTP_HOST} ^ac.group$ RewriteCond %{REQUEST_URI} !^/acg// RewriteRule (.*) /acg//$1 [last] RewriteCond %{HTTP_HOST} ^www.ac.group$ RewriteCond %{REQUEST_URI} !^/acg// RewriteRule (.*) /acg//$1 [last] RewriteCond %{HTTP_HOST} ^jn.com$ RewriteCond %{REQUEST_URI} !^/jn// RewriteRule (.*) /jn//$1 [last] RewriteCond %{HTTP_HOST} ^www.jn.com$ RewriteCond %{REQUEST_URI} !^/jn// RewriteRule (.*) /jn//$1 [last] RewriteCond %{HTTP_HOST} ^www..jn.com$ RewriteCond %{REQUEST_URI} !^/jn// RewriteRule (.*) /jn//$1 [last] Link to comment Share on other sites More sharing options...
arif Posted June 12, 2019 Author Share Posted June 12, 2019 I forgt to addL I can go to domain.com/install.php to install Processwire, works just fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now