Post by fierceviper » Wed Feb 15, 2017 12:18 am

I have enabled SEO urls and only the contact page still shows as: upload/index.php?route=information/contact
Where can I change this to something that has just /contact
Last edited by fierceviper on Wed Feb 15, 2017 5:56 am, edited 1 time in total.

New member

Posts

Joined
Sun Jan 15, 2017 9:32 am

Post by JDECLEMENTI » Wed Feb 15, 2017 4:50 am

in your Database goto url_alias insert query:information/contact keyword:Contact . this will change it

Newbie

Posts

Joined
Fri Jan 20, 2017 11:51 pm

Post by fierceviper » Wed Feb 15, 2017 5:55 am

Thanks, this worked!

New member

Posts

Joined
Sun Jan 15, 2017 9:32 am

Post by Dreamvention » Sun Feb 19, 2017 11:18 am

In case you ever think of adding the SEO Url to all custom pages - we have you covered with SEO module URL

https://www.opencart.com/index.php?rout ... search=dsm

it also takes care of breadcrumbs , url generation and more.

Many OpenCart users struggle to find quality extensions. We know how frustrating the need to fix the shop is just because of one poorly coded extension. We created quality OpenCart Extensions, tested by real developers and provide professional support.

AJAX QUICK CHECKOUT - #1 one-page checkout solution
VISUAL DESIGNER - Page builder for Opencart
View more extensions here

Tested by Shopunity.net


User avatar
Administrator

Posts

Joined
Sun Jun 17, 2012 7:04 pm
Location - Europe

Post by ramkstha522 » Tue Aug 07, 2018 2:25 pm

Goto
catalog>controller>startup>seo_url.php
Goto line no 78.
Paste the following code:
$q=$this->db->query("SELECT keyword FROM " . DB_PREFIX . "seo_url WHERE query='$value'");
if($q->row){
$url .= '/' . $q->row['keyword'];
}
for the contact seo url
Goto admin of open cart
Design>SEO URL
add new seo url
for contact put the following
query=information/contact
keyword=contact-us

Newbie

Posts

Joined
Tue Aug 07, 2018 2:17 pm

Post by sajuk » Mon Jan 23, 2023 12:51 am

There is another way, in OC 3.0.2.0

Go to Admin > Design - > SEO Url
Add a new query
in "Query" field >- information/contact
in "Keyword" field > contact-us

New url for contact page should:- yoursite.com/contact-us

Done.

New member

Posts

Joined
Tue Feb 07, 2017 7:10 pm

Post by Athanasios.G.D » Thu Mar 23, 2023 6:48 pm

Hello...

This works with one language. What to do when you have a second language, and you have an error, "Query already in use!" ???
(OC 3.0.3.8)


Posts

Joined
Mon Feb 19, 2018 3:09 am
Who is online

Users browsing this forum: No registered users and 23 guests