well it broke my category links, which has never happened to me in 2 years of installing the same program. Also had this happen about 2 months ago, but thought it was because I switched from 2014 to my theme back to 2014 back to my theme….because it did not happen until I did this before, this time it seems as if it has been this way from the start of install.
Any idea why it broke my category links in the past few months and not the past year before that? It’s very new to me at least.
You may have had a plugin that removed the blog slug. Either way, I promise you, if you have a subFolder install of WP, you did too have that blog slug at one point in time and either removed it or had it removed by something.
Yeah I had it but just for blog content, not for custom post types however. They show as their post type slugs, such as site.com/auction/title-goes-here or site.com/listings/title-here
Now they show as site.com/blog/auction/title or site.com/blog/listings/title
And again my custom post type category links did not work because of the bad link, which has never happened to me
This isn’t really resolved. Again for two years your program hasn’t done this and all the sudden it is doing this. Along with other things you tell me “have always been” they haven’t.
So this is totally unresolved by the support team.
I’m sorry you feel that way, but having used Multisite since before the WPMU merge, I can promise you that the blog slug is, has always been, and will for the forseable future, be hardcoded into the permalinks page for WordPress Multisite, when you are using SubFolders.
The fact that you had ‘something’ which changed that which no longer works is not something we can be expected to help you with. We can neither see your site, nor your plugins, nor know what you’ve done.
And again my custom post type category links did not work because of the bad link, which has never happened to me
IIRC you have a theme putting those down. Perhaps you should ask them because /blog/%year%/%monthnum%/%day%/%postname%/ is not a CPT structure.
A proper CPT looks like this: /CUSTOMPOSTTYPE/%postname%/
If you have a CPT that is, somehow, forcing in YYYY/MM/DD into that, it’s probably the manner in which they did weird things that has subsequently broken.
A proper CPT looks like this: /CUSTOMPOSTTYPE/%postname%/
That is what I’m saying, mine all the sudden is not, it has /blog/ added in front of it, and also, suddenly on a new install, my category links did not go to the categories because that had /blog/ in front of the slug folders
But never before? Always blog was for blog posts and CPT was without /blog/ in front of it
You said your old CPT was /%year%/%monthnum%/%day%/%postname%/ though. Is that not true?
Because that also is not what a CPT looks like.
Honestly, I think your theme was seriously messed up in how it created CPTs.
That’s what showed in permalinks, yes. The theme hasn’t changed in like 8 months
That doesn’t mean that the issue isn’t the theme. In fact, it’s possible your theme always had a bug and only newer versions of WP brought it out. That happens y’know.
No one else has reported weird permalink snafus like this with CPTs, so I really think the most logical issue here is your theme … sucks.
Jay
(@jaymyers)
I have been banging my head against the wall, for what I believe the same issue. I am writing this to make sure I am clear and can move on…
the /blog added to the permalink structure only happens when the installation is installed on a subdirectory of the root, correct?
Because i have another fresh install in the root (public_html) but in that install I have subdomains set up.
My subdirectory install is only going to be used as a sandbox, but I was really hoping to get it as close as possible as my production install.
It’s not possible with WP 4.X to just get http://domain.com/category/postname on a sub folder install? But it is on a sub domain install in the root?
I have read post from back in the WP 3.X days where this ws an issues and there were work-arounds. But this appears to be some kind of fail-safe coded in…for what reason I am still not clear about. Just wish I would have found this thread much earlier….I think.
the /blog added to the permalink structure only happens when the installation is installed on a subdirectory of the root, correct?
Correct.
It’s not possible with WP 4.X to just get http://domain.com/category/postname on a sub folder install? But it is on a sub domain install in the root?
Correct.
You CAN force it in the site settings, of course, but it would be better to just make your dev site use subdomains instead. If you need help with THAT, please make a new topic for yourself π