Page 1 of 1

SEO contact page [Solved]

Posted: Wed Feb 15, 2017 12:18 am
by fierceviper
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

Re: SEO contact page

Posted: Wed Feb 15, 2017 4:50 am
by JDECLEMENTI
in your Database goto url_alias insert query:information/contact keyword:Contact . this will change it

Re: SEO contact page

Posted: Wed Feb 15, 2017 5:55 am
by fierceviper
Thanks, this worked!

Re: SEO contact page [Solved]

Posted: Sun Feb 19, 2017 11:18 am
by Dreamvention
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.

Re: SEO contact page [Solved]

Posted: Tue Aug 07, 2018 2:25 pm
by ramkstha522
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

Re: SEO contact page [Solved]

Posted: Mon Jan 23, 2023 12:51 am
by sajuk
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.

Re: SEO contact page [Solved]

Posted: Thu Mar 23, 2023 6:48 pm
by Athanasios.G.D
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)