I'm not a programmer, but trying my best to work on Opencart by myself.
Can somebody tell me how to use httpd.conf file instead of htaccess file? Is it the same mod rewrite rules as the htaccess file?
Here's my issue:
1) The hyperlink on my logo, isn't just the .com. It's index.php?route=common/home
I'd like to 301 redirect it to the .com (the canonical URL).
2) Same problem on the breadcrumb, on the product pages that link back to the homepage.
3) Same problem on the "Continue" button on the "Information" pages (eg: About Us, Delivery Information, Privacy Policy, etc).
Any help (and code example) would be much appreciated.
Thanks!
You should put the content of .htaccess file like this:
Restart Apache after making changes to httpd.conf
Code: Select all
<Directory /path/to/your/opencart>
[insert rewrite rules here]
</Directory>
Who is online
Users browsing this forum: Baidu [Spider] and 28 guests