You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/docs/how-to/sitemaps/index.mdx
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,3 +70,23 @@ export function getServerSideProps(ctx) {
70
70
```
71
71
72
72
Run the dev server again and visit the sitemap URL. You now have WordPress content and Next.js content in your Faust app.
73
+
74
+
## 4. Changing the sitemap URL for other WP SEO plugins
75
+
76
+
If you prefer to use a different sitemap instead of the default one provided by WordPress, Faust allows integration with other WordPress SEO plugins like [Rank Math](https://rankmath.com/) or [Yoast SEO](https://yoast.com/wordpress/plugins/seo/).
77
+
78
+
Simply update the `sitemapIndexPath` argument to point to the plugin's sitemap URL.
0 commit comments