0

このURLを書き直す必要があります

http://www.website.com/game/newscore.php
http://www.website.com/game/index.php?act=Arcade&do=newscore
http://www.website.com/game/index.php?act=Arcade&do=savescore

オールインワンから

http://www.website.com/savescore

http://www.website.com/game/index.php?act=Arcade&do=verifyscore

http://www.website.com/game/verifyscore

これは私の現在の.htaccessファイルです

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

誰か助けてくれませんか?すべてのThx。

4

1 に答える 1

1
RewriteRule ^http://www.website.com/game/newscore.php$ http://www.website.com/savescore [R,L]
RewriteRule ^http://www.website.com/game/index.php?act=Arcade&do=(new|save)score$ http://www.website.com/savescore [R,L]
RewriteRule ^http://www.website.com/game/index.php?act=Arcade&do=verifyscore$ http://www.website.com/game/verifyscore [R,L]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
于 2012-11-11T16:24:34.480 に答える