画像フォルダへのすべてのリクエストが1つのフォルダを指すように作成できるルールはありますか?私はたくさんのリンクを扱っているので、入れたくありません../
例: http: //hostingxtreme.com/ajax/images/logo.png。
http://hostingxtreme.com/images/logo.pngになる必要があります
ありがとう
ここでは、Dosentを使用しているコードが機能しているようです。
php_value register_long_arrays On
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteEngine On
RewriteRule ^/?ajax/images/logo.png$ /images/logo.png [L,R=301]
</IfModule>