Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"

learn more… | top users | synonyms (1)

1
vote
2answers
88 views

Custom Post Type get_post_type_archive_link( $post_type ) returns false

Permalinks are (finally) working for individual posts of the custom yoga-event type I've created. And archive works without URL rewriting: http://website.localhost/?post_type=yoga-event However ...
1
vote
0answers
49 views

Category base to url in custom post type/taxonomy

I'm building a recipe site that uses custom post types for recipes. So I searched for including the custom post type categories in the url and found a solution below by Milo. It rewrites the url and ...
0
votes
0answers
86 views

Custom WP TItle from custom template with dynamic URL structure

I am new to custom WP development, but I have made a custom plugin. With a custom rewrite I have made the following URL structure: /profile/[company_name]/ I have made a new post Profile with a ...
1
vote
1answer
34 views

Help with rewrite rules for two post types

I'm trying to setup two rewrite rules for two post types. Basically, the structure I want is this: site.com/app/course/xxxx/ => adds query_var course site.com/app/course/xxxx/theme/xxxx/ => adss ...
0
votes
1answer
13 views

Access or edit custom generated permalinks with WP_Rewrite

I want to create custom permalinks for my plugin using WP_Rewrite. I found the codex the have great examples and this stack topic also explained a lot to me. Currently I've got the following code ...
0
votes
0answers
74 views

Post type permalink as subdomain rewrite rule

I'm trying to use custom post type slug on permalink before site URL (as sub domain) so the permalink most look like: http://post-type-slug.example.com I use a modified class from Subdomains plugin ...
0
votes
0answers
26 views

Custom Permalinks for posts with custom taxonomy

I have kind of a unique problem with permalinks and a custom taxonomy that I can't seem to find the answer to. I have created a custom taxonomy called "content_type" which is attached to the "posts" ...
0
votes
0answers
15 views

The Loop doesn't work when using RewriteRule

