I've created sub-domain URL on my site but it always shows "page not found" error. When I write foldername.website.com
so it shows page not found but it works when I write website.com/foldername
. I've removed all code of .htaccess from main folder and sub folder but still sub-domain URL is not working.
相关问题
- Backbone.js PushState routes .htaccess only workin
- Stop .htaccess redirect with query string
- .htaccess rule, redirecting old unexistent address
- What is this file in .htaccess?
- If statements in .htaccess files, to enable passwo
相关文章
- Multiple htaccess rewrite rule
- AWS ALB redirect to https
- rewrite urls for product name
- Codeigniter remove index.php - htaccess localhost
- How can I build the regex to match a string NOT co
- Relative paths from file for img, a and header
- How to change the name of the directory in url in
- htaccess redirect HTTPS to secure.domain.com, non
Your web folder design should be something like:
You really can not have a nested relationship for these two folders, like website folder cannot contain the subdomain folder; which looks to be the case here.