Closed ruzgarhasan closed 5 years ago
I can also access page-cache / link. is there a way not to be reached?
Example; github.com/page-cache/pcindexpc.html
must be github.com/
Note:apache .htaccess
Add a redirect match to the page-cache directory in your.htaccess file:
page-cache
.htaccess
RedirectMatch 404 ^/page-cache
Thank yo 👍
RedirectMatch 301 ^/page-cache/(.*)\.html$ /$1
I can also access page-cache / link. is there a way not to be reached?
Example; github.com/page-cache/pcindexpc.html
must be github.com/
Note:apache .htaccess