How can I create a custom URL for a blog post?

Hi. for example I have the URL https://domainname.com.au/blogs/category-name/how-to-make-nice-photo-frame

I want that the blog post is also available with https://domainname.com/photoframe

How do i do that? within shopify? or i create on namecheap (where my domain is hosted) a redirect?

Option 1: Shopify URL Redirect

Since your store is on Shopify, you can utilize Shopify’s built-in URL redirect feature. This is an easy way to manage redirects without needing to access your domain registrar or DNS settings. Here’s how to do it:

  1. Log in to your Shopify Admin Panel.

  2. Navigate to Online Store: From the left sidebar, click on ‘Online Store’ and then select ‘Navigation’ from the dropdown menu.

  3. Go to URL Redirects: Within the Navigation page, you’ll find a tab or link to ‘URL Redirects’. Click on it.

  4. Add URL Redirect: Click on ‘Create URL redirect’.

  5. Configure your Redirect:

  6. Save the Redirect: After entering the details, click on ‘Save’ or ‘Add redirect’.

    If you are looking for boosting SEO, you can also check RankSite - #1 Free AI SEO Tool

This is the correct approach. @kiwi8 - be aware that the URL will change when someone hits the URL that you are redirecting.

In summary - you can create a redirect URL that looks great for marketing material, distribution etc., but when someone goes to it they will be redirected to the original URL

We can customize shopify URL. Here is the solution explained.

You’re not really changing the URL. You are just using javascript to change the URL in the browsers display, leveraging Shopify.designMode

The canonical url, sitemap, OG, json-ld and everything else all point to the TRUE url of the page.

Great idea but this is just javascript tricks