Title: ericfkw's Replies | WordPress.org

---

# ericfkw

  [  ](https://wordpress.org/support/users/ericfkw/)

 *   [Profile](https://wordpress.org/support/users/ericfkw/)
 *   [Topics Started](https://wordpress.org/support/users/ericfkw/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ericfkw/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ericfkw/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ericfkw/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ericfkw/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ericfkw/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can't Login ADMIN (Cookies Problem)](https://wordpress.org/support/topic/cant-login-admin-cookies-problem/)
 *  Thread Starter [ericfkw](https://wordpress.org/support/users/ericfkw/)
 * (@ericfkw)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/cant-login-admin-cookies-problem/#post-7507200)
 * Hello [@kamarch](https://wordpress.org/support/users/kamarch/),
 * I had set the following in CloudFront:
 * Behavior, add following:
    0 wp-admin* 1 wp-login* 2 wp-admin/admin-ajax.php 3
   wp-includes/*.php
 * And in each above Behavior Settings:
    Allow HTTP Methods -> GET, HEAD, OPTIONS,
   PUT, POST, PATCH, DELETE Forward Headers -> All Forward Cookies -> All (Actually
   can set Whitelist but need to list them all) Forward QueryString -> Yes
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can't Login ADMIN (Cookies Problem)](https://wordpress.org/support/topic/cant-login-admin-cookies-problem/)
 *  Thread Starter [ericfkw](https://wordpress.org/support/users/ericfkw/)
 * (@ericfkw)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/cant-login-admin-cookies-problem/#post-7506977)
 * Hello [@jackie](https://wordpress.org/support/users/jackie/) McBride,
 * Very thanks for your help. Finally I got the key to the issue and now fixed.
 * Which is about he CloudFront setting on AWS, as by default it hasn’t forward 
   cookies, I then added some new behavior for wp-admin* and wp-login* usage then
   now works!
 * So the problem should not be issue if haven’t behind CloudFront(old URL hasn’t
   set that) but on new one with CloudFront then issue happen.
 * So to make it clear, which is not WordPress settings problem. 🙂
 * Again, very thanks!
 * Regards,
    Eric
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can't Login ADMIN (Cookies Problem)](https://wordpress.org/support/topic/cant-login-admin-cookies-problem/)
 *  Thread Starter [ericfkw](https://wordpress.org/support/users/ericfkw/)
 * (@ericfkw)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/cant-login-admin-cookies-problem/#post-7506974)
 * [@tara](https://wordpress.org/support/users/tara/),
 * Thanks. Sorry haven’t said that which is our own server setup on Amazon, not 
   a public hosting. I checked Error log but no insight on Admin login issue, it
   just logged below:
 * (4)Interrupted system call: FastCGI: comm with server “/var/www/cgi-bin/php-fpm”
   aborted: select() failed
 * Thanks,
    Eric
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can't Login ADMIN (Cookies Problem)](https://wordpress.org/support/topic/cant-login-admin-cookies-problem/)
 *  Thread Starter [ericfkw](https://wordpress.org/support/users/ericfkw/)
 * (@ericfkw)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/cant-login-admin-cookies-problem/#post-7506973)
 * [@jackie](https://wordpress.org/support/users/jackie/) McBride,
 * Thanks, I tried replaced all the instances of old string to new. The old one 
   we are using is exactly a valid domain like [http://new.mpop.hk](http://new.mpop.hk),
   so we haven’t used localhost before for the development.
 * Now, while entering the site with old URL described above, it will auto changed
   to new URL, supposed it is because the value settings in wp_options table(‘siteurl’
   and ‘home’ column), but the Admin panel is still no luck to enter.
 * The same Error happens.
 * Do I need to create a new virtual host and setup the wordpress again?
 * Very Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)