1
vote
0answers
21 views

How to rewrite the post URL according to the category?

I have 1000 posts in my website, half of them are in difference categories and another half is in category called "blog". Current permalink structure is: http://xxxxx.com/articles/%postname% - this is ...
0
votes
1answer
28 views

I need to display post related info

WordPress CPT URLs are displayed at this format: www.example.com/cpt/post-slug. I need to have URL like this www.example.com/cpt/post-slug/rating that will include rating details for corresponding ...
2
votes
0answers
18 views

Migration from Squarespace to WordPress: Remove leading 0 from %monthnum% in permalinks [duplicate]

I need my WP permalinks display months without using any zeros in the URL i.e. /1/ instead of /01/ for January. I'm moving my blog from Squarespace to Wordpress and I obviously want to keep all my ...
0
votes
0answers
46 views

WP No Base Permalink only works with logged user (admin)

(My apologies for my poor English, I'm french) I just want to have a shorty URL for all page of my WP Site: www.example.com/wordpress-answers-is-a-good-site for my posts insteads of ...
0
votes
1answer
30 views

How to keep the /blog slug even in single post slug

I have a simple website on wordpress (latest version), assume example.org. I wanna have the user posts at something like example.org/blog/username/posttitle. So I need some levels: 1) ...
0
votes
0answers
47 views

Custom Taxonomy Term in Custom Permalink Gives 404

I developed a small plugin to be able to add a custom taxonomy as a string to a post. I've included the variable in a custom permalink string. This string is used by Apache to determine if external ...
0
votes
0answers
29 views

Wordpress permalink need taxonomy after postname

I got a problem with wordpress permalink. The site below is using directorypress theme, I need to to show the post url in this format post-name/state/city where country->state->city are in parent ...
0
votes
2answers
189 views

Post titles and thumbnails as links to custom post types?

I am struggling with the php structure. How do I need to rewrite the code to get the links to the titles and thumbnails of the custom posts? <ul class="thumbnails"> <?php $pfportfolio = ...
2
votes
1answer
248 views

Menu Link Redirect Based on Username or User ID

I am building a client portal where my clients can log in and see all their pending projects, completed projects and create new projects. Though I'm stuck at the start. The dropdown menu is called ...
0
votes
1answer
33 views

Permalink structure as code in back-end?

I have this permalink structure: /%year%/%monthnum%/%postname%/ What I want to is, output the link of a post in the back-end and let users input a postname, that will automatically lead to that post ...
0
votes
2answers
98 views

Permalinks problem with custom theme

I am pretty much learning by doing a custom theme from scratch (not a child theme), and have had much trouble with permalinks. In the permalinks settings page on the wp-admin, if I put any option ...
1
vote
0answers
132 views

Rewriting single post url; add_rewrite_rule problem?

I have to customize single post permalink (the structure of the permalink) if posts have a certain value in a certain custom fields. I use the filter post_link to change permalink when needed, and ...
5
votes
1answer
267 views

Wordpress Permalink changes to question mark (?) in URL

My Permalink custom url is /%post_id%/%postname%/ and my website is in Persian language, for some posts the Permalink is change in URL from ...
-1
votes
1answer
62 views

Custom permalinks structure

I would like to have this structure: www.mysite.com/2013 (must show all posts of 2013) www.mysite.com/my-category/2013 (must show all posts of 2013 and of category "my-category") ...
0
votes
1answer
251 views

Don't change Custom Post Type slug to unique value

I have a situation where it is needed that if I create two CPT pages wich both have the same name and the same slug. For example, if I add two CPT pages, wich both called "Post Name": The first slug ...
2
votes
2answers
996 views

Redirect old permalinks to new permalinks

I changed the permalink structure from /%category%/%postname%/ to /%year%/%monthnum%/%postname%// How can I redirect all old posts to the new ones (eg: via htaccess)?
1
vote
1answer
119 views

Permalink structure by Post Meta value

