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

[5.x]: Website button in CP no longer redirects to website #15525

Closed
droemmelbert opened this issue Aug 13, 2024 · 2 comments
Closed

[5.x]: Website button in CP no longer redirects to website #15525

droemmelbert opened this issue Aug 13, 2024 · 2 comments
Labels

Comments

@droemmelbert
Copy link

What happened?

Description

When clicking the website button in the top left corner of the CP one used to be redirected to the homepage of the website. Now however when I click it, I get redirected to the same page I am currently on.

Steps to reproduce

  1. Login to CP
  2. click the website button in the top left corner
  3. redirected to the same page you are already on

Screenshot 2024-08-13 at 10 42 06

Expected behavior

Website button in top left corner of CP redirects to homepage of website.

Actual behavior

Website button in top left corner of CP redirects to the same (CP) page you are currently on.

Craft CMS version

5.3.3

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

The only way I can reproduce that is if the primary site doesn’t have a URL. Just fixed for the next Craft 4 and 5 releases.

@brandonkelly
Copy link
Member

Craft 4.11.3 and 5.3.4 are out now with that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants