If some of your link are using localhost
while others are using localhost:8888
, you’ll want to make sure that all of the links in your database are set to localhost:8888
. Follow these steps:
- Go and download Interconnect IT’s Database Search & Replace Script here
- Unzip the file and drop the folder in your localhost where your WordPress is installed (the root) and rename the folder to
replace
(screenshot) - Navigate to the new folder you created in your browser (ex:
http://localhost:8888/replace
) and you will see the search/replace tool - Enter your
/localhost/
URL in thesearch for…
field and the new URL (/localhost:8888/
) in thereplace with…
field
You can click the dry run button under actions to see what it will be replacing before you execute the script. Once you’re done be sure to remove the /replace/
folder.