Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Master Branch] Incomplete SEO URLs for links and canonicals #9486

Closed
mhcwebdesign opened this issue Mar 28, 2021 · 5 comments
Closed

[Master Branch] Incomplete SEO URLs for links and canonicals #9486

mhcwebdesign opened this issue Mar 28, 2021 · 5 comments
Labels
master-branch Main branch of the project

Comments

@mhcwebdesign
Copy link
Collaborator

What version of OpenCart are you reporting this for?
Master Branch 4.0.0.0b (28 March 2021)

Describe the bug
On e.g. the frontend page Phones & PDAs > HTC Touch HD the link canonical doesn't use a SEO URL at all, and the product page uses something like www.example.com/htc-touch-hd?language=en-gb&path=24

It should be www.example.com/smartphone/htc-touch-hd?language=en-gb for the product page and link canonical.

Also, it shouldn't use the ?language=en-gb in the URL query string, the language selection is session based.

To Reproduce
Steps to reproduce the behavior:

  1. In the admin backend do this: System > Settings > edit > Server > use SEO URLs: Yes
  2. On the frontend, click on the Phones & PDAs
  3. Then click on the HTC Touch HD product link

Expected behavior
All SEO URL keywords should be used for the various links.

Server / Test environment (please complete the following information):

  • Local development? Yes
  • Operating system: Linux Mint 17.3
  • PHP version: 8.0.3
  • Apache version: Apache/2.4.18 (Ubuntu)
  • Browser(s) tested with: Firefox
  • Version 87.0 (64-bit)
@mhcwebdesign mhcwebdesign changed the title [Master Branch OC4] Incomplete SEO URLs for links and canonicals [Master Branch] Incomplete SEO URLs for links and canonicals Mar 28, 2021
@0free
Copy link

0free commented Mar 28, 2021

Hi @mhcwebdesign
Suggestion:
maybe the product page URL to be like:
www.website.com/en-gb/category/product-name?
if possible

@mhcwebdesign
Copy link
Collaborator Author

mhcwebdesign commented Mar 28, 2021

@SaifAlSubhi: Yes, that's how we do it for our own multi-lingual OC sites, using our own Multil-lingual SEO extension (https://www.mhccorp.com/language-seo).

@stalker780
Copy link
Contributor

Seo urls (particularly language parameter) are broken after PHP8 updates
#9468

Also information seo_profile is broken
#9469

@stalker780
Copy link
Contributor

stalker780 commented Mar 28, 2021

It will not be 2 months

Daniel said, and disappeared for a month :)

#8710 (comment)

Train your patience :)
Looks like he is busy with orders editor

@WebkulOpencart WebkulOpencart added the master-branch Main branch of the project label Mar 30, 2021
@danielkerr
Copy link
Member

its not that bigger issue. just make sure all products, categories, information, manufacturing pages have seo url created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master-branch Main branch of the project
Projects
None yet
Development

No branches or pull requests

5 participants