PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Fri Sep 22, 2017 10:03 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu May 11, 2017 6:47 am 
Offline
Forum Newbie

Joined: Thu May 11, 2017 6:44 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group