Hi, i'm new to htaccess file and I recently read something about rewrite rule. I tried the following:
RewriteRule ^tabs/ /bdb/tabs.php
RewriteRule ^tabs/(bass|drum|guitar|lyrics)/? /bdb/tabs_index.php?filetype=$1
RewriteRule ^tabs/(bass|drum|guitar|lyrics)/([A-Z|8])/? /bdb/tabs_bands.php?filetype=$1&cat=$2
RewriteRule ^tabs/(bass|drum|guitar|lyrics)/([A-Z|8])/([0-9]+)/? /bdb/tabs_songs.php?filetype=$1&bid=$3
RewriteRule ^tabs/(bass|drum|guitar|lyrics)/([A-Z|8])/([0-9]+)/(album|song)/? /bdb/tabs_songs.php?filetype=$1&bid=$3&displayby=$4
but everytime I goto tabs/bass or tabs/guitar it just goes to the same page as if i went to tabs. I'd be greatful if anyone could help tell a solution to this problem. Thanks
RewriteRule ^tabs/ /bdb/tabs.php
RewriteRule ^tabs/(bass|drum|guitar|lyrics)/? /bdb/tabs_index.php?filetype=$1
RewriteRule ^tabs/(bass|drum|guitar|lyrics)/([A-Z|8])/? /bdb/tabs_bands.php?filetype=$1&cat=$2
RewriteRule ^tabs/(bass|drum|guitar|lyrics)/([A-Z|8])/([0-9]+)/? /bdb/tabs_songs.php?filetype=$1&bid=$3
RewriteRule ^tabs/(bass|drum|guitar|lyrics)/([A-Z|8])/([0-9]+)/(album|song)/? /bdb/tabs_songs.php?filetype=$1&bid=$3&displayby=$4
but everytime I goto tabs/bass or tabs/guitar it just goes to the same page as if i went to tabs. I'd be greatful if anyone could help tell a solution to this problem. Thanks