It was a stressful time for me in the last few months. Besides the regular freelance work, I and my WordPress team are trying to build a new business at http://fitwp.com (From Idea To WordPress) and http://7listings.net (theme dedicated for “listsings” website like accommodations, tours, companies, rentals, …). And there’re a lot of work ahead.
But working with WordPress is always a great inspiration to me. There are moments to discover small things which are really interesting if you are passionate about it. Like the post title, I’ll share 2 such things that I just discovered in the last few days (there are a lot more before, unfortunately I didn’t note).
Quick search in Google Chrome
Assume you have a WordPress blog (like Deluxe Blog Tips). To find some content in the blog, you usually have to go the the blog homepage and type the keyword into search box. This takes times because you have to access your blog first. If you’re using Google Chrome (it’s my favorite browser because it has very easy to use Dev Tools), it can help you reduce redundant time by not accessing your blog and instead search right in the address bar.
Here is how to do that: At the address bar, type your domain and space, for example:
You’ll see this in the address bar:
Google Chrome auto transforms what we type into a search command and dispplay “Search deluxeblogtips.com”. To continue search, just enter keyword, for example
admin, the browser auto redirects to the correct search page on the blog
The good thing is Google Chrome doesn’t use its custom search functionality, like when we search a keyword in a website with command
site:domain.com keyword. Here Google Chrome uses the blog search (e.g. WordPress search), the results are much more precise and reliable.
Bug of “nonexistent blog” in MultiSite
We know that to access the admin area of a blog in MultiSite, we have to go to the address
http://domain.com/BLOG-SLUG/wp-admin. To access the admin area of main blog in MultiSite, we have to go to
What will happen if we enter wrong
BLOG-SLUG? Can we still access or will WordPress show us an error?
Logically, we think WordPress should show us an error like “Nonexistent blog”. But actually not! There are no errors at all. WordPress still allows us to access that address and you know what, that’s the admin are of main blog!
More special and more dangerous thing is any link in the admin area of this nonexistent blog works the same as in main blog, for example these links will work:
This is maybe a bug of WordPress. And if you meet this situation, I advice you to stay away, don’t do any action like edit posts, adjust settings, install plugins, … Who knows what happens after that!
I noticed this bug when one client accidentally sent me a link with wrong blog slug. At first, I thought that was a bug in my theme or plugin, but when tried with other MultiSite it happened the same. My luck!
Finally, hope you have great moments with WordPress and don’t economy your words to share them with everyone!