"RewriteRule ^Songs/([^/]+)/([^/]+)-([^/]+)\.php$ /Songs/?show=song&id=$1&artist=$2&title=$3 [L]"
This links from
http://www.domain.com/Songs/ID/ARTIST-TITLE.php to the script that actually executes the command.
I would like to resolve to the same script, hosted on the same URL, but to access it from a different subdomain. The thing is that the subdomain doesn`t actually exist (I don`t want to create it), but if there is a way to fake it by using htaccess, please let me know.
I would like it to look like this instead :
http://music.domain.com/Songs/ID/ARTIST-TITLE.php
I have another question regarding the search engine ranking. What would be the best URL to use with high ranking when someone searches for midis by ARTIST and/or TITLE of the song.
I was thinking of the following :
Option 1 :
http://midi.domain.com/MIDI_ARTIST-TITLE.php
+ where for artist or title if it has more than 1 word in the name, I would display it as one (example : Black Eyed Peas; BlackEyedPeas)
Option 2 :
http://www.domain.com/MIDI_ARTIST-TITLE.php
+ in case I will not be able to get the htaccess to resolve from a subdomain
Option 3 :
http://midi.domain.com/MIDI_ARTISTTITLE.php
Option 4 :
http://midi.domain.com/ARTISTTITLE.mid.php
Option 5 :
http://midi.domain.com/ARTISTTITLE.mid
+ probably not a good option for mp3s, because mp3s are usually bigger than 1MB, while the site will be just a couple of KBs.
What would be the best option? If you have any other options/suggestions please let me know.
Thank you,
Luka