Skip to content

Magenaut

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

urls

How to get permalinks with category base working with sub-categories

August 3, 2022August 2, 2022 by Magenaut

I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight…

Categories Q&A, Wordpress Tags 404-error, categories, hacks, permalinks, urls Leave a comment

How to prevent automatic redirection of 404 errors and “incorrect” URLs?

August 3, 2022August 2, 2022 by Magenaut

WordPress has a feature whereby it will automatically redirect your URLs if it percieves them to be written wrongly. Here is an example: I have a page called my-page

Categories Q&A, Wordpress Tags 404-error, redirect, rel-canonical, urls Leave a comment

Custom plugin route in WordPress

August 3, 2022August 2, 2022 by Magenaut

Okay so my question is quite simple. I need to implement some custom routing rules for my plugin. Those routes would only take one argument (so nothing complicated) and would look like : http://www.example.org/myroute/myargument

Categories Q&A, Wordpress Tags map, urls Leave a comment

remove “index.php” from permalinks

August 3, 2022August 2, 2022 by Magenaut

I have been trying to find a solution. but I can’t..

Categories Q&A, Wordpress Tags mod-rewrite, permalinks, rewrite-rules, url-rewriting, urls Leave a comment

How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?

August 3, 2022August 2, 2022 by Magenaut

I’m using a plugin called Simple Local Avatars which lets me upload author images which are stored on my server locally (no Gravatar). The plugin works fine and get_avatar returns the local avatar.

Categories Q&A, Wordpress Tags avatar, images, urls Leave a comment

How to add category to: ‘wp-admin/post-new.php’?

August 3, 2022August 2, 2022 by Magenaut

I want to have a link to create a new post that sets the category also.

Categories Q&A, Wordpress Tags categories, post-meta, posts, rest-api, urls Leave a comment

Linking comments from registered users to their profile pages

August 3, 2022August 2, 2022 by Magenaut

I am trying to find a way to link the ‘username’ in comments from registered and logged in users to their profile pages instead of their website URL. And comments from unregistered users to their website URL as usual.

Categories Q&A, Wordpress Tags comments, profiles, urls Leave a comment

Multiple endpoints to same page

August 3, 2022August 2, 2022 by Magenaut

I’m doing a bit of AB testing, and am looking for a way to point multiple endpoints to the same page in wordpress. My site is using wordpress as it’s CMS tool.

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

Login to wp-admin “redirect_to” points to wrong URL after migration

August 3, 2022August 2, 2022 by Magenaut

I have a WordPress site hosted on GoDaddy, it’s a Windows server, (i have the web.config set up). and .htaccess correctly configured. The site was working on example.com/wordpress , as it was a development test. I moved the site to example.com .

Categories Q&A, Wordpress Tags redirect, site-url, urls, wp-admin, wp-redirect Leave a comment

How to have a custom URL structure for a custom post type?

August 3, 2022August 2, 2022 by Magenaut

Even though this question sounds like others here is my problem:

Categories Q&A, Wordpress Tags custom-post-types, url-rewriting, urls Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 Page6 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