Page 1 of 2

SEO URL in SUBDOMAIN HELP

Posted: Mon Mar 25, 2019 2:19 pm
by msanjay
HI, i need help to configure htaccess file.. so SEO URL can work well

My home directory is /htdocs/
Hi, i have subdomain, folder pointed in folder /xxx/ (same level as home directory) where opencart is installed..
my htaccess codes are:

Options +FollowSymlinks
Options -Indexes
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]


Note: htaccess is located in same folder where is installed opencart (/xxx/)

NEED Help... please...

Re: SEO URL in SUBDOMAIN HELP

Posted: Mon Mar 25, 2019 7:16 pm
by paulfeakins
Change this line to this:

Code: Select all

RewriteBase /xxx/

Re: SEO URL in SUBDOMAIN HELP

Posted: Mon Mar 25, 2019 7:36 pm
by msanjay
paulfeakins wrote:
Mon Mar 25, 2019 7:16 pm
Change this line to this:

Code: Select all

RewriteBase /xxx/
Hi, i did try this before but not working...
My home directory is /htdocs/
if i install opencart in /htdocs/xxx/

then

Code: Select all

RewriteBase /xxx/
works fine

but my case is different
my opencart is in same lever of home directory : /xxx/

thats why having problems....

Re: SEO URL in SUBDOMAIN HELP

Posted: Mon Mar 25, 2019 7:47 pm
by msanjay
msanjay wrote:
Mon Mar 25, 2019 7:36 pm
paulfeakins wrote:
Mon Mar 25, 2019 7:16 pm
Change this line to this:

Code: Select all

RewriteBase /xxx/
Hi, i did try this before but not working...
My home directory is /htdocs/
if i install opencart in /htdocs/xxx/

then

Code: Select all

RewriteBase /xxx/
works fine

but my case is different
my opencart is in same lever of home directory : /xxx/

thats why having problems....
Note: I am clearing cache after make changes...

Re: SEO URL in SUBDOMAIN HELP

Posted: Tue Mar 26, 2019 12:30 am
by letxobnav
your htaccess file has nothing to do with SEO URL's

Re: SEO URL in SUBDOMAIN HELP

Posted: Tue Mar 26, 2019 12:39 am
by uksitebuilder
Of course it does, it passes the SEO Keywords to index.php via a $route variable.

To the OP, your .htaccess file looks to be correct if your domain/subdomain is pointing to the folder where opencart is installed.

Are you by any chance running a different web server than Apache, such as NGinX ?

Re: SEO URL in SUBDOMAIN HELP

Posted: Tue Mar 26, 2019 1:04 am
by letxobnav
the htaccess file passes anything it cannot directly locate, directory or file to index.php, whether it is an SEO url or a non-SEO url.

SEO URL translations into get variables is handled by opencart itself, not by the web server.

Re: SEO URL in SUBDOMAIN HELP

Posted: Tue Mar 26, 2019 1:52 pm
by msanjay
uksitebuilder wrote:
Tue Mar 26, 2019 12:39 am
Of course it does, it passes the SEO Keywords to index.php via a $route variable.

To the OP, your .htaccess file looks to be correct if your domain/subdomain is pointing to the folder where opencart is installed.

Are you by any chance running a different web server than Apache, such as NGinX ?
hosting provider running Apache/2

Re: SEO URL in SUBDOMAIN HELP

Posted: Tue Mar 26, 2019 3:44 pm
by uksitebuilder
So, when you visit subdomain.yourdomain.com OpenCart loads

Or is it subdomain/yourdomain.com/subfolder/ ?

Re: SEO URL in SUBDOMAIN HELP

Posted: Tue Mar 26, 2019 5:55 pm
by msanjay
uksitebuilder wrote:
Tue Mar 26, 2019 3:44 pm
So, when you visit subdomain.yourdomain.com OpenCart loads

Or is it subdomain/yourdomain.com/subfolder/ ?
when i enter in subdomain.yourdomain.com, all works fine, just SEO URL not working well..
i can give an example,,,
http://loja.okcomputersmz.com/index.php ... path=71_79
http://loja.okcomputersmz.com/canetas
different URL goes to same category, but SEO URL is not changing links on top MENU.

Re: SEO URL in SUBDOMAIN HELP

Posted: Tue Mar 26, 2019 6:10 pm
by uksitebuilder
Does the parent category of Pens have a SEO URL (Keyword) assigned to it ?

You should make sure all categories, products, info pages and manufacturers have unique SEO Keywords assigned to them.

There are probably free extensions that will auto populate those for you if you don’t wish to do them all manually, one by one.

