How to - have the CLI show you the Wordpress safe or unsafe status.
-
If you'd like confirmation from the CLI that your wpsafe or wpupgrade commands have worked, change the aliases as follows:
Once logged in to your VPS, open the .bashrc file using the alias ebrc
Find these characters at the end of each alias \;" and change to \; && echo WP-UNSAFE" or \; && echo WP-SAFE"
Hit Ctrl+O, then Enter, then Ctrl+X
Done!
Posted 1 year ago # -
man, these are great tweaks .. you after a job or what?!
Posted 1 year ago # -
Thanks!
Job - I could be the CTO! (Chief Tips Officer)
One more thing.
In order for the alias to be parsed correctly, comment out the dot in the domain name by inserting a backslash before the .tld
Like so:
alias wpsafe="sudo find ~/public_html/domainname\.com/public/wp-admin blah blah blah
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
