Tips 1 & 2 also work on Windows CMD - 3 works for file paths.
On Powershell all 3 work π₯³ (The bonus doesn't work on either because no touch command π’)
Forem tip: Instead of starting your post with "Originally posted on my blog" with a link, you can use canonical_url: https://codingwithaaron.wordpress.com/2021/08/28/three-nifty-shortcuts-on-the-command-line/ to create a linkback to your blog which has SEO benefits for your blog π₯³π₯³
@terabytetiger
Hey there, me again! I haven't figured out how to use the canonical URL. I posted the command in the parenthesis, however instead of having it go to my sight, it went to a 404 error. Would you happen to know where I can include the canonical URL?
I forgot that the V2 editor didn't use frontmatter the same way, which probably induced the initial confusion π I'm glad I could clear it up though! π₯³
For further actions, you may consider blocking this person and/or reporting abuse
Tips 1 & 2 also work on Windows CMD - 3 works for file paths.
On Powershell all 3 work π₯³ (The bonus doesn't work on either because no
touch
command π’)Forem tip: Instead of starting your post with "Originally posted on my blog" with a link, you can use
canonical_url: https://codingwithaaron.wordpress.com/2021/08/28/three-nifty-shortcuts-on-the-command-line/
to create a linkback to your blog which has SEO benefits for your blog π₯³π₯³Thanks for the Windows info! And I will try that with my next post later today. Appreciate the heads up on the linkback - thatβs clutch!
@terabytetiger Hey there, me again! I haven't figured out how to use the canonical URL. I posted the command in the parenthesis, however instead of having it go to my sight, it went to a 404 error. Would you happen to know where I can include the canonical URL?
The Canonical URL has to get set in the frontmatter - if you're using the v2 editor it'll look something like this:
If you're using the v1 editor it'll look more like this:
Then you can remove your line linking back to your post since there will be an auto generated link at the top of the article:
Mind officially blown! I have the V2 editor it looks like. That's incredible, thanks so much!
I forgot that the V2 editor didn't use frontmatter the same way, which probably induced the initial confusion π I'm glad I could clear it up though! π₯³