Skip to content

Critical Problem with second store view: URL Rewrites not working! #11

Open
@cptX

Description

@cptX

I faced a critical problem with this module.
I tried to create or modify the urls of some categories (create new and modify existing).
The first store view urls (greek - which I have as default and hidden in url) were working. But whatever I did for the second store view, whatever category url rewrites I created didn't work. The browser says "The page isn’t redirecting properly"
I have spent 2 days researching the issue and initially thought it was related with some rewrite issues that were found in magento recently, but after disabling the module all problems were solved.
So to make it more specific:

Create 2 store views. (let's say one el(greek) and one en (english))
Create a new category in greek (default) save and then change store view to en create a different url for the same category and save. The checkbox "Create Permanent Redirect for old URL" doesn't make any difference to the problem but I suggest to have it unchecked before saving.
Then visit the site. By default it will visit the greek version which is the default and without storeview suffix in url.
Visit the new created category. Then change language to english. Theoretically the browser will produce the error "The page isn’t redirecting properly" and it will fail to load the english category...

The problem is a bit strange because for some links it was impossible to access the english categories but for others the links worked ok both in greek and english. I really don't understand what happened. I suppose that I had created some categories before installing this module, and these work correctly. After installing it the new english categories which I created didn't work.

I have spent a full day playing with the url rewrites, I investigated the url_rewrite table in the database without finding any problems there. So I'm 100% sure this module is causing the issue...

This is critical for me because I was planning to use this module in production but now if I cannot access any of my second store view categories I will have a huge problem.

I have magento 2.4.6 and Luma Theme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions