Post by soamjena » Tue Aug 30, 2016 8:40 pm

We have a product with title,
HUAWEI S5720S-28X-SI-AC(24 ETHERNET 10/100/1000 PORTS,4 10 GIG SFP+,AC 110/220V)
On frontend, the URL shows this
And it goes to 404 not found.

I removed the + symbol from the SEO URL alias, and it instantly started to load.

But why is it so ?
Does that mean, Opencart code is not intelligent enough to strip the special characters from the alias ?

Or is it a bug ?

User avatar
Active Member

Posts

Joined
Mon Feb 13, 2012 3:35 pm

Post by fido-x » Tue Aug 30, 2016 9:51 pm

soamjena wrote: But why is it so ?
Does that mean, Opencart code is not intelligent enough to strip the special characters from the alias ?

Or is it a bug ?
This is not a bug in OpenCart. There are characters that you can not use in SEO keywords, the plus sign (+) is one of them. Others include ampersands (&), question marks, percent signs and spaces. They have a different meaning in the URL address.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by soamjena » Tue Aug 30, 2016 10:01 pm

Isn't it intelligent enough ti strip it out ?

User avatar
Active Member

Posts

Joined
Mon Feb 13, 2012 3:35 pm

Post by OSWorX » Tue Aug 30, 2016 10:16 pm

soamjena wrote:Isn't it intelligent enough ti strip it out ?
No, it does not.

It is not a question of 'intelligence' - this is 'only' a (software) program.
But the user in front of the screen should use some intelligence not to use such characters.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by fido-x » Tue Aug 30, 2016 10:19 pm

SEO keywords are not "stripped out", as you put it, or html_entity_decoded. If they were you would end up with something like "+" being placed in the URL address. Which wouldn't make it very search engine or user friendly or even usable as an address.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by soamjena » Wed Aug 31, 2016 1:57 am

fido-x wrote:SEO keywords are not "stripped out", as you put it, or html_entity_decoded. If they were you would end up with something like "+" being placed in the URL address. Which wouldn't make it very search engine or user friendly or even usable as an address.

Okay if we dont enter anything in alias, then it should auto populate correctly, right ?

User avatar
Active Member

Posts

Joined
Mon Feb 13, 2012 3:35 pm

Post by fido-x » Wed Aug 31, 2016 10:32 am

soamjena wrote: Okay if we dont enter anything in alias, then it should auto populate correctly, right ?
OpenCart does not "auto-populate" SEO keywords and never has.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by soamjena » Wed Aug 31, 2016 11:03 am

No, I mean, the alias, not the keyword.

If we only put the title, will the alias auto populate ?

User avatar
Active Member

Posts

Joined
Mon Feb 13, 2012 3:35 pm

Post by fido-x » Wed Aug 31, 2016 11:34 am

You are referring to the SEO URL that is defined for the product, yes?

You're calling it an "alias", while I'm calling it a "keyword". Either way, it is the same thing.

OpenCart does not auto-populate this. There is a 3rd party add-on that will do it (there are probably a few of them), but it is not a built-in function.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia
Who is online

Users browsing this forum: No registered users and 17 guests