Skip to content

Magenaut

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

url-rewriting

Add .html (dot HTML) extension to custom post types

August 4, 2022August 3, 2022 by Magenaut

Is there any way to add the .html extension to custom post types without plugin ?

Categories Q&A, Wordpress Tags custom-post-types, permalinks, url-rewriting, urls Leave a comment

How to Rewrite WordPress URL for a Plugin

August 4, 2022August 3, 2022 by Magenaut

I am trying to build a WordPress plugin here with a custom user admin area. What I would like to do is when the user adds /edit at the end of the page, it should open a page from my plugin. So for example

Categories Q&A, Wordpress Tags endpoints, plugin-development, rewrite-rules, url-rewriting, urls Leave a comment

Mixing custom post type and taxonomy rewrite structures?

August 4, 2022August 3, 2022 by Magenaut

Basically I want to achieve a glossary using custom post types and have some issues setting up rewrites the way I want them to be. I want it like that:

Categories Q&A, Wordpress Tags custom-post-types, custom-taxonomy, permalinks, url-rewriting Leave a comment

Removing base slug from hierarchical custom post type

August 4, 2022August 3, 2022 by Magenaut

I have a hierarchical custom post type called “state”. My goal is to have a permalink structure like thus:

Categories Q&A, Wordpress Tags custom-post-types, url-rewriting Leave a comment

Using the Rewrite API to Construct a RESTful URL

August 4, 2022August 3, 2022 by Magenaut

I’m trying to generate rewrite rules for a RESTful API. I just want to see if there is a better way to make this work than having to write out every possible rewrite combination.

Categories Q&A, Wordpress Tags api, endpoints, rest-api, rewrite-tag, url-rewriting Leave a comment

Making a plugin file accessible via url rewrite?

August 4, 2022August 3, 2022 by Magenaut

In my WordPress plugin I have a php file that generates some stats about the blog and outputs it as a simple text file. To access WordPress functions I’ve included this at the top of the file:

Categories Q&A, Wordpress Tags mod-rewrite, plugin-development, redirect, url-rewriting Leave a comment

Two (or more) parallel (sub-)TLDs that are retained when surfing the site / dynamically set the site address?

August 4, 2022August 3, 2022 by Magenaut

I am running a site for a German NGO under the domain sub.example.org.
Recently, I added sub.example.ch for its Swiss spin-off.

Categories Q&A, Wordpress Tags site-url, url-rewriting Leave a comment

How to redirect/rewrite all /wp-login requests

August 4, 2022August 3, 2022 by Magenaut

Is there any simple way to have wordpress, php or apache rewrite all urls which involve /wp-admin to /admin?

Categories Q&A, Wordpress Tags login, url-rewriting, wp-admin Leave a comment

How to add dot(“.”) in post slug

August 4, 2022August 3, 2022 by Magenaut

How to add dot(.) in post slugs?

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

Permalink rewrite with custom post type and custom taxonomy

August 4, 2022August 3, 2022 by Magenaut

I think thats a quick one:

Categories Q&A, Wordpress Tags custom-post-types, custom-taxonomy, permalinks, rewrite-rules, url-rewriting Leave a comment
Older posts
Newer posts
← Previous Page1 … Page7 Page8 Page9 … Page14 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