I have the following issue: Two Custom Post Types, lets call them cpt1 and cpt2. In cpt2, I have a custom meta box in which you can select a post from cpt1, its post ID is stored in a meta value ...
1
vote
1answer
2k views

Can a custom post type have a Parent Page?

I've seen a lot of posts out there in the Webiverse about assigning a page as a parent of a custom post type. After four hours I can't find a solution and need some help. I've create an "About" page ...
0
votes
1answer
508 views

Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?

Is wordpress capable of having hierarchical taxonomy and hierarchical custom post types in one permalink ? I would like to do the following: tax-1/tax-2/cpt-1/cpt-1-post/cpt-2/cpt-2-post/ in other ...
1
vote
0answers
58 views

Advanced author permalinks

I'm trying to build permalink structure for author archives that would allow me to display different custom post types posts in 'subpages/subarchives' of author archive. So the idea is to change ...
0
votes
1answer
33 views

URL to an image in a post is changing when permalink is set to custom. Can I avoid this?

I have a buy-button image set in all posts on the entire site. When permalink settings are default the URL to that image file is www.mydomain.com/images/buy-button.gif. When permalink settings are ...
1
vote
1answer
292 views

Programmatically adding posts

I'm about to create parser which would be inserting new custom posts. So, it's pretty simple global $user_ID; $new_post = array( 'post_title' => 'My New Post', 'post_content' => 'Lorem ...
-1
votes
1answer
171 views

Redirect Loops Problems

I don't know what happened actually. Yesterday, it was just working fine. I recalled what I did to put me in this difficult situation this morning. Yesterday, I was just editing posts with ...
1
vote
1answer
701 views

Remove Custom Taxonomy Slug from Permalink

I have a registered custom taxonomy called articles to my posts. So if I have a term called reviews, the link to my custom taxonomy reviews archive would be www.mysite.com/articles/reviews/ . I would ...
2
votes
2answers
1k views

Custom permalink structure only for default posts

Does anybody know how to modify the url struct only for the single post page? When I go to a post page, the url should look like: example.com/xxx/my-post. All other urls (with the exception of the ...
6
votes
4answers
2k views

How do I append multiple taxonomies to the URL?

Multiple taxonomies in URL How does one append multiple taxonomies to the URL having the following: Post Type: products Taxonomy: product_type Taxonomy: product_brand Adding new ...
-1
votes
1answer
104 views

Does anyone have the Custom Post Permalinks plugin from John P. Bloch? [closed]

Can you upload it somewhere or send to my email?
0
votes
2answers
178 views

How do I change my permalink structure to a custom structure on an established blog?

I've got a blog that's about 15 months old with around 160 posts. Right now my permalink structure looks like this (example): ...
1
vote
1answer
182 views

Wordpress Custom File Permalink

Guys i have a custom file that is not part of the wordpress and its not a part of the plugins. How can i add it to the permalink solution? For example: Custom file name - example123.php Permalink ...
2
votes
3answers
2k views

Multiple post types - share same ReWrite slug?

I've run into another wonderful 404 issue. I'm trying to have 2 seperate post types that share the same rewrite slug. I've flushed my rewrite rules, and when I test only 1 of the CPT works- the ...
2
votes
1answer
1k views

Extend the wp_get_archives output with '?post_type=foo'?

I've gotten my custom post types to display as it should in date based archives; the structure example.com/year/month/day (and above) works properly as long as it's extended with ...
2
votes
1answer
1k views

Custom post type permalinks breaking due to 3.1 bug fix

So I just updated a site to 3.1 that uses several custom post types. When I had made the site I had not noticed at the time the $post_type parameter for register_post_type has to be in all lowercase ...
0
votes
1answer
185 views

Post with no tag permalink problem

Firstly my problem was the %tag% in the permalink, but I resolved it with this patch: %tag% in permalink not working So my custom structure now looks like this: /%category%/%tag%/%postname%/ And ...