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
0answers
45 views

How to change blog category, author URL in wordpress

I have create a WordPress page with slug blog. I can easily access the blog par with /blog. Now what I want is to add blog/ in front of all the urls in my blog, like blog/category/first, ...
0
votes
0answers
73 views

Conflict in the urls of Taxonomy and Post Type

I have added a Custom Post Type "Review" with this code: // // Review post type related functions. // add_action( 'init', 'ci_create_cpt_review' ); if( !function_exists('ci_create_cpt_review') ): ...
0
votes
1answer
63 views

Is it possible to match site root with a WP rewrite rule? [closed]

I need to add a custom query var to the site root. For example say I have a query var, lets say 'colour'. I have a CPT called banana and I use the filter 'banana_rewrite_rules' to add ...
3
votes
1answer
132 views

Why does wordpress still strip my query var?

Im trying to pass a query var to a custom page template with pretty permalinks. So basically i have a page called "albums". And i want to pass a query var to that page called "type". So the ...
0
votes
0answers
40 views

Help fixing custom post type and taxonomy rewrite rules

I have a custom post type called featured_property and related taxonomy called locations and am having trouble getting the URL structure I want. I'm SO close but having trouble with the top level ...
0
votes
0answers
26 views

Remove the first occurrence of a sub-site slug from URL

I have a multisite install with about 30 sub-sites. I want to know if it's possible to remove the sub-site slug if there are more than two occurrences of it in the URL. For instance: ...
0
votes
0answers
29 views

Custom Permalink Base

To enable all category, single and archive pages to render the url with a prefix of "news". E.g. www.yourdomain.com/news/category/post-name I set the permalink structure as ...
0
votes
0answers
23 views

Post Type Rewrite Custom

Demo for example: my-site.com/shop-virtual/ - Listing all posts of Post type "Products". my-site.com/shop-virtual/products/category - Listing all posts of Category. ...
0
votes
1answer
187 views

How to Create a Mod_Rewrite/Regex Rule to Redirect Requests old URLs to Their Updated Link Structure

Here goes... How would I create a mod_rewrite rule to that will redirect a variety of possible URL requests to their updated URL counter parts. We are migrating and old site to a CMS with a ...
0
votes
0answers
29 views

Rewrites with options on custom post type

I have a custom post type called 'episodes'. All of my episodes have an audio file associated with them. This file is embedded automatically in the template. Some of my episodes also have a video ...
2
votes
1answer
47 views

Why is WP creating both “/?tag=” and “/tag/” URLS for same content?

I've noticed that WordPress is generating duplicate content with slightly different URLs. For example: http://example.com/the-blog/?tag=santas-workshop ...
0
votes
0answers
42 views

Rewrite rule for custom parameter

I'm stuck with rewrite rules regex. I have this kind of link: http://www.xyz.com/page-1_b/page-3_d/page-0_a/box-page-3_d I need to add rewrite rule for this link so that it extracts what's after ...
0
votes
2answers
100 views

URL Rewrite doesn't work for nested pages

I am using URL rewrite like this page: unexpected problem in url rewrite It works without any problem, but when I try to use the same rules for nested page, it doesn't work. Say, I have two pages ...
0
votes
1answer
64 views

URL rewrite in theme doesn't seem to be working

so I was asked to create url rewrites for one of the websites we're working on, but the thing is the test rewrite I did, just to try it out, is not really working. here's the code I put in the ...
0
votes
2answers
44 views

Custom Post Type URL Rewrite's

I am going to try and sum up what I am trying to achieve... Basically I have a custom post type called 'marketing_list' which will have custom fields holding information relating to marketing lists ...
0
votes
0answers
55 views

rewrite rule for home/index page

I've been struggling for a while already and all of my attempts failed so I have no other choice but to ask for help here... a) I've made a custom post type page_blox whose capability_type => ...
0
votes
0answers
21 views

