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)

3
votes
0answers
79 views

Plural Category Base Slug On Category Archive Page

I've got a little problem with the category base slugs. Say I have got a category called 'Resources', with the category slug set to 'resource'. So any post in the category resource will appear with ...
3
votes
0answers
151 views

web.config conflict on IIS

folder structure docroot |- wordpress |- web.config |- wp-content |- japi |- index.php \- web.config ... ... As you can see there are 2 web.config ...
3
votes
0answers
232 views

How to remove slug from hierarchical custom types in 3.5.2

I know that is not suggested and that there is lots of discussion about this argument out there. Unfortunally, after a week of trying and tests, I have not managed to remove the slug from my custom ...
3
votes
0answers
695 views

get_permalink returns default link

I hope you can help me. So I'm using /%postname%/ as permalink structure, and my htaccess looks like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /develop/...
2
votes
0answers
38 views

Using a custom field value to redirect away from a 404 page

I’m moving from an old CMS to WordPress. The old articles are saved as posts and the new WordPress permalink is %post-id%. The old URL slug is unique and saved as a custom field for each post; the ...
2
votes
0answers
240 views

How to Combine Two Custom Post Types into Single Permalink Structure

The website uses - A) A hierarcical Custom Post Type "Destination" to support the following structure, so each tier of the hierarchy could have its own unique destination guide: Territory - ...
2
votes
0answers
99 views

URL endpoint with html

I'm using wordpress endpoints for render another template on a post page. How can i add '.html' end of the url that using endpoint? Example; Normal URL: example.com/angry-birds Normal URL with ...
2
votes
0answers
171 views

Evaluating a external rewrite rule before internal wordpress rewrite rule

I am been plucking out my hairs since last few days trying to solve this problem: I want to convert my urls from format http://example.com/prodsearch/category/tag1-tag2-tag3-tag4 to http://...
1
vote
0answers
16 views

Custom Permalink Structure Redirects Pages to Homepage

I'm trying to add a custom field to my post types permalink structure - for the test purposes I've simplified the code. The custom permalinks work but the issue is that Top Level Pages redirect to the ...
1
vote
0answers
28 views

category slug and page slug same

I have "movies" category name/slug and i have same page slug/name "movies". My category page: sitename.com/movies/page/2,3,4 bla bla My page url: sitename.com/movies/query If i enter first page on ...
1
vote
0answers
41 views

Rewrite URL for single category

I have a site displaying posts on 2 parent pages: Blog and Ask Anything. They are both using the default WordPress post, but the blog displays all categories excluding "Ask Anything", and the Ask ...
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 ...
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 ...
1
vote
0answers
30 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 ...
1
vote
0answers
75 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 ...
1
vote
0answers
22 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 www....
1
vote
0answers
25 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 ...
1
vote
0answers
28 views

Including taxonomy term before post type breaks top level pages

Got a website that has two top level pages called commercial and domestic, and in these pages there is other content that shares a similar format, e.g. I want case studies in both the commercial and ...
1
vote
0answers
28 views

URLs with two taxonomies are missing from sitemap

I have problem with wordpress rewrite and SEO, mostly the sitemap. I'm using the Yoast SEO plugin. I use the regular "post" post type with two taxonomies. The regular "category" and a cutom taxonomy ...
1
vote
0answers
144 views

Multisite theme path rewrite using .htaccess

I'm trying to rewrite the theme path for multiple domains (wordpresss multisite) using separate themes, this is my current .htaccess file, this is allowing each site to use seperate CSS files but not ...
1
vote
0answers
13 views

Correct procedure for advanced permalinks

I've googled this extensively, but can't get my head around it. I have a few custom post types and a taxonomy (location). I can access all the post types in a location via: www.example.com/...
1
vote
0answers
52 views

Custom Post Types hierarchy and rewrite

I've been around this problem for 2 days, googling and experimenting with no avail. I have this Custom Post Type name "programas", and a page with the same name. The page "Programas" lists all the ...
1
vote
0answers
155 views

Permalinks 404 error with HTTPS host

My new permalinks continue displaying a 404 error on my site even after adding the AllowOverride and Rewrite modules parameters. Here is my default-ssl.conf file : <IfModule mod_ssl.c> <...
1
vote
0answers
101 views

how to use two permalinks for one custom post type

I have a custom post type "article" where posts have a permalink structure (www.mysite.com/article/post-name). I need each post in it to have two different templates according to its permalinks: the ...
1
vote
0answers
131 views

Attachment page gives 404 if user not logged

I am struggling on a very weird behaviour for a WP site I have developed. My client have uploaded many photos to the media library, and tags them with some custom taxonomies I have defined. Some of ...
1
vote
0answers
57 views

Mirror content based on URL slug

I have a training site that manages the same content across several branded versions. examples: .com/product-name-a .com/re-brand1/product-name-a .com/re-brand2/product-name-a Where all 3 are ...
1
vote
0answers
166 views

Nginx — Wordpress multisite with root folder in own directory

