0
我有一些图片的URL,如:http://example.com/12345-large_default/image.jpg.htaccess的URL重写越来越数字
而且我想要得到的12345和改写为:http://example.com/app/img.php?id=12345
我已经尝试这样做了很大的改动:
RewriteRule ^([0-9]+)\-large_default.jpg$ /app/img.php?id=$1
但我无法得到它的工作。
试试这个:'重写规则^([0-9] +) - large_default /app/img.php?id=$1 [L,QSA]' – anubhava
不,它不工作,要么:( –
这个htaccess位于何处?提供您的完整.htaccess问题 – anubhava