-
Hi, I've deployed blog on I know there's module.exports = {
pathPrefix: `/blog`,
siteMetadata: {
//..
siteUrl: `https://joe-brothers.com/blog/`,
siteImage: `/banner.jpg`, // -> this is not working also.
//..
},
plugins: [
{
resolve: `@lekoarts/gatsby-theme-minimal-blog`,
// See the theme's README for all available options
options: {
// basePath: "/blog",
blogPath: "/posts",
formatString: "YYYY-MM-DD",
navigation: [
{
title: `Posts`,
slug: `/posts`,
},
{
title: `Tags`,
slug: `/tags`,
},
],
externalLinks: [
{
name: `Homepage`,
url: `https://joe-brothers.com`,
},
],
},
}, this is gatsby-config.js <meta name="image" content="https://joe-brothers.com/banner.jpg" data-gatsby-head="true"/>
<meta property="og:url" content="https://joe-brothers.com/test-post" data-gatsby-head="true"/>
<meta property="og:image" content="https://joe-brothers.com/static/2842f5bb607e08371d724f0ffba7311b/73f08/building.png" data-gatsby-head="true"/> In seo urls, I'm not sure what's wrong 😞.. Can you help me? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, thanks for the question. In theory this should work like this, yes. I'm taking the |
Beta Was this translation helpful? Give feedback.
-
Mh, I just cloned the minimal blog starter, added a pathPrefix, changed the siteUrl and build the site with pathPrefix. And it works: Note that you have to build and serve with a CLI flag: https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/ |
Beta Was this translation helpful? Give feedback.
Mh, I just cloned the minimal blog starter, added a pathPrefix, changed the siteUrl and build the site with pathPrefix. And it works:
Note that you have to build and serve with a CLI flag: https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/