We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0b746637 authored by Mike Sheldon's avatar Mike Sheldon

Make language selection work on all pages

parent 2d14cb3e
Options +FollowSymLinks -MultiViews
RewriteEngine on
RewriteRule ^user/([^/]+)/?$ user-profile.php?user=$1 [B,NC]
RewriteRule ^user/([^/]+)/journal/?$ user-journal.php?user=$1 [B,NC]
RewriteRule ^user/([^/]+)/groups/?$ user-groups.php?user=$1 [B,NC]
RewriteRule ^user/([^/]+)/?$ user-profile.php?user=$1 [B,NC,QSA]
RewriteRule ^user/([^/]+)/journal/?$ user-journal.php?user=$1 [B,NC,QSA]
RewriteRule ^user/([^/]+)/groups/?$ user-groups.php?user=$1 [B,NC,QSA]
RewriteRule ^user/([^/]+)/recent-tracks/?$ user-recent-tracks.php?user=$1 [B,NC,QSA]
RewriteRule ^user/([^/]+)/stats/?$ user-stats.php?user=$1 [B,NC]
RewriteRule ^user/([^/]+)/stats/?$ user-stats.php?user=$1 [B,NC,QSA]
RewriteRule ^user/([^/]+)/station/?$ user-station.php?user=$1 [B,NC,QSA]
RewriteRule ^user/([^/]+)/recommended/?$ user-recommended.php?user=$1 [B,NC]
RewriteRule ^artist/([^/]+)/track/([^/]+)/edit/?$ track-add.php?artist=$1&track=$2 [B,NC]
RewriteRule ^artist/([^/]+)/track/([^/]+)/?$ track.php?artist=$1&track=$2 [B,NC]
RewriteRule ^artist/([^/]+)/album/([^/]+)/track/add/?$ track-add.php?artist=$1&album=$2 [B,NC]
RewriteRule ^artist/([^/]+)/album/([^/]+)/track/([^/]+)/edit/?$ track-add.php?artist=$1&album=$2&track=$3 [B,NC]
RewriteRule ^artist/([^/]+)/album/([^/]+)/track/([^/]+)/?$ track.php?artist=$1&album=$2&track=$3 [B,NC]
RewriteRule ^artist/([^/]+)/album/add/?$ album-add.php?artist=$1 [B,NC]
RewriteRule ^artist/([^/]+)/album/([^/]+)/?$ album.php?artist=$1&album=$2 [B,NC]
RewriteRule ^artist/([^/]+)/?$ artist.php?artist=$1 [B,NC]
RewriteRule ^artist/([^/]+)/manage/?$ artist-manage.php?artist=$1 [B,NC]
RewriteRule ^artist/([^/]+)/tag/?$ artist-tag.php?artist=$1 [B,NC]
RewriteRule ^group/new$ edit_group.php?group=new [B,NC]
RewriteRule ^user/([^/]+)/recommended/?$ user-recommended.php?user=$1 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/track/([^/]+)/edit/?$ track-add.php?artist=$1&track=$2 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/track/([^/]+)/?$ track.php?artist=$1&track=$2 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/album/([^/]+)/track/add/?$ track-add.php?artist=$1&album=$2 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/album/([^/]+)/track/([^/]+)/edit/?$ track-add.php?artist=$1&album=$2&track=$3 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/album/([^/]+)/track/([^/]+)/?$ track.php?artist=$1&album=$2&track=$3 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/album/add/?$ album-add.php?artist=$1 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/album/([^/]+)/?$ album.php?artist=$1&album=$2 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/?$ artist.php?artist=$1 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/manage/?$ artist-manage.php?artist=$1 [B,NC,QSA]
RewriteRule ^artist/([^/]+)/tag/?$ artist-tag.php?artist=$1 [B,NC,QSA]
RewriteRule ^group/new$ edit_group.php?group=new [B,NC,QSA]
RewriteRule ^group/([^/]+)/?$ group.php?group=$1 [B,NC,QSA]
RewriteRule ^group/?$ group.php [B,NC]
RewriteRule ^country/([^/]+)/?$ location.php?country=$1 [B,NC]
RewriteRule ^logout login.php?action=logout [B,NC]
RewriteRule ^listen listen.php
RewriteRule ^music popular.php
RewriteRule ^users users.php
RewriteRule ^tag/([^/]+)/?$ tag.php?tag=$1 [B,NC]
RewriteRule ^group/?$ group.php [B,NC,QSA]
RewriteRule ^country/([^/]+)/?$ location.php?country=$1 [B,NC,QSA]
RewriteRule ^logout login.php?action=logout [B,NC,QSA]
RewriteRule ^listen listen.php [B,NC,QSA]
RewriteRule ^music popular.php [B,NC,QSA]
RewriteRule ^users users.php [B,NC,QSA]
RewriteRule ^tag/([^/]+)/?$ tag.php?tag=$1 [B,NC,QSA]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment