我需要一些帮助来了解 如何写入 < code>. httaccess 。
我的文件在 my website/ part5/ thanksfor download.html
中。 如何使用 . ht access
来拥有 url my website/ thankyou for download. html
?
我尝试使用此选项进行 .htaccess
但无骰子。 我尝试将它上传到根和文件夹本身 。
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /part5/$1 [L]
Not sure what went wrong in this part, thanks for your views & comments in advance!