Page 2 of 2
Re: SEO URL in SUBDOMAIN HELP
Posted: Fri Mar 29, 2019 2:28 am
by msanjay
msanjay wrote: ↑Fri Mar 29, 2019 1:40 am
letxobnav wrote: ↑Thu Mar 28, 2019 7:57 am
looks ok, you can remove those statements and in the same function you will find:
Code: Select all
if ($url) {
unset($data['route']);
add after that put:
What this function does is look at your links in non-seo style and try to find the seo keywords in the database that match the route/get parameters (the ones you echoed out in the previous post).
if it finds those keywords, it will construct the seo url with them and return that url to be written in your html output instead of the normal non-seo url.
It will only do so if it finds those keywords.
That if ($url) statement checks if it was successful in creating the seo url.
so the echo $url statement should print out the seo url's if it could construct them.
if nothing is printed, you know it cannot find the keywords for the seo links for the store-language id's
Hi, print out is only this:
/acerca_nos/entrega/pagamentos
and this keywords already working well on footer 1st column. it means Seo url process not adding keywords on database when i add keywords for other links, right?
what i should do?
863 0 2 information_id=4 acerca_nos
864 0 1 information_id=4 about_us
875 0 1 information_id=6 delivery
869 0 1 information_id=5 terms
873 0 1 information_id=3 payments
899 0 1 product_id=166 afiadores
898 0 2 product_id=166 afiador
893 0 1 category_id=85 scissor
891 0 1 category_id=79 pen
890 0 2 category_id=79 canetas
892 0 2 category_id=85 tesouras
874 0 2 information_id=6 entrega
872 0 2 information_id=3 pagamentos
868 0 2 information_id=5 termos
This is database table rows of
oc_seo_url table
yesterday i added new seo keyword, as try and i can see it is added in database, id number 898
afiador
but top menu is not updating with it..
this is link for that keyword... (
http://loja.okcomputersmz.com/index.php ... ath=71_113)
Re: SEO URL in SUBDOMAIN HELP
Posted: Fri Mar 29, 2019 2:30 am
by msanjay
msanjay wrote: ↑Fri Mar 29, 2019 2:28 am
msanjay wrote: ↑Fri Mar 29, 2019 1:40 am
letxobnav wrote: ↑Thu Mar 28, 2019 7:57 am
looks ok, you can remove those statements and in the same function you will find:
Code: Select all
if ($url) {
unset($data['route']);
add after that put:
What this function does is look at your links in non-seo style and try to find the seo keywords in the database that match the route/get parameters (the ones you echoed out in the previous post).
if it finds those keywords, it will construct the seo url with them and return that url to be written in your html output instead of the normal non-seo url.
It will only do so if it finds those keywords.
That if ($url) statement checks if it was successful in creating the seo url.
so the echo $url statement should print out the seo url's if it could construct them.
if nothing is printed, you know it cannot find the keywords for the seo links for the store-language id's
Hi, print out is only this:
/acerca_nos/entrega/pagamentos
and this keywords already working well on footer 1st column. it means Seo url process not adding keywords on database when i add keywords for other links, right?
what i should do?
863 0 2 information_id=4 acerca_nos
864 0 1 information_id=4 about_us
875 0 1 information_id=6 delivery
869 0 1 information_id=5 terms
873 0 1 information_id=3 payments
899 0 1 product_id=166 afiadores
898 0 2 product_id=166 afiador
893 0 1 category_id=85 scissor
891 0 1 category_id=79 pen
890 0 2 category_id=79 canetas
892 0 2 category_id=85 tesouras
874 0 2 information_id=6 entrega
872 0 2 information_id=3 pagamentos
868 0 2 information_id=5 termos
This is database table rows of
oc_seo_url table
yesterday i added new seo keyword, as try and i can see it is added in database, id number 898
afiador
but top menu is not updating with it..
this is link for that keyword... (
http://loja.okcomputersmz.com/index.php ... ath=71_113)
I installed an SEO Extension.. and it works well... but i don't want use extensions, because most of them most of time have bad codes...
Re: SEO URL in SUBDOMAIN HELP
Posted: Fri Mar 29, 2019 4:26 am
by msanjay
Hi, I installed a seo extension and tested .. working fine. Now Then removed it. Now seo URL on products started working fine without extra extension.
But category seo url not working...
Re: SEO URL in SUBDOMAIN HELP
Posted: Fri Mar 29, 2019 11:18 am
by letxobnav
yes, it means that OC was only able to construct that seo url from the originals on your page and could not construct any of the rest.
so that may mean that there is something wrong with the keyword queries or your keyword/query settings.
Re: SEO URL in SUBDOMAIN HELP
Posted: Fri Mar 29, 2019 1:56 pm
by msanjay
letxobnav wrote: ↑Fri Mar 29, 2019 11:18 am
yes, it means that OC was only able to construct that seo url from the originals on your page and could not construct any of the rest.
so that may mean that there is something wrong with the keyword queries or your keyword/query settings.
since fresh installation was not working..
what i should do?
Re: SEO URL in SUBDOMAIN HELP
Posted: Fri Mar 29, 2019 3:51 pm
by letxobnav
can you check:
admin->design->seo url
check the listings there for store & language setting
and
product_id=xxx
category_id=xxx
etc.
Re: SEO URL in SUBDOMAIN HELP
Posted: Fri Mar 29, 2019 8:56 pm
by msanjay
letxobnav wrote: ↑Fri Mar 29, 2019 3:51 pm
can you check:
admin->design->seo url
check the listings there for store & language setting
and
product_id=xxx
category_id=xxx
etc.
product_id=xxx ... working
category_id=xxx ... not working
Re: SEO URL in SUBDOMAIN HELP
Posted: Fri Mar 29, 2019 9:16 pm
by letxobnav
well, why did you not tell me you installed an SEO URL extension?
first add seo keywords to all your categories, then test again.
Re: SEO URL in SUBDOMAIN HELP
Posted: Sat Mar 30, 2019 2:12 pm
by msanjay
letxobnav wrote: ↑Fri Mar 29, 2019 9:16 pm
well, why did you not tell me you installed an SEO URL extension?
first add seo keywords to all your categories, then test again.
My friend, i installed later just to try just to check if with extension works or not..... then i removed..