Telesphoreo
Member
Hello,
I am somewhat confused on how I can have a page on my site (https://plex.us.org/pages/home) without the "/pages/home". For example if someone were to visit https://plex.us.org, it would say "Oops! This page could not be found". I use Caddy as my webserver and the configuration is below
Basically I have a redir on / to go to /pages/home, but I'm wondering if I can somehow put /pages/home at / so I don't need the redirect
I have this set as my home page
I thought that this would set /pages/home as / but apparently not so I'm not sure what to do from here.
I am somewhat confused on how I can have a page on my site (https://plex.us.org/pages/home) without the "/pages/home". For example if someone were to visit https://plex.us.org, it would say "Oops! This page could not be found". I use Caddy as my webserver and the configuration is below
Code:
plex.us.org {
import logging
import php
try_files {path} /index.php
root * /var/www/xenforo
file_server
redir / /pages/home
respond /.ht* 403
}
Basically I have a redir on / to go to /pages/home, but I'm wondering if I can somehow put /pages/home at / so I don't need the redirect
I have this set as my home page
I thought that this would set /pages/home as / but apparently not so I'm not sure what to do from here.