Page 1 of 1

SEO not working

Posted: Tue Aug 01, 2017 8:53 pm
by ChinmayBhatta
The SEO URL is not working in ver 3.0.2.0.

My site is installed in a folder in the root and not at the root.

Re: SEO not working

Posted: Wed Aug 02, 2017 12:00 am
by JNeuhoff
ChinmayBhatta wrote:
Tue Aug 01, 2017 8:53 pm
The SEO URL is not working in ver 3.0.2.0.

My site is installed in a folder in the root and not at the root.
It's not a bug, the SEO URL is working just fine in OC 3.0.2.0!

Most likely you got a wrong RewriteBase in your '.htaccess'.

Re: SEO not working

Posted: Tue Aug 29, 2017 12:30 am
by dogart
hello
I also am having trouble with SEO
I have two htaccess files
htaccess and .htaccess.txt
What do I do here, delete htaccess which is the original file and amend the .htaccess.txt by removing the .txt extension?
I have tried to amend but when I do i get 404 error on my pages.

Re: SEO not working

Posted: Tue Sep 19, 2017 10:53 pm
by pvhari
dogart wrote:
Tue Aug 29, 2017 12:30 am
hello
I also am having trouble with SEO
I have two htaccess files
htaccess and .htaccess.txt
What do I do here, delete htaccess which is the original file and amend the .htaccess.txt by removing the .txt extension?
I have tried to amend but when I do i get 404 error on my pages.
Please share your .htaccess codes

Re: SEO not working

Posted: Fri Sep 22, 2017 11:49 pm
by sainent
Opencart 3.x SEO URL issue SOLVED Just Upload extension or follow this steps.

its working fine for product_id, category_id etc...

but for any pages its not working

Any Theme Compatible.
Frontend Demo
http://demo.sainent.com
Admin Demo
http://demo.sainent.com/admin
Username: demo
Password: demo

For Fix with Extension Click Here
https://www.opencart.com/index.php?rout ... n_id=31993

OR

***THIS STEPS ARE FOR DEVELOPERS ONLY FOR WHOM DON'T WANT TO INSTALL PLUGIN***
now i m going to see you how we fix that opencart 3.x seo issue.
step 1 - open your ftp and go to this path catalog/controller/startup
step 2 - open seo_url.php for edit
step 3 - line no 87 we have to put one more else if
code :

Code: Select all

				} 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 .= '/'; 
				  	} 
end code :
step 4 - rename .htaccess.txt to .htaccess


***THIS VIDEO FOR DEVELOPERS ONLY***
Clicke Here for Video Demo
https://goo.gl/iUEzGL