#160 Profile and other routes do not work with SEF URLs enabled

Posted in ‘Technical Support / Bugs’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Olivier on Friday, 13 June 2025 15:17 UTC

Ian Wilson

The URL Routes for the user profile do not work with SEF URL re-writes enabled in nginx. Specifically for the addresses area - the buttons to "Save" and "Save and Close" do not work (the URL is not being mapped to the a tag). When you selecte "Shipping" or "Billing" from the drop down, an nginx 404 page is displayed. I ahve looked through the component files and see the URLs are hard-coded, and am not certain if there are any other hooks needed to get them to comply with the URL re-write logic in Joomla. 

 

Thank you for your help! 

Ian Wilson

Update to the instance the error appears. This also appears in EasyCheckout Component with SEF URLs on when you try to proceed to reveiw the order (if "next page") is selected in the component options. The issue presents as simply re-directing to the home page.

Olivier

Hello Ian,

I was wondering if you have created menu item for:

  • checkout,
  • cart,
  • order confirmation.

These menus (even hidden) should exist for the router to properly create urls and not redirect to the homepage.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Ian Wilson

Yes, these menu items are created. Still having routing issues. 

Adam Melcher

Ian,

 

I tried to login with the credentials you provided and it's thorwing : Username and password do not match or you do not have an account yet.

Can you verify those creds are still active?

 

Thanks,

 

Adam

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

System Task
System Task
The ticket information has been edited by Ian Wilson (ian@formativetudios.com).

Ian Wilson

Create a new user for you guys to use! So sorry for the delay on this, got pulled into other things. I updated the ticket with the new creds.

Olivier

Hello Ian,

the credentials are not working still. Maybe the access permissions are incorrect?

Thank for rectifying, Ian.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Ian Wilson

Shouldnt be. The user is set up under Registered and Super User roles. Can you try logging in again?

System Task
System Task
The ticket information has been edited by Ian Wilson (ian@formativetudios.com).

Olivier

Thank you Ian for the credentials.

I could not find why your site would not produce the same results as ours... We have the same SEF configuration and the same kind of server.

The problem arises in jQuery Ajax calls.

The requests do not start from the root but are happended to the constructed URLs.

I was able to fix issues by just modifying the override you have created (html/com_j2store/myprofile/address.php of your template).

By adding / in from of the URLs in the Ajax calls, the system is forced to start from the system root and this fixes the save/country select 404 errors you encountered.

This could be the same issue in Easy Checkout, I have identified an Ajax call that could need the same 'treatment' (no override possible, we will need to issue a bug fix release if it turns out to be case).

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Ian Wilson

Thank you, I really appreciate you diving into this. 

Olivier

You are welcome, Ian.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.