Custom Post Type rewrite with Custom Taxonomy and Custom Meta!

I have a custom post type called 'photos'. I have a custom taxonomy called 'series'. Each post will have a custom meta item called '_photo_number'. I want my URLs to go something like this: Single ...
1
vote
1answer
565 views

Wordpress returns 404 on custom rewrite rule conflict in parameters

I have been following the steps on the answer here and it worked wonders. But my problem is on this part, on the original: add_filter('rewrite_rules_array', 'mmp_rewrite_rules'); function ...
2
votes
2answers
783 views

Using custom/dynamic “slug” for a page

I have a custom page which uses a template called "Stores" http://example.com/stores/. This page will have a list of states and/or companies as categories. For this system I have a custom post type ...
1
vote
1answer
217 views

In WordPress how do you create a custom post type with the author's name in the slug?

I'm trying to build a new WordPress theme using register_post_type to create a custom post type called listings. I would like each listing to have the following permalink structure: ...
1
vote
0answers
116 views

Lost of query parameter when using permalink

I have many issues with the use of rewriting, but i'll just point out one in this post to be specific. In my theme i use custom post type, with custom taxonomy function custom_post_realisation() { ...
0
votes
2answers
161 views

Overwrite rewrite-slug of built in post-type 'post'

I need to change the rewrite-slug of the built in post-type 'post' to 'example.com/magazine/news/any-nice-news-item'. When I re-register the post-type 'post' and set the rewrite-slug to ...
0
votes
0answers
49 views

Use of unicode postname when using custom generate_rewrite_rules

