Post by ChinmayBhatta » 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.

Newbie

Posts

Joined
Wed Mar 08, 2017 7:16 pm

Post by JNeuhoff » Wed Aug 02, 2017 12:00 am

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'.

MHC Web Design
Override Engine * Integrated VQMod * Multilingual SEO * Instant Option Price Calculator * TrustPilot Reviews * Download Options * Free Download Buttons * Export/Import Tool * Template Switcher PHP/Twig


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by dogart » 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.

New member

Posts

Joined
Tue Aug 15, 2017 9:58 pm

Post by pvhari » Tue Sep 19, 2017 10:53 pm

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

Newbie

Posts

Joined
Wed Nov 27, 2013 2:15 am

Post by sainent » Fri Sep 22, 2017 11:49 pm

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

Attachments

seo issue fix 2.png

seo issue fix 2.png (22.93 KiB) Viewed 201 times

seo issue 1.png

seo issue 1.png (20.56 KiB) Viewed 201 times

SEO URL issue fix banner.png

SEO URL issue fix banner.png (17.95 KiB) Viewed 201 times


User avatar
Newbie

Posts

Joined
Sat Jul 15, 2017 2:28 pm
Who is online

Users browsing this forum: dwains and 10 guests