[wp-trac] [WordPress Trac] #18769: Admin should not break if URL changes
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 18 20:26:06 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: |
-----------------------------+------------------------------
Changes (by olleicua):
* cc: olleicua@… (added)
Comment:
I agree with AmbushCommander here. As someone who has had to consult
[http://codex.wordpress.org/Moving_WordPress this page]
a few times, I would love for the process to be simpler. The main issue
is that there is no way to avoid there being a period where you cannot
access the admin.
One serious issue with this is for example if I'm moving my site from
http://example.com to http://example2.com, and I misspelled example2 when
I changed the site url then I will have to find the record in the db. I
recognize it's a corner case but there is always a moment where you have
to hold your breath and hope it works. It seems like it should be
possible to override the redirect here so that it checks to see if a
wordpress installation exists at the new url (for example with a simple
file_get_contents call) and use the old url if not.
At any rate I'd love to take this on. Thoughts?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18769#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list