I have a custom rewrite rules like.. add_action('generate_rewrite_rules', function ($wp_rewrite) { $wp_rewrite->rules = array('products/(.+?)$' => ...
0
votes
1answer
189 views

database not responding on localhost

I'm trying to work on an existing WordPress site on my Mac using MAMP. I've setup a new database using phpMyAdmin and imported the tables from the backup of the online version. I pasted this into ...
3
votes
1answer
192 views

Why would Wordpress use 'attachment' in a custom post type's query string?

Why would Wordpress use 'attachment' in a custom post type's query string? Albeit I have a slightly contorted structure in place, I can't seem to find where 'attachment' comes into play and how to ...
0
votes
1answer
30 views

Hard to find a good rewriting rule

I need to rewrite an adress for my WP site. I encounter difficulties, and I may need your kindfull help. In fact, in need to rewrite ...
2
votes
1answer
1k views

Custom Permalinks for Blog Posts Only

I know this is a fairly common topic around here, but I can't seem to figure out a solution to my particular case from reading similar threads. Basically, my permalink structure needs to be ...
3
votes
1answer
179 views

rewrite get parameter with custom post type

I am trying now for a couple days to solve the following Problem: I have a custom post type called gallery. I need the URL http://example.com/gallery/FOOBAR to be parsed like ...
1
vote
1answer
939 views

Sorting Posts Via Custom Taxonomy Values Using Checkboxes?

I am working on a project that has a dropdown of custom taxonomy values called "Disciplines", there are only 4 of them in the dropdown. The way it has been designed is that you can select more than ...
0
votes
0answers
65 views

One WP install, I need to map a custom domain name to each category

I've read other answers but they weren't satisfactory. Multiple blogs, different domain names, one install to rule them all Multiple Domain Names - One WP Install (non-Multisite) - Default Each ...
0
votes
2answers
561 views

How do I redirect a post url to a custom url?

I've created a page that loops posts. Each post acts as a category link so that when you click it brings you to a category archive. My issue is that wordpress somehow overrides my htaccess and ...
0
votes
1answer
140 views

WordPress keeps writing rewrite rules to .htaccess

WordPress keeps writing rewrite rules into .htaccess again and again till it causes an error and causes server to return 500 Internal server error... i.e. My .htaccess is a series of # BEGIN ...
2
votes
2answers
140 views

flush_rewrite_rules() not working on plugin activation

I am experimenting with creating a simple plugin to create a custom post type named project but am having some trouble with the rewrite rules not been flushed on activation. I have the main plugin ...
10
votes
4answers
4k views

Remove custom post type slug from URL

Haven't found a useful answer for this. I am aware of the conflict issues and all the problems this may cause, I'm curious if it's POSSIBLE not SUGGESTED. This will require WP rewrites, I know this ...
1
vote
1answer
111 views

Using plus (+) sign insread of space (-) in WordPress URL

How to change space (-) sign to plus (+) sign in clean URL WordPress? Like: http://www.whitelotuscorporation.co.in/anax_wp/about-us/ to: http://www.whitelotuscorporation.co.in/anax_wp/about+us/ ...
0
votes
0answers
58 views

Non WP Rewrite Rule to Admin Screen using plugin

I am creating a plugin that uses the administration screen extensively (adapting a rather complex, MVC program to WordPress for Creative Collaboration). I want do use simple URLs so that when a user ...
1
vote
0answers
127 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, ...
0
votes
0answers
212 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 ...
0
votes
0answers
13 views

Setting up a virtual subdirectory to display identical content as root directory [duplicate]

We have a standard Wordpress installation being used as a CMS. We're using standard pages with basic permalinks (e.g., /page/ or /parent/page/). We'd like to have that exact same content mapped to a ...
0
votes
2answers
951 views

Removing base slug from hierarchical custom post type

I have a hierarchical custom post type called "state". My goal is to have a permalink structure like thus: http://website.com/idaho/ http://website.com/idaho/sub-page I'm close but haven't quite ...
0
votes
0answers
32 views

How can I process all requests for a given directory in a URL with my plugin?

I'd like to pass all requests for a given directory using a plugin or template file. For instance, all of the following requests would be sent to the plugin: mysite.com/directory/blah ...
0
votes
0answers
61 views

url rewrite subdomain to multisite

I have a multisite install of WordPress on an Apache (windows server 2008) with one "child" site. So: C:\Apache24\htdocs\wordpress is the physical install location ipaddress/wordpress/childsite is ...
0
votes
1answer
87 views

Rewrite url / permalink for default archive - yearly / monthly

I want to change the structure of yearly/monthly archive URL of default post type 'post'. As we know be default the URLs are like: Default: http://wwww.domain.com/2013/09 but want them rewritten, ...
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 ...
0
votes
2answers
238 views

Custom Taxonomy 404

I've created a couple of custom post types: add_action( 'init', 'register_post_types' ); function register_post_types() { register_post_type( 'jobsearch-post', array( ...
0
votes
1answer
332 views

.htaccess rewrite

I have created a custom post type called 'event' and added an event called London 2012. I want the following URL structure for a page: local.mysite.com/london-2012/speakers I have created a page ...
0
votes
0answers
69 views

add_rewrite_rule() for an unknown parent page

I am trying to get this rewrite rule to work right. What I have is a plugin that creates a page after the user inserts a page name in the settings that I created for the plugin. The users custom page ...
2
votes
6answers
3k views

Wordpress CMS - hide content from public while in editing stages

I'm setting up a simple web site for a member of my family, using wordpress as a CMS. I've already registered a domain name and I'm about to set up wordpress. I want them to be able to edit the site ...
1
vote
1answer
212 views

Why is add_rewrite_endpoint incompatible with /%category%/%postname%/ permalink structure?

I've added a myvar/myvalue rewrite endpoint to EP_ALL which can be added to any URL of a WP installation and a WP plugin will act upon it. That part is cool but it doesn't work when the permalink ...
0
votes
0answers
128 views

Error filtering attributes in woocommerce

I have two custom attributes in woocommerce, Brand and Colour If I access the url for a custom attribute like for example: www.myshop.com/branad/nike and then try to apply a layered navigation ...