Incorrect Re-direction to localhost:8888/site (1 post)

  1. Dean_Wilson
    Posted 2 years ago #

    Hi I have an install on my localhost (PC) that has been working fine up until now. I can log in to the backend no problem (localhost/site/wp-admin) but the frontend is re-directing to localhost:8888/site.

    I have checked the DB and made sure the siteurl and homeurl are both http://localhost/site. I don't know where it's getting the MAMP home directory from. I have also tried resetting permalinks from the backend, dropping database and re-importing and have checked the htacess file which is as below:

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

    Any help would be greatly appreciated. Have no idea where else to go to try and fix this.

Topic Closed

This topic has been closed to new replies.

About this Topic