Skip to main content

Unanswered Questions

1,578 questions with no upvoted or accepted answers
2 votes
0 answers
953 views

Remove "/page/1" from the URL

The built-in permalinks in WordPress remove /page/1/ from the url of first page in the archives. However I added following custom rewrite rule add_rewrite_rule('xxxx/page/([0-9]{1,})/?$','index.php?...
2 votes
0 answers
63 views

Changing Custom Permalink with Filter

I think I am probably missing something very basic here... I am using the following filter to change the format of the permalink to include a custom taxonomy: Function wpse_56769_post_link( $...
2 votes
0 answers
221 views

add_rewrite_rule won't work

I did it in the past and it did work. But this time it won't work and I can't figure out why. The difference is the version of Wordpress and the version of WPML. So, I have the latest version of both:...
2 votes
0 answers
82 views

Adding the taxonomy before the custom post type

I have a custom post type named landings which has a rewrite rule to change the slug to loans and a custom taxonomy provinces and I want the custom post type to have the slug of the province in the ...
2 votes
0 answers
24 views

Link post permalinks to subdirectory /post

How can I get '/posts/' before my posts without affecting pages and post-types? When I change the permalink settings in the wp-admin all changes. I only want the posts to change. I made an Blog ...
2 votes
0 answers
164 views

Rewrite my default post URL

I want to have this URL structure for my default post type : domain.com/blog/{post_ID}.php For other pages and post, I want a classic URL like : domain.com/page/sub-page/sub-sub-page/... In the ...
2 votes
1 answer
3k views

Can two products with the same name but different category produce unique URLs?

In the permalinks settings I have /courses/%product_cat%. Using WooCommerce I created two different Courses that are named "English", but they have different categories that end up making my urls look ...
2 votes
0 answers
59 views

Map alt domain to specific section of website w/o MU

I have one website on which I want to use multiple domain names. The URL pattern on the existing looks like this: Main domain: - shop.com - shop.com/products - shop.com/...
2 votes
1 answer
959 views

Permalinks broken regularly

On one of my sites the permalinks are broken regularly. After saving them again it's all fine but a few days later the permalinks result in not found and I have to save them again. There are no ...
2 votes
1 answer
48 views

.htaccess rewrite rule puzzle

Because I need to password protect a subdirectory using cPanel, I modified Wordpress's .htaccess rule as instructed here: https://wordpress.org/support/topic/password-protect-a-directory-with-htaccess ...
2 votes
0 answers
3k views

multiple url slug for single custom post type

I have created a custom post type for events. Now within events post type I have created 2 categories. One is 'event' and another one is 'workshop'. The 'event' category post url looks like http://...
2 votes
1 answer
1k views

Rewrite URL - insert custom variables as a directory path

I'm trying to re-write permalink structure with my own custom url in WordPress for a Divi Theme "project" I have already changed the "Divi slug" from "project" to "prodotti" so currently, the URL ...
2 votes
1 answer
494 views

Custom post type and taxonomy permalinks - Structure

Been trying to get a nest of custom post type and taxonomy working (even took a look here) but couldn't get it working 100%. Here is the thing, I created a custom post type texturas_temp and a custom ...
2 votes
0 answers
2k views

Add hierarchical taxonomy to permalink for custom post type

I've found various questions about this issue, and I still can't get this to work. I have a post type called "product" and a taxonomy called "type". I'd like the URL for a single product post to be: ...
2 votes
0 answers
3k views

change default post archive page link

I can't figure how to change the default post archive link. I've got few custom post types (for instance video_news, slug video), if I type www.blogname.com/video I get the archive.php. And every ...

15 30 50 per page
1
3 4
5
6 7
106