Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#50003 closed defect (bug) (invalid)

dashboard link

Reported by: spineless's profile spineless Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:

Description

Hello,
When I log in to wordpress I am redirected to https://www.website.com/wp-admin/

I am not redirected to https://www.website.com/wp-admin/index.php
I need to manually type this into the URL cell.

When I am viewing the website ( click on Visit Website) and logged in. I can see a list of admin pages on the left dropdown menu. dashboard, themes, widgets, menu. All of these have the correct link except dashboard.

The dashboard link is pointing to https://www.website.com/wp-admin/. NOT. /wp-a
admin/index.php

so...when I attempt to log in or click on the dashboard button I am redirected to the folder wp-admin. not the page wp-admin/index.php

Please fix this. It is broken and has been broken for months.

Chris Pinter
AKA spineless

Change History (4)

#1 @apedog
6 years ago

  • Resolution set to invalid
  • Status changed from new to closed

That is the correct link.
Just about any directory url you browse to defaults to the index.php file in that directory (if it exists).
Same as when you go to the main front-end directory url of your website https://www.example.com/. You're actually getting https://www.example.com/index.php.

#2 @SergeyBiryukov
6 years ago

  • Component changed from General to Administration
  • Milestone Awaiting Review deleted

#3 @SergeyBiryukov
6 years ago

Hi there, welcome to WordPress Trac! Thanks for the report.

As noted above, the current link is correct. When navigating to the wp-admin directory, index.php is supposed to be loading by default. If that does not happen in your install, please check you server configuration (DirectoryIndex directive on Apache, index on nginx) or try the support forums for help: https://wordpress.org/support/forums/.

#4 @knutsp
6 years ago

@spineless Welcome to Trac. Thank you for reporting this. Even if this is not a bug. It could lead to an enhancement for an edge case.

WordPress expects the server to be set up with default DirectoryIndex (in Apache) set to contain index.php. Ideally, WordPress could check this upon install or through Site Health. In case Apache apache_getenv( 'DirectoryIndex' ) could be used to check this.

Then it will be a matter of priority and an assessment the frequency of this wrong configuration out there, whether such check should be included somewhere, maybe on install.

Now mentioned, for the record.

Last edited 6 years ago by knutsp (previous) (diff)
Note: See TracTickets for help on using tickets.