MAMP WordPress Setup

Home Forums BulletProof Security Pro MAMP WordPress Setup

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  AITpro Admin 3 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22054

    Hello,

    I am trying to bring down my website to local(mac) for testing and trying new themes and plugins. I have followed the steps in post #20407: In my online website I have done the following: I have turned off ARQ and also the “Plugin firewall”. After that I have downloaded all my site files (wordpress directory) to local with ftp. I have used the BackWPup plugin to download the database to local. After that, I have turned on the ARQ and Plugin firewall in my online remote website. So far every thing looks OK.

    In local (my mac), I have done the following: I have installed the MAMP sql server software. In MAMP, I have created the database and imported the one downloaded from my website.

    In the table I have updated de “siteurl” to "http://localhost:8888/wordpress".
    In the table I have executed the following SQL commands

    <code class="php plain">UPDATE fvcvqcpor0_posts SET post_content = replace(post_content,<code class="php string">"http://nombredominio.com"<code class="php plain">, <code class="php string">"http://localhost:8888"<code class="php plain">)
    
    <code class="php plain">UPDATE fvcvqcpor0_posts SET guid = replace(guid,<code class="php string">"
    http://nombredominio.com"<code class="php plain">, <code class="php string">"http://localhost:8888"<code class="php plain">)

    I have copied the downloaded web files(wordpress directory) (ftp) to the MAMP directory “htdocs”. And finally updated the wp-config.php file, for the link to the database (DB_NAME, DB_USER and DB_PASSWORD).  So far, everything looks OK.

    Now, comes the problem: On my browser, I access the http://localhost:8888/wordpress/ and I only get a BLANK PAGE. If I try to access any page I also get a BLANK PAGE. If I access the http://localhost:8888/wordpress/wp-login.php I can see the login page correctly. So, I type in my userame, password and the “text below”, I get one more BLANK PAGE PLEASE, I need help. I have tried many things, but nothing works. Sorry for writing so much, but I want you to have all the data.

    Thanks in advance
    Oscar from Spain

    #22058

    AITpro Admin
    Keymaster

    http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

    I think you might be using the 8888 port in your WordPress Settings >>> General >>> WordPress Address (URL) and Site Address (URL) settings which I believe is not correct.  On XAMPP (for PC’s) you enter the same URL that you would enter for a standard hosted site on a web host.  The WordPress instructions in the link above state to use port 8888, but do not state to use port 8888 in the WordPress Settings URL settings.

    These MAMP WordPress setup steps are much clearer and simpler to follow and they seem more recent/current than the WordPress Codex link above:  https://make.wordpress.org/core/handbook/installing-a-local-server/installing-mamp/

    This MAMP WordPress Setup tutorial looks nice and simple too:  http://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-locally-on-mac-using-mamp/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.