Search code examples
phpapachewordpresswordpress-theming

Mamp and WordPress url change


I have a WordPress installation on my localhost: http://localhost:8888

I've uploaded the wp files on my FTP, and I've imported the DB. I can't use a new installation because I've edited some core files.

I also edited the table wp_options on my site, and edited the fields, siteurl and home so those two fields contained the site URL, changing them from "localhost:8888" to my new URL.

The problem now is when I go to my URL and try to load the website it will redirect me to http://THE_NEW_WEBSITE:8888.

I need that port removed. How can I do that?


Solution

  • Solved before explorting the database change the url from the wordpress admin page and after that export the DB