Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

slug

Remove Slug from Custom Post Type

August 3, 2022August 2, 2022 by Magenaut

I was wondering how i can remove the prefix from the slugs of custom post types using htaccess rules or any other appropriate method.

Categories Q&A, Wordpress Tags slug Leave a comment

Stop WordPress from reserving slugs for media items?

August 3, 2022August 2, 2022 by Magenaut

I am experiencing some odd behavior, that apparently happens “out of the box” with WordPress.

Categories Q&A, Wordpress Tags attachments, media, permalinks, slug Leave a comment

Change the “page” slug in pagination

August 3, 2022August 2, 2022 by Magenaut

Simple question. When pagination is activated, the URL changes to "site.com/page/2". For my site, this should be "site.com/paggetto/2".

Categories Q&A, Wordpress Tags pagination, rewrite-rules, slug, url-rewriting Leave a comment

How do I get a post (page or CPT) ID from a title or slug?

August 3, 2022August 2, 2022 by Magenaut

I’ve scoured the Codex, failed to get get_page_by_title() to work and am quite surprised that there doesn’t seem to be a standard WP function for this task.

Categories Q&A, Wordpress Tags custom-post-types, slug, title Leave a comment

Remove taxonomy base or term from url

August 3, 2022August 2, 2022 by Magenaut

I know there are a lot of posts about this here, but NONE of them have answered my problem.

Categories Q&A, Wordpress Tags custom-taxonomy, slug, url-rewriting Leave a comment

Slug Formatting : Acceptable Characters?

August 3, 2022August 2, 2022 by Magenaut

I have done a lot of googling on this so I sincerely apologize if there is a codex entry for this but for the life of me I can not find a hard and fast rule about what characters are acceptable in a “slug” ( any slug really, but more specifically for a custom post type in this instance).

Categories Q&A, Wordpress Tags custom-post-types, permalinks, slug Leave a comment

Where is the old post permalink slug stored?

August 3, 2022August 2, 2022 by Magenaut

I published an article with permalink slug:

Categories Q&A, Wordpress Tags database, permalinks, posts, slug Leave a comment

Set default (auto) slug prefix for Tags

August 3, 2022August 2, 2022 by Magenaut

Is it possible to add default prefix to the slug of each newly added Tag. So that full slug, would be stored in database (no rewrites).
For example:

Categories Q&A, Wordpress Tags slug, taxonomy Leave a comment

How to make draft posts or posts in review accessible via full url / slug?

August 2, 2022August 1, 2022 by Magenaut

I am running a website with WordPress 4.2 and have changed the way draft posts or posts in review status are displayed to non logged in users (these posts are, too, visible to anyone who visits the website).

Categories Q&A, Wordpress Tags draft, permalinks, query-posts, slug, urls Leave a comment

How to remove certain words from url slug

August 2, 2022August 1, 2022 by Magenaut

Trying to create a SEO plugin, that will remove stop words from slugs.

Categories Q&A, Wordpress Tags php, slug Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress