joomla .htaccessにこの行を追加してURLの一部を削除しました。joomlaの書き換えルール.htaccessが動作しない
オリジナルURL例 - http://odishayellowpages.in/item/scientific-suppliers
必要なURL例 - http://odishayellowpages.in/scientific-suppliers
私は、この書き換えルールを使用していた - しかし、それはすべての違いを作るdoens't。
# Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
RewriteRule ^item/(.*)$ $1 [R=301,L]
## End - Custom redirects
私は運が無ければそれを試みました。 – Joshi
Ok書き換えエンジンの直下に 'RewriteRule^item /(.*)$ $ 1 [R = 301、L]'を追加するときに、私はこのようなURLを取得しています - 'http://odishayellowpages.in/var/www/ odishayellowpages.in/web/scientific-suppliers – Joshi
'/ item /'は実際のディレクトリではありません – Joshi