Re: SEO URL in SUBDOMAIN HELP

Posted: Tue Mar 26, 2019 6:39 pm
by paulfeakins
msanjay wrote:
Tue Mar 26, 2019 5:55 pm
when i enter in subdomain.yourdomain.com, all works fine, just SEO URL not working well..
i can give an example,,,
http://loja.okcomputersmz.com/index.php ... path=71_79
http://loja.okcomputersmz.com/canetas
Seems to work now?

Re: SEO URL in SUBDOMAIN HELP

Posted: Wed Mar 27, 2019 5:45 am
by msanjay
uksitebuilder wrote:
Tue Mar 26, 2019 6:10 pm
Does the parent category of Pens have a SEO URL (Keyword) assigned to it ?

You should make sure all categories, products, info pages and manufacturers have unique SEO Keywords assigned to them.

There are probably free extensions that will auto populate those for you if you don’t wish to do them all manually, one by one.
I try to add SEO, it works if I know seo name used. But public not able to see because menus and links are not being updated with SEO. I hope made you understand...
The example of pens.. if you enter on webpage, you pass mouse, links are not in SEO mode, but I added unique SEO on many...

Re: SEO URL in SUBDOMAIN HELP

Posted: Wed Mar 27, 2019 5:47 am
by msanjay
paulfeakins wrote:
Tue Mar 26, 2019 6:39 pm
msanjay wrote:
Tue Mar 26, 2019 5:55 pm
when i enter in subdomain.yourdomain.com, all works fine, just SEO URL not working well..
i can give an example,,,
http://loja.okcomputersmz.com/index.php ... path=71_79
http://loja.okcomputersmz.com/canetas
Seems to work now?
Not working..
See what I comment in my last post when explaining ....

Re: SEO URL in SUBDOMAIN HELP

Posted: Wed Mar 27, 2019 7:43 am
by uksitebuilder
I see what you mean.

Unfortunately, I do not know the answer as to why this is happening.

I can see your footer links are working for 'About us' page

I'm afraid you will need to employ the services of an OpenCart developer, either via the Commercial Support forum, Dedicated Support or OpenCart Partners pages

Re: SEO URL in SUBDOMAIN HELP

Posted: Wed Mar 27, 2019 8:09 am
by letxobnav
you could try in catalog/controller/startup/seo_url.php in public function rewrite


just before:

Code: Select all

