How do I develop wordpress on local and remote server smoothly?
New to wordpress and have programming exprerience for years.
My goal is to write blogs and develop wordpress locally and then deploy www data and SQL data to the remote server using Docker container.
I tried to posted some articles locally and set up new theme and then deploy to the remote.
I found all the article links on the remote server are starting with "localhost" (this is so stupid, why not wordpress use relative links)
On the other hand, if I fetch WP data and SQL from the remote to my local.
Access the admin endpoint on my local, http://localhost/wp-admin it keeps redirecting to the server endpoint. https://remote_server/wp-admin
Any good recommandation or tutorial to develop local and remote smoothly?
Can not believe, WP is so develop unfriendly.
Leave an answer