Ever wonder whether you are in your WordPress staging site, a subdirectory, or the production site when in terminal and the command you want to run could break stuff? Never fear just run:

wp option get siturl

Problem solved!

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on reddit
Drew K

Drew K

A place for Me to share Twitter style 240 character limit posts. Feel free to comment.


Scroll to Top

Join the drew learns community

I'm looking for motivated and active members in the coding community to join a slack space focused on various coding languages, and share our passion for learning.

Will you join us?