Post by msanjay » Mon Mar 25, 2019 2:19 pm

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

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

Post by paulfeakins » Mon Mar 25, 2019 7:16 pm

Change this line to this:

Code: Select all

RewriteBase /xxx/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

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

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

Post by msanjay » Mon Mar 25, 2019 7:47 pm

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

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

Post by letxobnav » Tue Mar 26, 2019 12:30 am

your htaccess file has nothing to do with SEO URL's

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by uksitebuilder » 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 ?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by letxobnav » Tue Mar 26, 2019 1:04 am

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.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by msanjay » Tue Mar 26, 2019 1:52 pm

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

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

Post by uksitebuilder » Tue Mar 26, 2019 3:44 pm

So, when you visit subdomain.yourdomain.com OpenCart loads

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

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by msanjay » Tue Mar 26, 2019 5:55 pm

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.

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

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

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by paulfeakins » 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?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by msanjay » Wed Mar 27, 2019 5:45 am

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

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

Post by msanjay » Wed Mar 27, 2019 5:47 am

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

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

Post by uksitebuilder » Wed Mar 27, 2019 7:43 am

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

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

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

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

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

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

Post by msanjay » Thu Mar 28, 2019 3:03 am

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.

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm

Post by letxobnav » 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

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by msanjay » 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:

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?

New member

Posts

Joined
Fri Feb 15, 2019 1:54 pm
Who is online

Users browsing this forum: No registered users and 59 guests