• Resolved mricenyc

    (@mricenyc)


    Hi all,

    I have been asked to breathe life into a dysfunctional WordPress site. The site files that were given to me include:

    1. WordPress installation folder
    2. .sql database file

    I have installed these into a local MAMP environment running on Mac OS X Yosemite. The data is visible in the database tables and the wp_content and wp_include files all seem to be in good order.

    My issue is that when I click on the site at “localhost:8888/myWPsite/”, the browser goes to “localhost/myWPsite/” (parsing the “:8888”) and says reads, “Safari can’t open the page “localhost/myWPsite” because Safari can’t connect to the server “localhost.” I can’t seem to get the browser to stick to the /localhost:8888/ url.

    Other points to note:
    1. “siteurl” in wp_options is set to “http://localhost:8888/myWPsite/”
    2. All my other WP installations are running fine using the same database user credentials.
    3. I edited my .htaccess file to the following:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /myWPsite/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /myWPsite/index.php [L]
    </IfModule>

    # END WordPress

    I hope this is enough information for someone to help me resolve the issue. Thanks in advance, and stay thirsty, my friends.

    MR

Viewing 3 replies - 1 through 3 (of 3 total)
  • There was a similar question a while back:
    Link Here

    It references the codes on how to move a site:
    Link Here

    Hope this helps

    Thread Starter mricenyc

    (@mricenyc)

    Thank you jc62! Those links helped point me in the right direction. I then had to do some serious DB massaging, but it paid off. It’s back, baby! It’s back!

    MR

    Thread Starter mricenyc

    (@mricenyc)

    And, just for the official record, the database massaging that I had to do was related to the db using specific and no-longer functional IP addresses, rather than “localhost:8888/myWPsite/…”

    I installed and used the extraordinarily functional, if potentially havoc-wreaking, InterconnectIT Search and Replace Script. It works wonders. But, as they warn, “Delete this utility from your server after use by clicking the ‘delete me’ button. It represents a major security threat to your database if maliciously used.”

    MR

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

The topic ‘"localhost:8888/domain/" forwards to "localhost/domain"’ is closed to new replies.