Skip Navigation

[Resolved] Post slug changes "blog" to "website"

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 13 replies, has 2 voices.

Last updated by Shane 5 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1243712
Screen Shot 2019-05-14 at 12.01.25 PM.png
Screen Shot 2019-05-14 at 11.58.31 AM.png

I am trying to: Create custom post type using slug "clean-tech-blog." However, the actual permalink changes to "clean-tech-website." You can see in the WP admin dashboard screenshot URL that the slug is indeed "clean-tech-blog" but the actual permalinks to the posts use "clean-tech-website."

Link to a page where the issue can be seen: hidden link (when it should be hidden link)

#1243770

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I see what you are saying. The slug to the CPT should actually change as well.

Could you try resetting your permalinks by going to Settings -> Permalink and changing the structure, hit save and then change it back to post name and hit save once more?

Thanks,
Shane

#1243780

Changing the permalink structure doesn't change the post type slug. It still says "clean-tech-website."

#1243797

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I see you are using older versions of our toolset plugins. Could you update the Types plugin to the latest versions as this could've been a bug in those versions.

Thanks,
Shane

#1243803

Okay, I'll see about updating the plugins. It may be a few days before I can do so, but I'll follow up once it's done.

#1243823

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Great thanks just post to me the results as soon as you can and we can take it from there.

#1246638

I've updated Types to v3.3 and the issue still persists. I've updated permalinks and changed the post slug from "clean-tech-blog" to "clean-tech-posts" and back to "clean-tech-blog" but the post URLs are still showing as "clean-tech-website."

#1246703

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Would you be able to provide access to the site so that I can check on the issue? The private fields have been enabled for your next response.

Please let me know.

Thanks,
Shane

#1246794

Unfortunately I cannot give you access to our WordPress site since it is a closed login system for a university. Is there anything else I can do to help?

#1247080

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

No problem.

Since from the screenshot you are working with only a sample post in that CPT. Not sure if more posts were added as yet but I would recommend that you delete this cpt and then re-create it with the new slug.

Thanks,
Shane

#1247235

I deleted and recreated the CPT. The issue still persists. Regardless of what the slug is, "blog" gets replaced with "website" in the permalink URLs.

#1247288

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Since i'm not able to log in, are you able to provide a copy of this site ?

Secondly is there any custom code on the site ? Something seems to be appending "website" to the url.

Please let me know.

Thanks,
Shane

#1252219

This is a custom environment, but I doubt we have anything that would change the post slug. Can you confirm on your end that Toolset doesn't change "blog" to "website"?

#1252297

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I can confirm that this does not happen on our end here.

From your initial screenshot the post type on the backend has the correct slug "clean-tech-blog" so something is interfering with the normal operation of the plugin.

Thanks,
Shane