The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
12 views

Remove custom permalink structure from custom post type without modifying register_post_type() directly

I'm using a custom permalink structure for my posts, /blog/%postname%/. I installed a plugin which registers a custom post type, glossary. I don't want this post type to use the custom permalinks ...
0
votes
0answers
21 views

posts not show after changing permalink [on hold]

I changed My Permalink in setting area in the dashboard menu After changing the permalink, the setting worked and changed the links, but posts content are not showing up and the links go to not found ...
0
votes
1answer
26 views

Modify get_permalink with a specific filter

I'm trying to modify the get_permalink function to return a custom url, as: function my_function( $permalink, $postID ) { $external_link = get_post_meta( $postID, 'external_link', true ); if( ...
0
votes
0answers
31 views

whats is the perfect configuration to .htaccess for permalinks?

I have wordpress site with the normal url, when i try change this to permalinks, wordpress says 404 not found in the other pages that not is the home. after of search in the codex, i found that the ...
4
votes
1answer
76 views

Handle category name URL rewrite before different post type slugs

I went over a hundred similar topics here which were close to what I need, but unfortunately I wasn't able to fine tune this so apologies if it's a duplicate. I have a several post types (such as ...
0
votes
2answers
42 views

How do I override the user's input when updating a custom post type's permalink?

When publishing a custom post type, I'm trying to override the custom permalink based on code rather than what the user types into the input box. I can confirm my action is firing correctly, but I'm ...
0
votes
1answer
56 views

Make custom user_meta as permalink for post

For an existing custom_user_meta="user_name" how can i create a permalink for post submitted by that user in the URL. e.g. - for user_name="srk489" i want the permalink of the post "post1" posted by ...
0
votes
0answers
30 views

Custom permalink parameter isn't enforced

I'm trying to create a custom permalink for my posts based on a custom field. I'm most of the way there but I'm struggling with the last part. My goal permalink structure is as follows: ...
0
votes
0answers
69 views

Custom permalinks with custom taxonomy children show 404 error

I'm having the following problem. I've made a custom post type which is called Products. Products has a slug of "products". I've also created two custom taxonomies. One is Product Category (which acts ...
0
votes
0answers
70 views

Hierarchy of Subcategories on Permalink

I'm new to Wordpress. My current permalink is set to /%category%/%postname%/ and a "." (dot) in the Category base. My categorys ID are bigger than the subcats IDs. So the URL looks like this: ...
0
votes
1answer
68 views

How to link to specific part of a page in wordpress permalinks

I have a one page template(muse theme) which its main menu items link to a specific part of the page in the webpage itself. I want to add # character before post name to go to the specific part of the ...
2
votes
1answer
523 views

Add specific word to default page permalink

Right now I am working on one of my client's project. Its all about amazon product display. My client wants me to change the permalinks of all posts, pages, serch results, archive pages, ...
0
votes
1answer
377 views

Custom Structure permalinks error 404

i have changed the wordpress custom structure permalink to /%post_id%/%postname%/ and get this error : 404 Not Found The requested URL /mysite/blog/1/hello-world/ was not found on this server. ...
0
votes
1answer
878 views

Adding an extra parameter [string] to my posts' permalink?

I've been searching the internet for 6 hours now, so I decided to ask this in the forum and would appreciate every help. I just want my permalink to say (e.g. portfolio, post, etc) ...
0
votes
1answer
60 views

Custom post type 404 error on “default” or “numeric” permalinks

I wrote a plugin for WP.org that uses a custom post type with the slug "reading-list" and I cannot view mysite.com/reading-list/ when I have either the "default" or "numeric" permalinks setting in ...
1
vote
3answers
263 views

Custom permalink with two parameters

I am using custom structure for permalink: /%postname%/%page%/%year%/. When I navigate to http://wordpress-serv/projects-teams/designers/19/2013, it gives me 404 "Page not found". Nonetheless, it ...
0
votes
2answers
91 views

How to embed a new string in url?

I am creating a custom tours and travel theme in which I have created custom post type Cities, Locations, Destinations and i am using custom permalink structure. /%category%/%postname%/ So now I want ...
0
votes
1answer
35 views

What is the simplest way to create a redirect

If I have a custom post type called Drink which has permalinks like /drink/pepsi/ then /drink/ will list all of the Drinks. How can I rewrite /drink/ to /drinks/? I want permalinks for single Drinks ...
0
votes
1answer
436 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 ...
0
votes
1answer
99 views

Custom permalink to make a page respond properly

I've built a complete MVC framework that integrates perfectly well into Wordpress. This framework also provides a simple to intermediate implementation of a ReST interface (the real one with ...
2
votes
1answer
160 views

How to assign a Permalink to a Function

In Drupal, you can assign a URI to a function that gets called, like this: function mymodule_menu() { return array( 'custom_uri' => array( 'page callback' => ...
2
votes
3answers
5k views

How to call a plugin function from index.php [closed]

I have created a function in my plugin myplugin with the name foo, how to call it from the frontend? e.g. index.php?
1
vote
1answer
448 views

How do I prefix blog post urls as mysite.com/blog/%postname%/ but allow authors to still be located at mysite.com/authors/%nicename%?

I've tried a bunch of things but cannot find a solution that works. I want my site to have the structure: mysite.com/ = homepage mysite.com/blogs/ = blog archive mysite.com/blogs/year/ = blog ...
0
votes
1answer
856 views

Custom post type, permalink, add query variables problem

Doing something wrong, can't figure out what..Any help is highly appreciated for sure! I have a custom post type which I want to add query vars to in permalink structure.. So far so good.... This is ...
1
vote
1answer
1k views

Specifying multiple categories in URL (permalink)?

For example: http://www.example.com/dell/studio/studio-1558 where dell and studio are categories A few months back I heard from someone that it is not possible. I need to know why? Which part of code ...
0
votes
9answers
7k views

Why permalinks work with /index.php/%postname% but not with just %postname%?

I'm having a problem with Wordpress permalinks. I change the permalinks to pretty permalinks but I am just getting 404s for the pages now. The strange thing is when I use /index.php/%postname% the ...
0
votes
3answers
209 views

Changing permalink of WordPress

I am pretty new to this and hence facing a bit of a problem. Currently I am designing a website on my localhost using WordPress. I noticed that the permalink structure wasn't very appealing in the ...
1
vote
2answers
192 views

Help With Rewrite_Rules For a Custom Plug-In

I've been reading through this question and answer with great interest as I'm trying to achieve something very similar, but I'm failing and was wondering if someone could help me out. I am also using ...
2
votes
2answers
213 views

404 errors after plugin options update and category base change

I'm calling the function below after each "save changes" on my plugin's settings file via the sanitization callback. The plugin allows the end user to change their category base, and needs to ...
1
vote
1answer
705 views

Pros and cons of using [taxonomy name] in place of [category name]?

We are currently in development on a new site. Categories (& tags) are pretty much meaningless for us because we've implemented custom posts & taxonomies. By default, because I have enabled ...