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)

0
votes
1answer
23 views

Change default URL structure on post creation

I currently use Post name for the permalink structure. I want to add text from a field at the end of the permalink. Is there any hook for the permalink creation when a Post is published? In my case, ...
0
votes
1answer
15 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 ...
-1
votes
0answers
11 views

Taxonomy based dynamic rewrite

I have a hierarchical taxonomy, something akin to: Term1 Term1/Subterm11 Term1/Subterm12 Term2 Term2/Subterm21 ... And I'd like to get all the posts for a given taxonomy when accessing ...
0
votes
0answers
20 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
27 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
25 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
14 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
1answer
23 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
22 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
21 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
14 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
265 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: ...
2
votes
2answers
168 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
9 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
13 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
10 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
30 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
34 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
22 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 ...
1
vote
2answers
56 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 : ...
0
votes
1answer
23 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 ...
0
votes
0answers
16 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
23 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. ...
0
votes
0answers
40 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 ...
0
votes
1answer
36 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 ...
0
votes
0answers
33 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: ...
2
votes
1answer
29 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
34 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
16 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
25 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
153 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. ...
2
votes
1answer
14 views

how to get archive urls with same origin for custom types and terms?

This is perhaps a strange question adn maybe doesn't have answers, but I'll try. custom post type: product custom taxonomy 1: product_category custom term: type1 custom taxonomy 2: product_feature ...
1
vote
0answers
17 views

how to change permalinks format for pagination?

Sorry if my question was basic or stupid. Please help me how to do this in wordpress, i m new to wordpress. I have permalinks for pagination page like this www.website.com/customtaxonomy.html/1 ...
1
vote
1answer
25 views

Mobile version issue when domain forwarding with masking

Setup domain to forward to server but when setting the host to forward with masking the mobile version is not loading correctly. When setting domain to redirect without masking (to the IP) the site ...
0
votes
0answers
47 views

How to rewrite product links in WooCommerce

Please help me with this case, I try to do a lot of think but it not work. My website have 2 types of links and I want links like this: Post: domain.com/post-name.html Product(WooCommerce) : ...
1
vote
0answers
13 views

Rewrite woocommerce categories widget urls

I am attempting to rewrite the list of categories url in woocommerce categories widget printed to the page. Not sure if I am adding this to the correct hook, or where I went wrong. function ...
0
votes
0answers
10 views

Can't get URL rewrite to work for participants database plugin

I am fairly new to WordPress, but here we go. For the past 18 hours or so, I have tried every method I have found on the internet in an attempt to force the url example.com/file/?pdb=3 to become ...
1
vote
0answers
21 views

Wordpress search rewriting

I have redirected search page to new pretty URL, but that page now shows error 404. What extra code do I have to add to deal with URL on that error page. Here is my code so far: function ...
0
votes
0answers
11 views

How can I add slug/category to portfolio permalink? [duplicate]

My portfolio URL currently looks like this: sitename.com/portfolio/ I would like to add the category slug after so it reads: sitename.com/portfolio/slug/ so that if I go to a portfolio item of a ...
0
votes
1answer
10 views

How can I turn a url with get method as a clean url with segment as the get method?

I got a page called profile my current way to view the profile of user 1 www.sample.com/profile/?id=1 how can I make this something like this www.sample.com/profile/1/
0
votes
2answers
21 views

How to make custom Wordpress page deliver search results

I have customised the standard Wordpress search.php and everything is working fine. Now, my client would like to be able to add some content to the beginning of the search results page in the same ...
0
votes
1answer
24 views

Rewrite URL for a specific taxonomy

I registered a post type of 'product', and also registered a taxonomy 'poruct-cats' for this post type. When I want to access to product-cats it seems like below: ...
0
votes
0answers
18 views

Rewrite Rules: Post ID within Post Slug for a Custom Post Type

I've got my custom post type slug article and I need the following permalink structure: http://domain.com/article/postname-123/ The number in the end has to be the post ID. I don't want ...
0
votes
0answers
21 views

URL Rewrite Multiple CPT

Basically I am trying to do something simalar to what has been referenced in this thread URL rewrite rules for multiple taxonomies query however it's not working for me. I am using the Types ...
0
votes
0answers
37 views

.htaccess Redirect with Wordpress in a subfolder

I am going to try to explain this as best as possible. I have a wordpress installation at www.Domain.com/careers/ Which is great, and really not a problem. The main problem is, i'm moving some ...
0
votes
0answers
12 views

rewrite rule added to function.php not work

Hello in my custom plugin i want to set custom rewrite rules. First i trying make this with one rule, so i create functions.php file in my plugin folder and i paste into this code: function ...
0
votes
0answers
18 views

Pagination redirection in WordPress

I had a blog website in a custom CMS. I recently re-developed the website in WordPress. The old website had pagination urls like "?page=2" But WordPress shows pagination urls like "/page/2" Now what ...
0
votes
1answer
17 views

Custom URLs in post types make it impossible to view archive

I have a custom post type (let's call it "video") and a custom taxonomy (let's call it "section"), I would like both of these to appear in the post URL. The post URL rewriting is working fine. ...
0
votes
0answers
46 views

.html and pagination for custom post type and category

I have a problem. I stand on the site of wordpress and I need to keep the URL. On my old site at the end of pages, of records, categories were .html extension. I have default permalink in wordpress ...
0
votes
0answers
21 views

WP Rest API blog with detail page

I've a blog on a other site, and with the WP Rest Api I want to show the excerpts on a other site, with a custom single page. I've made a page_blog.php page where I show the posts, and now I want to ...