Unanswered Questions
1,208 questions with no upvoted or accepted answers
3
votes
0
answers
284
views
Make Category Base Appear in Posts Permalink (but not tags)
I have a slight problem with WP permalink structure.
My aim is to make posts permalink appear with a specific category and it's base, for example:
domain.com/custom-base/%category%/%postname%
And ...
3
votes
0
answers
328
views
Possible to use /%monthname%/ in my permalink structure without using a plugin?
I need to use the following permalink structure so that when I launch the website, the urls will be the same as they were before (moving from a non-wordpress site):
/blog/posts/%year%/%monthname%/%...
3
votes
1
answer
4k
views
Getting a 500 internal server error ONLY on wp-admin/options-permalink.php
I have access to the admin panel, and everything works fine. I can click settings->reading and change anything I want to. But if I click settings->permalinks I get a 500 internal server error. Here's ...
3
votes
0
answers
190
views
Stop redirecting to posts not in a category / duplicate slugs
I have multiple posts with the same title, e.g.
/states/new-york
/cities/new-york
/counties/new-york
but Wordpress doesn't allow duplicate slugs, so they appear like:
/states/new-york
/cities/new-...
3
votes
1
answer
253
views
Plural Category Base Slug On Category Archive Page
I've got a little problem with the category base slugs. Say I have got a category called 'Resources', with the category slug set to 'resource'.
So any post in the category resource will appear with ...
3
votes
0
answers
427
views
Post in Multiple Categories to stay in current category (permalink, next previous post link)
I guess this has been mentioned before, but after 2 days of browsing i haven't find a complete solution. Maybe someone has come across this problem before?
I'm building a designer portfolio where ...
2
votes
0
answers
59
views
@wordpress/env cli doesn't seem to properly update permalink structure until visiting the WP Admin Permalink settings page
I'm using https://www.npmjs.com/package/@wordpress/env to set up a local docker-based WordPress development environment, which has been working great so far. I'm trying to build a script using ...
2
votes
0
answers
138
views
Wordpress auto generates small medium and large of an image on upload, how can we guess their links?
WordPress out of the box has an integrated image sizes system, which creates files ( thumbnail, S, M, L) but in the media library, it only shows one original file size link.
Let's say, I upload a file ...
2
votes
1
answer
187
views
How to write correct add_rewrite_rule in WordPress for more than one taxonomy in one rule?
I have a database of locations and services, made using WordPress , each town / region / county is a custom taxonomy,
I wrote some custom rules to make slug clean but they (site owners) ask to remove ...
2
votes
0
answers
84
views
Disable shortlinks like ?p=1234 to prevent scraping
I have a site with several thousand public pages that use randomly generated slugs for their pretty urls. The content is public in the sense that if someone knows the URL, they can see the content. I'...
2
votes
2
answers
54
views
Permalinks without post type
I use norebo theme
I use it when I open a Portfolio the link is in this format
https://www.hshnorm.com/project/fruit-flavored-powder-juice/
How can I remove the word project
To be the link in this ...
2
votes
0
answers
30
views
Mixed unrelated taxonomy in permalink
we have a situation where we want to build permalinks using mixed (unrelated, ie not hierarchical) taxonomies in permalinks on a wordpress site.
and we dont want the taxonomy name in the actual link.
...
2
votes
1
answer
367
views
Custom permalink structure for posts in specific category
Hi I'm trying to rewrite permalink structure for posts in one specific category, the structure should be category name - author name - post title
When I use the code below, there is no author name in ...
2
votes
0
answers
42
views
Change permalink rule if category is called "uncategorized"
My current permalink looks like this
/%category%/%postname%
Basically I want something like this:
If the category of the post is called "Uncategorized" then change the permalink rule from
"/%...
2
votes
1
answer
402
views
How to change the permalink structure of a master page?
Links on the page I use are progressing as follows: http://example.com/image/1
The code I use for Functions.php
add_action( 'init', 'wpse316713_pagination_base_rewrite_rule' );
function ...