Skip to content

Magenaut

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

permalinks

How to get post permalink url without a href

August 4, 2022 by Magenaut

I need code to get post url without a href, for example: <a href="http://mywebsite.com/permalink" rel="permalink">single post title</a>

Categories Q&A, Wordpress Tags links, permalinks, php Leave a comment

add all blog posts to folder

August 5, 2022August 4, 2022 by Magenaut

I want to add all the blog posts to the /blogs/the-post-name type structure. I can do this through the permalinks settings with:

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

how to get a list of all top level pages

August 5, 2022August 4, 2022 by Magenaut

I am trying to figure out how to get a list of the permalinks for top-level pages only. My goal is to put them in a selection box on a form. I have spent a couple of hours searching here for an answer to no avail. I was hoping someone could point me in the right direction.

Categories Q&A, Wordpress Tags pages, permalinks Leave a comment

Edit Post Permalink option removed, looking for possible causes

August 5, 2022August 4, 2022 by Magenaut

The edit post permalink button is totally removed ( not hidden with css ) from the edit view – but the slug is still editable from both the Quick Edit view and also via the “slug” panel which I can show from Screen Options.

Categories Q&A, Wordpress Tags filters, javascript, permalinks Leave a comment

Custom post type – how can I make it a sub-url of another page?

August 5, 2022August 4, 2022 by Magenaut

I’ve created a custom post type “testimonials” — works fine, except I want the url to be “domain.com/results/testimonials” instead of “domain.com/testimonials”

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

Woocommerce posts and products links works only once and then get 404 error

August 5, 2022August 4, 2022 by Magenaut

Permalink to products and post of my website getting 404 error. after saving the permalink type in Setting -> Permalink page they will work correctly. But if I refresh the links they get 404 error again. Actually the links work only once.

Categories Q&A, Wordpress Tags 404-error, htaccess, permalinks, woocommerce-offtopic Leave a comment

Permalinks by page/post name returning 404

August 5, 2022August 4, 2022 by Magenaut

All my content is currently setup as pages. I want to setup permalinks with page names. I read some posts online that said choosing %postname% path should render the content. But this does not work. When I access a page, I can see that the link is being updated with the page name, but it returns a 404.

Categories Q&A, Wordpress Tags 404-error, pages, permalinks Leave a comment

Custom permalink structure for custom post types including multiple taxonomy

August 5, 2022August 4, 2022 by Magenaut

The goal is to have a structure like this: example.com/tax_1/tax_2/post_name

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

Permalinks: custom post type -> custom taxonomy -> post

August 5, 2022August 4, 2022 by Magenaut

I am having trouble working with WordPress rewrite rules, and could use some help.

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

Get default permalink structure from pretty URL’s

August 5, 2022August 4, 2022 by Magenaut

When a single post is clicked on from a category page or for that matter any page, you can get the URL of that referrer and parse it to get the query string. But this only works with the default permalink structure

Categories Q&A, Wordpress Tags permalinks, urls Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … Page15 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