[wp-trac] [WordPress Trac] #18769: Admin should not break if URL changes

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 24 23:11:14 UTC 2011


#18769: Admin should not break if URL changes
-----------------------------+------------------------------
 Reporter:  AmbushCommander  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Old description:

> We manage a lot of users who have Wordpress blogs, and probably the
> number one user support request we have to field comes out of this
> situation:
>
> 1. User decides they want to move their Wordpress,
> 2. They move the folder to a new URL,
> 3. Their admin page stops working, because it still had the old URL hard-
> coded.
>
> This is silly and should be fixed.

New description:

 We manage a lot of users who have WordPress blogs, and probably the number
 one user support request we have to field comes out of this situation:

 1. User decides they want to move their WordPress,
 2. They move the folder to a new URL,
 3. Their admin page stops working, because it still had the old URL hard-
 coded.

 This is silly and should be fixed.

--

Comment (by nacin):

 There is a RELOCATE constant that can be set, which will allow wp-
 login.php to work, and upon login the siteurl setting will be updated.

 We can potentially handle this more gracefully, by not requiring the
 constant and having some sort of migration step/warning. But do we want
 that? Seems pretty rare/edge to be honest (possibly the first bug report
 I've seen on this specifically). And then there's the issue with old URLs
 breaking, so it's not like we'd want to encourage migrations as we won't
 be able to handle the old URLs.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18769#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list