Page editing and weird redirects