Dynamic routing | Integrating Ghost with website

Hey Folks, we are running our custom developed website on https://recotap.com; We have just about started using Ghost for our blogs - it currently runs on /blog subfolder. The website and ghost runs on different servers.

We want to organise and unify both the apps (ghost and custom website) for SEO purposes. And here are few things we want to achieve

  1. The website will have upto 8 static pages that will act as a topic master.
  2. All the blog content will fall under one of the 8 topics - the goal is create a topic cluster.
  3. Recotap Blog (Page 1) shows the list of all available blogs.
  4. All post URLs will have structure like - recotap.com/cluster-1/topic1.

Whereas the cluster-1 (page) should be served from the website, topic-1 (post) will be served from ghost.

Please share any ideas you may have to best way to implement this.

Thanks a lot.

Hey @arunone :wave:

Apologies for this thread not being replied to. Have you considered using Ghost for the entire site? Or does the functionality not suit the other pages on the site? If you can use Ghost for the whole site I would check out Collections which can be achieved by editing the routes.yaml file:

If you know the 8 kinds topics you can list them out in the routes file and use tags to mark each topic to each “cluster” as you call it.

However, if your site is built in a particularly custom manner you could use the Ghost Content API to pull in all the content and feed it directly into your site. This somewhat adds more complexity, but with that comes more control:

Let us know your thoughts on what would and wouldn’t work for you. I checked the URL you posted but it’s coming up with an error now. Keen to help you out with this one :blush:

1 Like

Hey David, thanks for your suggestions. Apologies for the delayed response. Our developers were finally able to fix and achieve the desired functionality as outlined in my original post just by fiddling with the yaml file and web-server setting.

1 Like

There was typo with the URL I posted originally. The right one is https://recotap.com

1 Like