Dear friends,
I'm seeking assistance with setting up permalinks on my WordPress website, where I'm using custom post types. Here’s the structure I want to achieve:
- Profile Archive:
site.com/profiles
- Single User Profile:
site.com/profiles/single-user
I have a good grasp on how to set these up. However, I'm facing challenges with the following:
- Work Archive:
site.com/work
- Single Work Page:
site.com/single-user/work-title
I want the single work URL to be structured as site.com/single-user/work-title
instead of the default site.com/work/work-title
. Additionally, I want site.com/single-user
to redirect to site.com/profiles/single-user
.
How can I configure all of this without creating duplicate content issues in SEO or my search console (like canonical URLs, etc.)?
P.s: I am directory of local artists and their works.
On the work archive page, I’d like to display works as follows:
Artist Name (H1)
Work 1
Work 2
Artist Name (H1)
Work 1
Work 2
Any guidance would be greatly appreciated!
Thank you!
So, I’m going to give you a really lazy answer. Keep that in mind. Permalinks pro works really well for this stuff. I’m not going to link it but you can find it easily enough. I ended up using it and buying it yesterday to manage some specific permalinks that I couldn’t get working.