Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

Mod Rewrite code

Status
Not open for further replies.

VisualDigits

The One
Legacy Exclusive Member
Joined
Mar 8, 2005
Messages
1,480
Reaction score
0
This is a url:
http://www.slack-time.com/music-vid...American-Idiot/ that works with my current mod rewrite, however http://www.slack-time.com/music-videos/Rock-Music/ doesn't, so I want my mod rewrite to work for every virtual directory, such as:

http://www.slack-time.com/music-videos/
http://www.slack-time.com/music-videos/Rock-Music/
http://www.slack-time.com/music-vid...usic/Green-Day/

I hope it clarifies what my intentions are.

I found the code thanks to a guy called Nintendo, here it is:
Code:
Options +Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteRule ^(.*)/(.*)/(.*)/(.*)/$ index.php?menu=$1&cat=$2&artist=$3&title=$4 [L]
RewriteRule ^(.*)/(.*)/(.*)/$ index.php?menu=$1&cat=$2&artist=$3 [L]
RewriteRule ^(.*)/(.*)/$ index.php?menu=$1&cat=$2 [L]
RewriteRule ^(.*)/$ index.php?menu=$1 [L]
 
Dynadot - Expired Domain Auctions
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom