#RewriteRule ^([^./]+)/?$ $1.php [L]
I have a Web site that's called xxx.com, and it's called XXX.
The FTP path is
home2/*/public_html/xxx/
Because I didn't use it in XXX catalogue.#RewriteRule ^([^./]+)/?$ $1.php [L]
So when my other main web site (home2/*/public_html/) joins this code
Led me into the xxx.com will become 404
Must add index.php to be normal.
This is what he has to add my xxx to this code ... But I didn't use this code in XXX
So he read xxx.com into Xxx.com/index, so he'll be 404.
Please ask this rewriterule how to change the right? Don't affect other records!
I'm now doing this by adding in the public_html/xxx/.
Rewriterule ^index$ index.php [L]
You can coexist in this way. But I don't know what's going to happen.
My only one by one sites do not have hidden file name is xxx so things suddenly .... I didn't expect to be like this.
Reply content:
#RewriteRule ^([^./]+)/?$ $1.php [L]
I have a Web site that's called xxx.com, and it's called XXX.
The FTP path is
home2/*/public_html/xxx/
Because I didn't use it in XXX catalogue.#RewriteRule ^([^./]+)/?$ $1.php [L]
So when my other main web site (home2/*/public_html/) joins this code
Led me into the xxx.com will become 404
Must add index.php to be normal.
This is what he has to add my xxx to this code ... But I didn't use this code in XXX
So he read xxx.com into Xxx.com/index, so he'll be 404.
Please ask this rewriterule how to change the right? Don't affect other records!
I'm now doing this by adding in the public_html/xxx/.
Rewriterule ^index$ index.php [L]
You can coexist in this way. But I don't know what's going to happen.
My only one by one sites do not have hidden file name is xxx so things suddenly .... I didn't expect to be like this.
Thank you for your invitation.