我'm trying to setup my wordpress site on my local machine. I copied the wordpress site from aws and copied data into mysql. I'在我的机器上运行MAMP . 当我访问http://localhost:8888时,我能够访问我的网站 .

但是当我想访问管理页面时,我会被重定向到原始网站

➜  htdocs  http http://localhost:8888/wp-admin/
HTTP/1.1 302 Found
Cache-Control: no-cache, must-revalidate, max-age=0
Connection: Keep-Alive
Content-Length: 0
Content-Type: text/html
Date: Wed, 13 Apr 2016 13:23:06 GMT
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Keep-Alive: timeout=5, max=100
Location: http://mywebsite.com/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%3A8888%2Fwp-admin%2F&reauth=1
Pragma: no-cache
Server: Apache/2.2.29 (Unix) mod_wsgi/3.5 Python/2.7.10 PHP/5.5.26 mod_ssl/2.2.29 OpenSSL/0.9.8zg DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.22.0
X-Powered-By: PHP/5.5.26

知道为什么我看到重定向吗?