"localhost:8888/domain/" forwards to "localhost/domain"
-
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 fileI 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
The topic ‘"localhost:8888/domain/" forwards to "localhost/domain"’ is closed to new replies.