- Get link
- X
- Other Apps
Many developer face this problem after Enable SEO, URL cant work normally.
1. Opencart Admin Panel > System > Settings > Server enable SEO URL2. Add SEO url link to Product > SEO
3. Cpanel - Public_html / www > renamed the .htaccess.txt to .htaccess > must be located in the root folder
4. Reload website and check
and sometimes SEO URL Working for product id, category id, information id but for page common/home, account/login, account/account not working.
for this issue, I recommend you to use bellow extension
https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=31993
another way to redirect SEO URL
1. Open your ftp and go to this path catalog/controller/startup
2. Open seo_url.php for edit
3. Line no 87 put one more else if
code start:
} elseif ($key == 'route') {
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "seo_url WHERE `query` = '" . $this->db->escape($value) . "' AND store_id = '" . (int)$this->config->get('config_store_id') . "' AND language_id = '" . (int)$this->config->get('config_language_id') . "'");
if ($query->num_rows && $query->row['keyword']) {
$url .= '/' . $query->row['keyword'];
unset($data[$key]);
} else if ($data['route'] == "common/home") {
$url .= '/';
}
#code_end
Comments
Post a Comment