percentsharp
Junior Member
- Mar 5, 2014
- 110
- 19
Hi all,
I'm working with a developer to create a plugin that generates pretty permalinks for custom post types. Without getting into the details of why it functions this way, the plugin dynamically writes:
Then, when one clicks through to a post in that category:
This also happens with subcategories:
And down to the post level:
I've stated that from an SEO POV this is problematic -- any authority that is pointed at site.com/parentcategory-categoryIDstring/ will not pass down to site.com/parentcategory/post-postIDstring/ because parentcatogry's URL is different (the IDstring portion is removed). Obviously one could redirect but that'd be ugly.
The developer states:
I'm working with a developer to create a plugin that generates pretty permalinks for custom post types. Without getting into the details of why it functions this way, the plugin dynamically writes:
Code:
site.com/parentcategory-categoryIDstring/
Then, when one clicks through to a post in that category:
Code:
site.com/parentcategory/post-postIDstring/
This also happens with subcategories:
Code:
site.com/parentcategory/subcategory-categoryIDstring/
And down to the post level:
Code:
site.com/parentcategory/subcategory/post-postIDstring/
I've stated that from an SEO POV this is problematic -- any authority that is pointed at site.com/parentcategory-categoryIDstring/ will not pass down to site.com/parentcategory/post-postIDstring/ because parentcatogry's URL is different (the IDstring portion is removed). Obviously one could redirect but that'd be ugly.
The developer states:
"This isn't correct; For authority to pass down the category pages need to link to the final post pages. The point of any rewrites is to have keyword rich urls not to match a specific structure only the entire way down. So if /parentcategory-categoryIDstring/ links to a post page (which it obviously does) then all of its potential PR link juice will flow fine. And the retaining structure (without the id) of /parentcategory/post-postIDstring/ retains the keywords in the urls as desired.
"I think what you are thinking is that the structure of the category has to match the url parts of the post for it to have the most effect -- thats not really true. The posts can have different urls and still work well as they are linked to from the category page and they link back to them also."
​Who is right??"I think what you are thinking is that the structure of the category has to match the url parts of the post for it to have the most effect -- thats not really true. The posts can have different urls and still work well as they are linked to from the category page and they link back to them also."