getmukesh Posted May 11, 2017 Share Posted May 11, 2017 I have written rewriterule in htaccess for accessing category page. Category page working file, but my subfolder not browse which contains other files. You can see code below ------------------------ Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([A-Za-z0-9-]+)/$ category.php?category=$1 ------------------------ e.g. If i access the page http://example.com/international/ Its showing the category result page. This is working perfectly. But when i tried my subfolder which exists on root directory, not accessible because of rewriterule written above. Its showing same category page like international. http://example.com/subfolder/ subfolder = is the subfolder exists Quote Link to comment Share on other sites More sharing options...
requinix Posted May 11, 2017 Share Posted May 11, 2017 not accessible because of rewriterule written aboveActually no, the rule explicitly does not match directories that exist. "not accessible" is not helpful. How is it not accessible? 403 or 404? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.