I am using .htaccess RewriteRule on my page. When user goes to /news RewriteRule actually loads /?nav=news On that page, I use The Wordpress Loop to show recent posts if (have_posts()) { ...
0
votes
1answer
46 views

Multiple query vars sorting combination and url rewrite

I have a custom search page for a custom post type ('program'). There are 4 parameters that can be set up for this search: 'word_search', 'archived', 'category' and 'operating_system'. We can search ...
0
votes
0answers
47 views

Custom Permalink Rewrite for Blog Posts and Archives

I've seen stacks around a lot with mixed results. Basically the goal is to have a URL structure for all default Posts ('post' post type) to be: /blog/postname But also, archives (category/tag for '...
0
votes
0answers
13 views

All sub-sites urls show with main site in address bar

I have enabled subfolder version and MU-domain mappin plugin on Main site zeblog.xyz, Also put in the right (subfolder) .htaccess file My subsite is plumbingservice.info I did the following edited ...
0
votes
2answers
34 views

rewriterule not working

I have post type example with 2 records: exam1 and exam2. This post type was created by plugin Types Toolset (www.wp-types.com). So link to exam1 looks like my_site/example/exam1. Also I have 1 GET-...
0
votes
0answers
58 views

After I changed the slug of a custom post type, the single page returns 404

I created a custom post type using types plugin the post type has ad as slug, but now need to change it to card, and I edited the slug field in the types panel. the thing is that new urls return 404.....
0
votes
0answers
35 views

Modify custom taxonomy permalink to allow 2 additional parameters?

I have a custom post and taxonomy set up. The only section I have in my website are taxonomy archives. The archive page lists the posts from the current taxonomy term. Each post is viewed in a modal, ...
0
votes
0answers
32 views

Rewrite URL query string for all pages

I need to pass query string http://example.com/anypage?query=123 to look like this: http://example.com/anypage/123 and it should work on any page: ...com/anotherpage/123 I am looking for the ...
0
votes
0answers
29 views

override a category with a page using a rewrite rule

I want to override a category with a page using a rewrite rule. The code below works fine. It overrides the education category with the education page. Strangely though I'm getting a 404 on the ...
0
votes
1answer
39 views

variable endpoints for webservice

New to wordpress development, I am working on a plugin that retrieves data from a webservice. I need an endpoint because the retrieved data also depends on the value of the page's metabox, so in ...
0
votes
1answer
34 views

Rewrite Endpoint Url without ? before endpoint

Created Custom Post type called members, don't need a members permalink, but need to link to member patents, if exists for member (which I got figured out). The problem I'm facing is the creation of ...
0
votes
0answers
14 views

How to write custom rewrite rule for custom post

I have make a custom template which fetching result from sugarcrm. and its url is following : http://www.ideadunes.com/newideadune/career/apply-form/?category=Android&job=Android%20Developer&...
0
votes
0answers
105 views

Same slug for custom post type archive and custom taxonomy archive?

"Recipes" is a custom post type and "breakfast" is a term of the custom taxonomy "recipe-category". I want to achieve this: www.mysite.com/recipes/my-tasty-recipe = a single post (recipe) www....
0
votes
0answers
28 views

Rewrite single template permalink?

I have a single template file called single-schools.php. A school "templated" post is reached via the url http://example.com/schools/post. But the site's main language is Swedish, and therefore I want ...
0
votes
1answer
59 views

Rewrite URL Parameter And Force 'Pretty' Permalink

I’m trying to pass a variable via a URL parameter and rewrite + force 'redirect' it. In other words, I have: /dir1/dir2/?my_var=123 and I want: /dir1/dir2/123/ Through the following code in ...
0
votes
0answers
25 views

Get content upon urlrewrite

My goal is to rewrite my custom post type URLs including post's meta values, I achieved it by doing : // declaring my custom post type $args = array( 'rewrite' => false ); register_post_type( '...
0
votes
0answers
32 views

URL rewrites with two post types

I have two post types: car and parts. Now I would like to be able to rewrite the url slug for parts bit differently. Right now it is like this: mydomain.com/parts/some-part-post-slug And for cars it ...
1
vote
0answers
82 views

How to disable URL rewriting for specific URLs?

I'm new to Wordpress, so I might be missing something simple. It seems to me that even with permalinks set to plain, Wordpress makes small changes to URLs. For example: www.example.com/aaa?bbb=ccc ...
0
votes
1answer
17 views

Rewrite Rule added but showing 404 rather than specified page

I have the following rewrite rule function coaching_apply_rule() { add_rewrite_rule('^coaching/apply/', 'index.php?page_id=5156', 'top'); } add_action('init', 'coaching_apply_rule'); Reason for ...
1
vote
2answers
70 views

Remove base slug in CPT & CT, use CT in permalink

I've come quite far, but can't manage to get this to work. I'd like to remove the base slug from my Custom Post Type review and my Custom Taxonomy brand. The final result should be a URL like this: ...
1
vote
0answers
31 views

Why does my URL rewriting only work using two different methods?

For our website, I've built out some "pages" using URL rewriting, with some code that I found here. It worked to have two of these special pages, but it's not working when I try to add a third. I've ...
0
votes
0answers
27 views

Update broke rewrite rule

With the update from 4.4 to 4.4.1 somehow suddenly my rewrites aren't working anymore. I've written a plugin to show attachments on a page (the landing page specifically) so people that come to the ...
0
votes
1answer
55 views

How to use a RewriteRule to change endpoint url

I'm using woocommerce and wordpress. I would like to know how to use a RewriteRule to change my url from: /my-account/edit-address/billing to /account/edit-address/billing and load the endpoint page ...
1
vote
2answers
341 views

How to remove WordPress category from URL and have a custom pagination parameter/rewrite?

I'm trying to remove the Category URI from the WordPress URL and have a custom pagination rewrite. I'll explain exactly what's happening below: So I have a blog. We have two (main) categories: "bar-...
2
votes
2answers
224 views

How to create a permalink structure for posts in a specific category

I am building a single author blog that will include multiple categories. One main category is "Movie Reviews." The author will leave a short review every time they watch a movie - even if they've ...
1
vote
0answers
76 views

Add Taxonomy Subcategory To Permalink

I am using a custom post type (job_listing) and custom taxnomy (job_listing_category) via the Job Manager plugin. I came across a guide in the plugin's documentation, to "add the Job’s category name ...
0
votes
0answers
19 views

URL rewrite for a specific page under every post

The structure for my site is as follows: example.com/%category%/%post-name% There is a specific page called "upload" that I use to upload files to my site. The way that I'm currently doing this is ...
0
votes
0answers
24 views

Any way to make Apache's internal redirect work?

What I really want to do is to make URLs like http://localhost/bmicalc/bmi24.57 to redirect to http://localhost/bmicalc/index.php?pagename=bmi&result=24.57 without changing the URL in the ...
0
votes
1answer
87 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 ...
0
votes
0answers
57 views

My Wordpress url has ?c=6d1368cfbaef at the end

I am new to WP. I am currently building a WP woocommerce website using the theme Envato Bookstore. Active plugins installed: Header and Footer LayerSlider WP PDF Product Catalog 2 (BETA7) for ...
0
votes
1answer
35 views

Hide category name using mod_rewrite

I have a website with at least 3 categories. I have set one of them as the default category. Next step was that I need to have the category slug of the default category to be hidden from the URL slug,...
1
vote
2answers
125 views

Permalinks: Page Not Found

When I open the newly created page in WordPress I get page not found but when I reset the permalinks to none http://localhost/?page_id=6 opens normally . Even with this permalink it works : /index....
0
votes
1answer
29 views

How can I reduce the number of rewrite rules?

I'm building a robust filtering system for my WordPress site, and I really want to have pretty permalinks for the resulting URLs. But because I'm offering a large amount of different filtering options,...
0
votes
0answers
38 views

Permalink structure between 2 custom post types and a taxonomy

Ok here is the scenario. I have a custom post type called "Communities", a custom post type called "Community Posts" and a taxonomy under "Community Posts" called "Communities". The idea here is that ...
0
votes
1answer
24 views

Create a page that can be used for different URLs

How can I create a page that can be served for different URLs? I'd like to write one page with HTML and JavaScript content, and have the JavaScript decide what content to have on the page. example....
0
votes
0answers
98 views

Permalink structure not working with Custom Taxonomy (URL like ./taxonomy/category/postname)

I want to publish and organize issues with WordPress. The magazine is structured into issues (for example Magazine n°23), categories (always the same categories regardless the issue) and finally posts....
0
votes
1answer
40 views

Urls in Custom Post Type work for Terms but not for its Taxonomies

I have created 12 taxonomies for a custom post type and a few terms. On creating new post it looks like this and that is perfect - Taxonomies with terms I have: archive page - url is sitename/...
0
votes
0answers
73 views

Custom permalinks for search with extra parameters

I am trying to change default WordPress permalinks for search because I added few parameters to search.php the url now is like: https://www.example.com/wordpress?parameter1=test&parameter2=text&...
2
votes
1answer
45 views

Add category to custom post URL

I am trying to create custom post with custom taxonomy and categories. Structure is like: Product: Has categories Has taxonomy Custom post type create: function create_alco_custom_post() { $...
0
votes
1answer
77 views

Dynamic URL, not a physical page within the database

Knowing how WordPress essentially processes page requests (through index.php and .htaccess), I'm trying to figure out the best way to "ignore" a certain permalink structure, or rewrite it in such way ...
0
votes
0answers
40 views

Custom URL Rewrite Rule Based on Post Title

I have a Custom Post Type with two Custom Taxonomies attached to it. I've been able to get the URLs to work with both taxonomies but I need the URLs to handle another custom piece in the url that will ...
0
votes
0answers
47 views

How to correctly translate custom posts url rewrites?

I've got a custom post type 'product'. I've just added the rewrite option: 'rewrite' => array('slug'=>__('products','jungle'),'with_front'=> false) Fine. But I want mydomain.com/products ...
4
votes
3answers
249 views

Unique URL Every Time

I have created a small search tool that unless you know the EXACT code, you will not be taken to the post. For example, if I enter "OI812" it will take me to a custom post type that is ../CPT/OI812. ...