I have my Wordpress files in a directory called wed. I also have the following rewrite rules in my Nginx config: if (!-e $request_filename){ rewrite /wp-admin$ $scheme://$host$uri/ last; ...
1
vote
0answers
63 views

Add word to permalink when custom field has a value

I would like to change the default permalink structure of posts (and all other types) that have a specfic post meta value. So when it doesn't have that value it just stays: http://website.com/page-...
1
vote
0answers
28 views

simple add_rewrite_rule added, refuses to work

Bottom of my functions.php: add_filter( 'init', 'new_rules'); function new_rules(){ add_rewrite_rule('(.+?)/status/?$','index.php?pagename=$matches[1]-train-status',"top"); } Totally works in ...
1
vote
0answers
269 views

Pretty permalinks IIS gives 404 on posts/pages

I'm trying to get Wordpress to work under IIS and I've gotten stuck on custom permalinks. If I use the standard ugly permalinks, All standard features works fine, but plugins like Buddypress does not,...
1
vote
0answers
132 views

How to get list of taxonomy slugs ordered parents>childs?

Is there an existing function in WordPress to generate a list of taxonomy slugs ordered by parents > childs > subchilds in an array? I need to generate a URL structure for my custom post type in ...
1
vote
0answers
182 views

Rewrite rule for Custom Post Type Page as a parent

I'm searching for answers, but unfortunately can't find and hope to find here. I'm using Pods for custom post types called "players" and normal Pages for "teams", which is hierarchical, for example: ...
1
vote
0answers
108 views

How make a multi language routes, with rewrite rules or rewrite endpoints?

I want to know a concept of making a multi language routing system for WP. That is the best practice, to make this routing system with add_rewrite_rules for pages post arhive etc in part, or to use ...
1
vote
0answers
177 views

custom taxonomy archive by year

there is one custom post type News there are 3 taxonomy terms(like category). 1). press-release 2). in-the-news 3). events i have list out all this three category. now what i am looking for is ...
1
vote
0answers
367 views

Remove subcategory and category with some rules from permalink

My current option for permalink is set to /%category%/%postname%/: I have a category 'stati' and parent category 'italian', 'german'. This parent category has some other parent category, for example: ...
1
vote
0answers
86 views

changing comment-page-# to something like review-page-#

When you enable pagination for comments in wordpress the typical pagination page for a comment is "comment-page-1" "comment-page-2" etc. what I want is this to appear like "review-page-1" "review-page-...
1
vote
0answers
55 views

Added Custom Post Type and the View Option Doesn't Work

I would like some pointers on fixing the Permalinks structure for a custom post type I added. Like many Custom Post Types this plugin uses the Custom Type Meta Box, and sets a featured image. All of ...
1
vote
0answers
238 views

How to change hierarchical page permalinks to be flat

I'm building a site for a client with a large navigational structure. I think it would be easiest for them to manage if the pages were listed hierarchically in the admin panel, but it would also be ...
1
vote
0answers
189 views

Cache issues with redis and nginx

I have a problem with the rewrite rules in my nginx config file. I am running wordpress with nginx and redis to cache the site. I can get the redis to cache all pages not a problem, but as I am ...
1
vote
0answers
160 views

How to change the Author Slug from Username to Nickname and deal with Special Characters

I need to change the author slug from username to nickname: This is what is set by default: http://domain.tld/author/(username) This is what I need: http://domain.tld/author/(nickname)-(author-ID) ...
1
vote
0answers
182 views

Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)

I have a custom post type named "tours" and a custom taxonomy named "tour_type". "tour-type" taxonomy is hierarchical. In "tour-type" taxonomy, parent terms are limited to "eco-tours", "daily-tours", ...
1
vote
0answers
618 views

Pretty URLs for Custom Post Type & Custom Taxonomy with Duplicate Slugs on WPML

I'm interested getting some help for a rather complex setup. I'm working on a publication and interested in creating a special subsection with a custom taxonomy. Think of this as an editorial ...
1
vote
0answers
192 views

Add .htm extention to a custom taxonomy

I need to add '.htm' to all my urls on a new site - client requires that, as I am converting a old static site into WP. (I use Remove Taxonomy Base Slug to hide the slug of my custom taxonomy "topic" ...
1
vote
0answers
119 views

WordPress URL Rewrite for dynamic and customized URL

I'm working on a website in WordPress where I have to show AP News from external Database and not from the WordPress DB. I have created few shortcodes for this, which are working absolutely fine. I ...
1
vote
0answers
53 views

WP Rewrite issue

I'm trying to build this structure: for single page: www.example.com/london/restaurants/monrooe/ where: "london" is a query var "restaurants" is a category "monrooe" is the post name. How can ...
1
vote
0answers
246 views

Help writing custom function with rewrite endpoint that generates a page from dynamic content

I'm creating a WordPress plugin that will pull content from an API and display it dynamically on a WordPress blog like it's native content. An example of this content would be company locations. I ...
1
vote
0answers
505 views

Using a custom 410 page

I've been trying to figure this out without success. In created a 410.php in my theme, and in my nginx config, I added:- error_page 410 /index.php?error=410 as I'd seen suggested in a few places, ...
1
vote
0answers
1k views

add_rewrite_rule and passing variables for custom post types

this is driving me crazy!! Scenario is... Custom post type let's call it "cpt_product" setup with the rewrite "products" Trying to use the add_rewrite_rule to create a friendly URL for meta details ...
1
vote
0answers
506 views

Pretty URLs and custom post types

I've read the posts on WP SA on rewrites and custom post types, but I can't figure out why my search for 2 different post types isn't working. I'd like my URLS to become example.com/search/events/...
1
vote
0answers
39 views

Specific routing for CPT

I'm developing site for art gallery. A have Artist CPT (internal name artsin_artist) which is defined in my functions.php like following: register_post_type('artsin_artist', array( 'labels' => ...