foreach ($data as $key => $value) {
add

Code: Select all

error_log($link);
error_log('rewrite data: ' .print_r($data,true));
to write to your error log or

Code: Select all

echo $link;
echo '<pre>rewrite data: ' .print_r($data,true).'</pre>';
to put it on your screen.

and see what it says.

Re: SEO URL in SUBDOMAIN HELP

Posted: Thu Mar 28, 2019 2:50 am
by msanjay
letxobnav wrote:
Wed Mar 27, 2019 8:09 am
you could try in catalog/controller/startup/seo_url.php in public function rewrite


just before:

Code: Select all

foreach ($data as $key => $value) {
add

Code: Select all

error_log($link);
error_log('rewrite data: ' .print_r($data,true));
to write to your error log or

Code: Select all

echo $link;
echo '<pre>rewrite data: ' .print_r($data,true).'</pre>';
to put it on your screen.

and see what it says.
HI, here is:

http://loja.okcomputersmz.com/index.php ... duct_id=88
rewrite data: Array
(
[route] => product/product
[product_id] => 88
)
http://loja.okcomputersmz.com/index.php ... duct_id=97
rewrite data: Array
(
[route] => product/product
[product_id] => 97
)
http://loja.okcomputersmz.com/index.php ... duct_id=92
rewrite data: Array
(
[route] => product/product
[product_id] => 92
)
http://loja.okcomputersmz.com/index.php ... uct_id=216
rewrite data: Array
(
[route] => product/product
[product_id] => 216
)
http://loja.okcomputersmz.com/index.php ... uct_id=215
rewrite data: Array
(
[route] => product/product
[product_id] => 215
)
http://loja.okcomputersmz.com/index.php ... uct_id=214
rewrite data: Array
(
[route] => product/product
[product_id] => 214
)
http://loja.okcomputersmz.com/index.php ... uct_id=213
rewrite data: Array
(
[route] => product/product
[product_id] => 213
)
http://loja.okcomputersmz.com/index.php ... ation_id=4
rewrite data: Array
(
[route] => information/information
[information_id] => 4
)
http://loja.okcomputersmz.com/index.php ... ation_id=6
rewrite data: Array
(
[route] => information/information
[information_id] => 6
)
http://loja.okcomputersmz.com/index.php ... ation_id=3
rewrite data: Array
(
[route] => information/information
[information_id] => 3
)
http://loja.okcomputersmz.com/index.php ... on/contact
rewrite data: Array
(
[route] => information/contact
)
http://loja.okcomputersmz.com/index.php ... return/add
rewrite data: Array
(
[route] => account/return/add
)
http://loja.okcomputersmz.com/index.php ... on/sitemap
rewrite data: Array
(
[route] => information/sitemap
)
http://loja.okcomputersmz.com/index.php ... n/tracking
rewrite data: Array
(
[route] => information/tracking
)
http://loja.okcomputersmz.com/index.php ... nufacturer
rewrite data: Array
(
[route] => product/manufacturer
)
http://loja.okcomputersmz.com/index.php ... nt/voucher
rewrite data: Array
(
[route] => account/voucher
)
http://loja.okcomputersmz.com/index.php ... iate/login
rewrite data: Array
(
[route] => affiliate/login
)
http://loja.okcomputersmz.com/index.php ... ct/special
rewrite data: Array
(
[route] => product/special
)
http://loja.okcomputersmz.com/index.php ... nt/account
rewrite data: Array
(
[route] => account/account
)
http://loja.okcomputersmz.com/index.php ... ount/order
rewrite data: Array
(
[route] => account/order
)
http://loja.okcomputersmz.com/index.php ... t/wishlist
rewrite data: Array
(
[route] => account/wishlist
)
http://loja.okcomputersmz.com/index.php ... newsletter
rewrite data: Array
(
[route] => account/newsletter
)
http://loja.okcomputersmz.com/index.php ... nt/account
rewrite data: Array
(
[route] => account/account
)
http://loja.okcomputersmz.com/index.php ... unt/logout
rewrite data: Array
(
[route] => account/logout
)
http://loja.okcomputersmz.com/index.php ... ommon/home
rewrite data: Array
(
[route] => common/home
)
http://loja.okcomputersmz.com/index.php ... t/wishlist
rewrite data: Array
(
[route] => account/wishlist
)
http://loja.okcomputersmz.com/index.php ... nt/account
rewrite data: Array
(
[route] => account/account
)
http://loja.okcomputersmz.com/index.php ... t/register
rewrite data: Array
(
[route] => account/register
)
http://loja.okcomputersmz.com/index.php ... ount/login
rewrite data: Array
(
[route] => account/login
)
http://loja.okcomputersmz.com/index.php ... ount/order
rewrite data: Array
(
[route] => account/order
)
http://loja.okcomputersmz.com/index.php ... ransaction
rewrite data: Array
(
[route] => account/transaction
)
http://loja.okcomputersmz.com/index.php ... t/download
rewrite data: Array
(
[route] => account/download
)
http://loja.okcomputersmz.com/index.php ... unt/logout
rewrite data: Array
(
[route] => account/logout
)
http://loja.okcomputersmz.com/index.php ... ckout/cart
rewrite data: Array
(
[route] => checkout/cart
)
http://loja.okcomputersmz.com/index.php ... t/checkout
rewrite data: Array
(
[route] => checkout/checkout
)
http://loja.okcomputersmz.com/index.php ... on/contact
rewrite data: Array
(
[route] => information/contact
)
http://loja.okcomputersmz.com/index.php ... e/language
rewrite data: Array
(
[route] => common/language/language
)
http://loja.okcomputersmz.com/index.php ... ommon/home
rewrite data: Array
(
[route] => common/home
)
http://loja.okcomputersmz.com/index.php ... y/currency
rewrite data: Array
(
[route] => common/currency/currency
)
http://loja.okcomputersmz.com/index.php ... ommon/home
rewrite data: Array
(
[route] => common/home
)
http://loja.okcomputersmz.com/index.php ... ckout/cart
rewrite data: Array
(
[route] => checkout/cart
)
http://loja.okcomputersmz.com/index.php ... t/checkout
rewrite data: Array
(
[route] => checkout/checkout
)
http://loja.okcomputersmz.com/index.php ... ry&path=81
rewrite data: Array
(
[route] => product/category
[path] => 81
)
http://loja.okcomputersmz.com/index.php ... ath=98_100
rewrite data: Array
(
[route] => product/category
[path] => 98_100
)
http://loja.okcomputersmz.com/index.php ... ath=98_125
rewrite data: Array
(
[route] => product/category
[path] => 98_125
)
http://loja.okcomputersmz.com/index.php ... path=98_97
rewrite data: Array
(
[route] => product/category
[path] => 98_97
)
http://loja.okcomputersmz.com/index.php ... ath=98_111
rewrite data: Array
(
[route] => product/category
[path] => 98_111
)
http://loja.okcomputersmz.com/index.php ... ath=98_110
rewrite data: Array
(
[route] => product/category
[path] => 98_110
)
http://loja.okcomputersmz.com/index.php ... ath=98_117
rewrite data: Array
(
[route] => product/category
[path] => 98_117
)
http://loja.okcomputersmz.com/index.php ... ry&path=98
rewrite data: Array
(
[route] => product/category
[path] => 98
)
http://loja.okcomputersmz.com/index.php ... ath=71_135
rewrite data: Array
(
[route] => product/category
[path] => 71_135
)
http://loja.okcomputersmz.com/index.php ... ath=71_113
rewrite data: Array
(
[route] => product/category
[path] => 71_113
)
http://loja.okcomputersmz.com/index.php ... path=71_74
rewrite data: Array
(
[route] => product/category
[path] => 71_74
)
http://loja.okcomputersmz.com/index.php ... path=71_79
rewrite data: Array
(
[route] => product/category
[path] => 71_79
)
http://loja.okcomputersmz.com/index.php ... path=71_72
rewrite data: Array
(
[route] => product/category
[path] => 71_72
)
http://loja.okcomputersmz.com/index.php ... path=71_76
rewrite data: Array
(
[route] => product/category
[path] => 71_76
)
http://loja.okcomputersmz.com/index.php ... ath=71_120
rewrite data: Array
(
[route] => product/category
[path] => 71_120
)
http://loja.okcomputersmz.com/index.php ... ath=71_102
rewrite data: Array
(
[route] => product/category
[path] => 71_102
)
http://loja.okcomputersmz.com/index.php ... path=71_73
rewrite data: Array
(
[route] => product/category
[path] => 71_73
)
http://loja.okcomputersmz.com/index.php ... ath=71_130
rewrite data: Array
(
[route] => product/category
[path] => 71_130
)
http://loja.okcomputersmz.com/index.php ... ath=71_123
rewrite data: Array
(
[route] => product/category
[path] => 71_123
)
http://loja.okcomputersmz.com/index.php ... path=71_78
rewrite data: Array
(
[route] => product/category
[path] => 71_78
)
http://loja.okcomputersmz.com/index.php ... ath=71_105
rewrite data: Array
(
[route] => product/category
[path] => 71_105
)
http://loja.okcomputersmz.com/index.php ... path=71_75
rewrite data: Array
(
[route] => product/category
[path] => 71_75
)
http://loja.okcomputersmz.com/index.php ... ath=71_112
rewrite data: Array
(
[route] => product/category
[path] => 71_112
)
http://loja.okcomputersmz.com/index.php ... ath=71_104
rewrite data: Array
(
[route] => product/category
[path] => 71_104
)
http://loja.okcomputersmz.com/index.php ... ath=71_103
rewrite data: Array
(
[route] => product/category
[path] => 71_103
)
http://loja.okcomputersmz.com/index.php ... path=71_85
rewrite data: Array
(
[route] => product/category
[path] => 71_85
)
http://loja.okcomputersmz.com/index.php ... ry&path=71
rewrite data: Array
(
[route] => product/category
[path] => 71
)
http://loja.okcomputersmz.com/index.php ... path=87_95
rewrite data: Array
(
[route] => product/category
[path] => 87_95
)
http://loja.okcomputersmz.com/index.php ... ath=87_108
rewrite data: Array
(
[route] => product/category
[path] => 87_108
)
http://loja.okcomputersmz.com/index.php ... path=87_92
rewrite data: Array
(
[route] => product/category
[path] => 87_92
)
http://loja.okcomputersmz.com/index.php ... ath=87_121
rewrite data: Array
(
[route] => product/category
[path] => 87_121
)
http://loja.okcomputersmz.com/index.php ... ath=87_106
rewrite data: Array
(
[route] => product/category
[path] => 87_106
)
http://loja.okcomputersmz.com/index.php ... path=87_86
rewrite data: Array
(
[route] => product/category
[path] => 87_86
)
http://loja.okcomputersmz.com/index.php ... path=87_83
rewrite data: Array
(
[route] => product/category
[path] => 87_83
)
http://loja.okcomputersmz.com/index.php ... path=87_84
rewrite data: Array
(
[route] => product/category
[path] => 87_84
)
http://loja.okcomputersmz.com/index.php ... path=87_64
rewrite data: Array
(
[route] => product/category
[path] => 87_64
)
http://loja.okcomputersmz.com/index.php ... ath=87_118
rewrite data: Array
(
[route] => product/category
[path] => 87_118
)
http://loja.okcomputersmz.com/index.php ... ath=87_116
rewrite data: Array
(
[route] => product/category
[path] => 87_116
)
http://loja.okcomputersmz.com/index.php ... ath=87_129
rewrite data: Array
(
[route] => product/category
[path] => 87_129
)
http://loja.okcomputersmz.com/index.php ... path=87_93
rewrite data: Array
(
[route] => product/category
[path] => 87_93
)
http://loja.okcomputersmz.com/index.php ... path=87_63
rewrite data: Array
(
[route] => product/category
[path] => 87_63
)
http://loja.okcomputersmz.com/index.php ... path=87_99
rewrite data: Array
(
[route] => product/category
[path] => 87_99
)
http://loja.okcomputersmz.com/index.php ... path=87_96
rewrite data: Array
(
[route] => product/category
[path] => 87_96
)
http://loja.okcomputersmz.com/index.php ... ath=87_119
rewrite data: Array
(
[route] => product/category
[path] => 87_119
)
http://loja.okcomputersmz.com/index.php ... path=87_59
rewrite data: Array
(
[route] => product/category
[path] => 87_59
)
http://loja.okcomputersmz.com/index.php ... ry&path=87
rewrite data: Array
(
[route] => product/category
[path] => 87
)
http://loja.okcomputersmz.com/index.php ... path=65_89
rewrite data: Array
(
[route] => product/category
[path] => 65_89
)
http://loja.okcomputersmz.com/index.php ... path=65_66
rewrite data: Array
(
[route] => product/category
[path] => 65_66
)
http://loja.okcomputersmz.com/index.php ... path=65_67
rewrite data: Array
(
[route] => product/category
[path] => 65_67
)
http://loja.okcomputersmz.com/index.php ... path=65_69
rewrite data: Array
(
[route] => product/category
[path] => 65_69
)
http://loja.okcomputersmz.com/index.php ... ath=65_128
rewrite data: Array
(
[route] => product/category
[path] => 65_128
)
http://loja.okcomputersmz.com/index.php ... ry&path=65
rewrite data: Array
(
[route] => product/category
[path] => 65
)
http://loja.okcomputersmz.com/index.php ... th=127_109
rewrite data: Array
(
[route] => product/category
[path] => 127_109
)
http://loja.okcomputersmz.com/index.php ... y&path=127
rewrite data: Array
(
[route] => product/category
[path] => 127
)
http://loja.okcomputersmz.com/index.php ... ath=70_122
rewrite data: Array
(
[route] => product/category
[path] => 70_122
)
http://loja.okcomputersmz.com/index.php ... ath=70_133
rewrite data: Array
(
[route] => product/category
[path] => 70_133
)
http://loja.okcomputersmz.com/index.php ... ath=70_131
rewrite data: Array
(
[route] => product/category
[path] => 70_131
)
http://loja.okcomputersmz.com/index.php ... ath=70_132
rewrite data: Array
(
[route] => product/category
[path] => 70_132
)
http://loja.okcomputersmz.com/index.php ... ry&path=70
rewrite data: Array
(
[route] => product/category
[path] => 70
)


This is print out.

Re: SEO URL in SUBDOMAIN HELP

Posted: Thu Mar 28, 2019 3:03 am
by msanjay
msanjay wrote:
Thu Mar 28, 2019 2:50 am
letxobnav wrote:
Wed Mar 27, 2019 8:09 am
you could try in catalog/controller/startup/seo_url.php in public function rewrite


just before:

Code: Select all

foreach ($data as $key => $value) {
add

Code: Select all

error_log($link);
error_log('rewrite data: ' .print_r($data,true));
to write to your error log or

Code: Select all

echo $link;
echo '<pre>rewrite data: ' .print_r($data,true).'</pre>';
to put it on your screen.

and see what it says.
HI, here is:

http://loja.okcomputersmz.com/index.php ... duct_id=88
rewrite data: Array
(
[route] => product/product
[product_id] => 88
)
http://loja.okcomputersmz.com/index.php ... duct_id=97
rewrite data: Array
(
[route] => product/product
[product_id] => 97
)
http://loja.okcomputersmz.com/index.php ... duct_id=92
rewrite data: Array
(
[route] => product/product
[product_id] => 92
)
http://loja.okcomputersmz.com/index.php ... uct_id=216
rewrite data: Array
(
[route] => product/product
[product_id] => 216
)
http://loja.okcomputersmz.com/index.php ... uct_id=215
rewrite data: Array
(
[route] => product/product
[product_id] => 215
)
http://loja.okcomputersmz.com/index.php ... uct_id=214
rewrite data: Array
(
[route] => product/product
[product_id] => 214
)
http://loja.okcomputersmz.com/index.php ... uct_id=213
rewrite data: Array
(
[route] => product/product
[product_id] => 213
)
http://loja.okcomputersmz.com/index.php ... ation_id=4
rewrite data: Array
(
[route] => information/information
[information_id] => 4
)
http://loja.okcomputersmz.com/index.php ... ation_id=6
rewrite data: Array
(
[route] => information/information
[information_id] => 6
)
http://loja.okcomputersmz.com/index.php ... ation_id=3
rewrite data: Array
(
[route] => information/information
[information_id] => 3
)
http://loja.okcomputersmz.com/index.php ... on/contact
rewrite data: Array
(
[route] => information/contact
)
http://loja.okcomputersmz.com/index.php ... return/add
rewrite data: Array
(
[route] => account/return/add
)
http://loja.okcomputersmz.com/index.php ... on/sitemap
rewrite data: Array
(
[route] => information/sitemap
)
http://loja.okcomputersmz.com/index.php ... n/tracking
rewrite data: Array
(
[route] => information/tracking
)
http://loja.okcomputersmz.com/index.php ... nufacturer
rewrite data: Array
(
[route] => product/manufacturer
)
http://loja.okcomputersmz.com/index.php ... nt/voucher
rewrite data: Array
(
[route] => account/voucher
)
http://loja.okcomputersmz.com/index.php ... iate/login
rewrite data: Array
(
[route] => affiliate/login
)
http://loja.okcomputersmz.com/index.php ... ct/special
rewrite data: Array
(
[route] => product/special
)
http://loja.okcomputersmz.com/index.php ... nt/account
rewrite data: Array
(
[route] => account/account
)
http://loja.okcomputersmz.com/index.php ... ount/order
rewrite data: Array
(
[route] => account/order
)
http://loja.okcomputersmz.com/index.php ... t/wishlist
rewrite data: Array
(
[route] => account/wishlist
)
http://loja.okcomputersmz.com/index.php ... newsletter
rewrite data: Array
(
[route] => account/newsletter
)
http://loja.okcomputersmz.com/index.php ... nt/account
rewrite data: Array
(
[route] => account/account
)
http://loja.okcomputersmz.com/index.php ... unt/logout
rewrite data: Array
(
[route] => account/logout
)
http://loja.okcomputersmz.com/index.php ... ommon/home
rewrite data: Array
(
[route] => common/home
)
http://loja.okcomputersmz.com/index.php ... t/wishlist
rewrite data: Array
(
[route] => account/wishlist
)
http://loja.okcomputersmz.com/index.php ... nt/account
rewrite data: Array
(
[route] => account/account
)
http://loja.okcomputersmz.com/index.php ... t/register
rewrite data: Array
(
[route] => account/register
)
http://loja.okcomputersmz.com/index.php ... ount/login
rewrite data: Array
(
[route] => account/login
)
http://loja.okcomputersmz.com/index.php ... ount/order
rewrite data: Array
(
[route] => account/order
)
http://loja.okcomputersmz.com/index.php ... ransaction
rewrite data: Array
(
[route] => account/transaction
)
http://loja.okcomputersmz.com/index.php ... t/download
rewrite data: Array
(
[route] => account/download
)
http://loja.okcomputersmz.com/index.php ... unt/logout
rewrite data: Array
(
[route] => account/logout
)
http://loja.okcomputersmz.com/index.php ... ckout/cart
rewrite data: Array
(
[route] => checkout/cart
)
http://loja.okcomputersmz.com/index.php ... t/checkout
rewrite data: Array
(
[route] => checkout/checkout
)
http://loja.okcomputersmz.com/index.php ... on/contact
rewrite data: Array
(
[route] => information/contact
)
http://loja.okcomputersmz.com/index.php ... e/language
rewrite data: Array
(
[route] => common/language/language
)
http://loja.okcomputersmz.com/index.php ... ommon/home
rewrite data: Array
(
[route] => common/home
)
http://loja.okcomputersmz.com/index.php ... y/currency
rewrite data: Array
(
[route] => common/currency/currency
)
http://loja.okcomputersmz.com/index.php ... ommon/home
rewrite data: Array
(
[route] => common/home
)
http://loja.okcomputersmz.com/index.php ... ckout/cart
rewrite data: Array
(
[route] => checkout/cart
)
http://loja.okcomputersmz.com/index.php ... t/checkout
rewrite data: Array
(
[route] => checkout/checkout
)
http://loja.okcomputersmz.com/index.php ... ry&path=81
rewrite data: Array
(
[route] => product/category
[path] => 81
)
http://loja.okcomputersmz.com/index.php ... ath=98_100
rewrite data: Array
(
[route] => product/category
[path] => 98_100
)
http://loja.okcomputersmz.com/index.php ... ath=98_125
rewrite data: Array
(
[route] => product/category
[path] => 98_125
)
http://loja.okcomputersmz.com/index.php ... path=98_97
rewrite data: Array
(
[route] => product/category
[path] => 98_97
)
http://loja.okcomputersmz.com/index.php ... ath=98_111
rewrite data: Array
(
[route] => product/category
[path] => 98_111
)
http://loja.okcomputersmz.com/index.php ... ath=98_110
rewrite data: Array
(
[route] => product/category
[path] => 98_110
)
http://loja.okcomputersmz.com/index.php ... ath=98_117
rewrite data: Array
(
[route] => product/category
[path] => 98_117
)
http://loja.okcomputersmz.com/index.php ... ry&path=98
rewrite data: Array
(
[route] => product/category
[path] => 98
)
http://loja.okcomputersmz.com/index.php ... ath=71_135
rewrite data: Array
(
[route] => product/category
[path] => 71_135
)
http://loja.okcomputersmz.com/index.php ... ath=71_113
rewrite data: Array
(
[route] => product/category
[path] => 71_113
)
http://loja.okcomputersmz.com/index.php ... path=71_74
rewrite data: Array
(
[route] => product/category
[path] => 71_74
)
http://loja.okcomputersmz.com/index.php ... path=71_79
rewrite data: Array
(
[route] => product/category
[path] => 71_79
)
http://loja.okcomputersmz.com/index.php ... path=71_72
rewrite data: Array
(
[route] => product/category
[path] => 71_72
)
http://loja.okcomputersmz.com/index.php ... path=71_76
rewrite data: Array
(
[route] => product/category
[path] => 71_76
)
http://loja.okcomputersmz.com/index.php ... ath=71_120
rewrite data: Array
(
[route] => product/category
[path] => 71_120
)
http://loja.okcomputersmz.com/index.php ... ath=71_102
rewrite data: Array
(
[route] => product/category
[path] => 71_102
)
http://loja.okcomputersmz.com/index.php ... path=71_73
rewrite data: Array
(
[route] => product/category
[path] => 71_73
)
http://loja.okcomputersmz.com/index.php ... ath=71_130
rewrite data: Array
(
[route] => product/category
[path] => 71_130
)
http://loja.okcomputersmz.com/index.php ... ath=71_123
rewrite data: Array
(
[route] => product/category
[path] => 71_123
)
http://loja.okcomputersmz.com/index.php ... path=71_78
rewrite data: Array
(
[route] => product/category
[path] => 71_78
)
http://loja.okcomputersmz.com/index.php ... ath=71_105
rewrite data: Array
(
[route] => product/category
[path] => 71_105
)
http://loja.okcomputersmz.com/index.php ... path=71_75
rewrite data: Array
(
[route] => product/category
[path] => 71_75
)
http://loja.okcomputersmz.com/index.php ... ath=71_112
rewrite data: Array
(
[route] => product/category
[path] => 71_112
)
http://loja.okcomputersmz.com/index.php ... ath=71_104
rewrite data: Array
(
[route] => product/category
[path] => 71_104
)
http://loja.okcomputersmz.com/index.php ... ath=71_103
rewrite data: Array
(
[route] => product/category
[path] => 71_103
)
http://loja.okcomputersmz.com/index.php ... path=71_85
rewrite data: Array
(
[route] => product/category
[path] => 71_85
)
http://loja.okcomputersmz.com/index.php ... ry&path=71
rewrite data: Array
(
[route] => product/category
[path] => 71
)
http://loja.okcomputersmz.com/index.php ... path=87_95
rewrite data: Array
(
[route] => product/category
[path] => 87_95
)
http://loja.okcomputersmz.com/index.php ... ath=87_108
rewrite data: Array
(
[route] => product/category
[path] => 87_108
)
http://loja.okcomputersmz.com/index.php ... path=87_92
rewrite data: Array
(
[route] => product/category
[path] => 87_92
)
http://loja.okcomputersmz.com/index.php ... ath=87_121
rewrite data: Array
(
[route] => product/category
[path] => 87_121
)
http://loja.okcomputersmz.com/index.php ... ath=87_106
rewrite data: Array
(
[route] => product/category
[path] => 87_106
)
http://loja.okcomputersmz.com/index.php ... path=87_86
rewrite data: Array
(
[route] => product/category
[path] => 87_86
)
http://loja.okcomputersmz.com/index.php ... path=87_83
rewrite data: Array
(
[route] => product/category
[path] => 87_83
)
http://loja.okcomputersmz.com/index.php ... path=87_84
rewrite data: Array
(
[route] => product/category
[path] => 87_84
)
http://loja.okcomputersmz.com/index.php ... path=87_64
rewrite data: Array
(
[route] => product/category
[path] => 87_64
)
http://loja.okcomputersmz.com/index.php ... ath=87_118
rewrite data: Array
(
[route] => product/category
[path] => 87_118
)
http://loja.okcomputersmz.com/index.php ... ath=87_116
rewrite data: Array
(
[route] => product/category
[path] => 87_116
)
http://loja.okcomputersmz.com/index.php ... ath=87_129
rewrite data: Array
(
[route] => product/category
[path] => 87_129
)
http://loja.okcomputersmz.com/index.php ... path=87_93
rewrite data: Array
(
[route] => product/category
[path] => 87_93
)
http://loja.okcomputersmz.com/index.php ... path=87_63
rewrite data: Array
(
[route] => product/category
[path] => 87_63
)
http://loja.okcomputersmz.com/index.php ... path=87_99
rewrite data: Array
(
[route] => product/category
[path] => 87_99
)
http://loja.okcomputersmz.com/index.php ... path=87_96
rewrite data: Array
(
[route] => product/category
[path] => 87_96
)
http://loja.okcomputersmz.com/index.php ... ath=87_119
rewrite data: Array
(
[route] => product/category
[path] => 87_119
)
http://loja.okcomputersmz.com/index.php ... path=87_59
rewrite data: Array
(
[route] => product/category
[path] => 87_59
)
http://loja.okcomputersmz.com/index.php ... ry&path=87
rewrite data: Array
(
[route] => product/category
[path] => 87
)
http://loja.okcomputersmz.com/index.php ... path=65_89
rewrite data: Array
(
[route] => product/category
[path] => 65_89
)
http://loja.okcomputersmz.com/index.php ... path=65_66
rewrite data: Array
(
[route] => product/category
[path] => 65_66
)
http://loja.okcomputersmz.com/index.php ... path=65_67
rewrite data: Array
(
[route] => product/category
[path] => 65_67
)
http://loja.okcomputersmz.com/index.php ... path=65_69
rewrite data: Array
(
[route] => product/category
[path] => 65_69
)
http://loja.okcomputersmz.com/index.php ... ath=65_128
rewrite data: Array
(
[route] => product/category
[path] => 65_128
)
http://loja.okcomputersmz.com/index.php ... ry&path=65
rewrite data: Array
(
[route] => product/category
[path] => 65
)
http://loja.okcomputersmz.com/index.php ... th=127_109
rewrite data: Array
(
[route] => product/category
[path] => 127_109
)
http://loja.okcomputersmz.com/index.php ... y&path=127
rewrite data: Array
(
[route] => product/category
[path] => 127
)
http://loja.okcomputersmz.com/index.php ... ath=70_122
rewrite data: Array
(
[route] => product/category
[path] => 70_122
)
http://loja.okcomputersmz.com/index.php ... ath=70_133
rewrite data: Array
(
[route] => product/category
[path] => 70_133
)
http://loja.okcomputersmz.com/index.php ... ath=70_131
rewrite data: Array
(
[route] => product/category
[path] => 70_131
)
http://loja.okcomputersmz.com/index.php ... ath=70_132
rewrite data: Array
(
[route] => product/category
[path] => 70_132
)
http://loja.okcomputersmz.com/index.php ... ry&path=70
rewrite data: Array
(
[route] => product/category
[path] => 70
)


This is print out.
Error log (System > Maintenance > Error Logs) is empty.

Re: SEO URL in SUBDOMAIN HELP

Posted: Thu Mar 28, 2019 7:57 am
by letxobnav
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:

Code: Select all

echo $url;

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

Re: SEO URL in SUBDOMAIN HELP

Posted: Fri Mar 29, 2019 1:40 am
by msanjay
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:

Code: Select all

echo $url;

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?