WordPress.org

Make WordPress Core

Opened 5 months ago

#49721 new defect (bug)

Links of Installed Themes Not Re-written to New Port after WP-Config Port Change

Reported by: jack12221 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.3.2
Component: Themes Keywords:
Focuses: Cc:

Description

When the wordpress server port is changed in the Wp-config.php file (home and site_url) inside of the wordpress root directory the installed theme links are not overwritten, resulting in no visible themes on the wordpress site. This can be reproduced by changing the port and/or changing the site to run https. When wordpress is reloaded, all links function normally (redirected to the new port number) except that of themes. The problem can be fixed by removing the wp-config.php

site_url 

and

home

definitions than putting them into Settings>General of the wordpress admin and saving the changes. In this case the theme links are rewritten.

Change History (0)

Note: See TracTickets for help on using tickets.