If I have a lot of URLs that are similar to this RewriteRule ^information/anime-index index.php?sub=information&mod=$1&newsid=anime,index¬e=$3 [L] RewriteRule ^information/tv-tokyo index.php?sub=information&mod=$1&newsid=tv,tokyo,information¬e=$3 [L] Code (markup): RewriteRule ^multimedia/avatars index.php?sub=multimedia&mod=avatars&fileid=$2¬e=$3&type=$4 [L] RewriteRule ^multimedia/wallpapers index.php?sub=multimedia&mod=wallpapers&fileid=$2¬e=$3&type=$4 [L] Code (markup): How would I rewrite them using one or two rewrite rules rather then just putting every url into the .htaccess one by one.
That works for the second part. But what about if the URLS are like RewriteRule ^information/anime-index index.php?sub=information&mod=$1&newsid=anime,index¬e=$3 [L] RewriteRule ^information/tv-tokyo-information index.php?sub=information&mod=$1&newsid=tv,tokyo,information¬e=$3 [L] Code (markup):