Update - Alright thanks everyone for your tests, it really helped. The code is good. My problem was not having absolute "/" links. (Due to moving from public_html folder).
Only 2 concerns i have now.
1.) Replace "^achilles" with "^([0-9a-zA-Z_-]+)" and thumbnails wont appear (parameter data is not being carried???)
2.) How can I make http://funkygames.co/games/achilles/achilles/1 become even shorter like http://funkygames.co/games/achilles Or are the parameters absolutely mandatory.
# Turn Rewrite Engine On
RewriteEngine on
# Set the base to /games/ so we need not include it in the rules
RewriteBase /games/
#Rewrite for achilles.php?games_path=xxxxxxxxxx.yyy&category_id=zzz
RewriteRule ^achilles/(.*)/([0-9]+) $1.php?games_path=$1.swf&category_id=$2 [NC,L]
Where i learned: www.youtube.com/watch?v=1pbAV6AU99I
SOLVED! Thanks to you guys. Solution:
# Turn Rewrite Engine On
RewriteEngine on
# Set the base to /games/ so we need not include it in the rules
RewriteBase /games/
#Rewrite for achilles.php?games_path=xxxxxxxxxx.yyy&category_id=zzz
RewriteRule ^([0-9a-zA-Z_-]+)/([0-9]+) $1.php?games_path=$1.swf&category_id=$2 [NC,L]
/games/achilles/1
- this looks doable, however, in your comment you are missing what would be thecategory_id
- presumably you do need the category ID, or can it be omitted?