Skip to content

Magenaut

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

urls

How to set global variable in functions.php

August 3, 2022August 2, 2022 by Magenaut

I want to be able to echo the URL of the featured image of a post and after looking some on the web I found the following which works fine when I put it in a loop in my front page template.

Categories Q&A, Wordpress Tags globals, thumbnails, urls, variables Leave a comment

Outputting Canonical Resource URLs Across a Multisite Network?

August 2, 2022August 1, 2022 by Magenaut

Say a theme “foo” is used on across a network of sites. In each site, all the theme resources (.css, .js, etc.) will have distinct URLs:

Categories Q&A, Wordpress Tags multisite, scripts, templates, urls 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

Creating multiple page URL without creating the pages in WordPress

August 2, 2022August 1, 2022 by Magenaut

I want to create many page URL without actually creating the pages in the WordPress dashboard.
And assigned a particular template.

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

Change the url of Projects in Divi Theme

August 2, 2022August 1, 2022 by Magenaut

I use the Divi Theme for a WordPress website. At the moment, everything in Projects Custom Post, have the same url in the following format:

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

Use a separate upload folder for custom post attachment upload

August 2, 2022August 1, 2022 by Magenaut

So, i’m trying to find out a way to use two separate upload folders, being the default one wp-content/uploads for general media uploads, and another one say wp-content/custom for one specific type of attachments (PDF files attached to one specific post_type).

Categories Q&A, Wordpress Tags custom-post-types, directory, uploads, urls Leave a comment

How do I amend the fixed “author” part in the URL?

August 2, 2022August 1, 2022 by Magenaut

I am creating a localized instance of WordPress and one can easily configure the category and tag parts of the URL but I cannot find anything similar for authors. So for instance I get this:

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

Unwanted media library URLs in posts?

August 2, 2022August 1, 2022 by Magenaut

When doing a bit of Google searching for content on our blog, I noticed to my shock and horror that individual images from the Media Library are somehow generating their own URLs that Google is somehow finding and indexing!

Categories Q&A, Wordpress Tags media-library, urls Leave a comment

Use a template file for a specific url without creating a page

August 2, 2022August 1, 2022 by Magenaut

I wonder if its possible to use a template file for a specific url without having to create a page for that template.

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

Does WordPress keep track of a post’s URL history and provide automatic redirects?

August 3, 2022August 1, 2022 by Magenaut

I just changed the URL of one of my posts from

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