ローカルマシンのopencartでseourlを設定しようとしています。
管理システム設定からseourlを有効にして、「YES」に設定しました
その後、私の.htaccess
ファイルに次の行を追加しました-:
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
# 2. In your opencart directory rename htaccess.txt to .htaccess.
# For any support issues please visit: http://www.opencart.com
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
Order deny,allow
Deny from all
# SEO URL Settings
RewriteEngine On
RewriteBase /primebrand
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
この後、自分の商品とカテゴリのseoキーワードを設定しました。そして、Apacheを再起動しました。
しかし、それは示しています
403 forbidden
You don't have permission to access /primebrand/ on this server