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
13 views

Wordpress double post name distinguish by term [duplicate]

I am working on a store locating Wordpress template where I have 5 categories for services. In each category I have 500 cities. I have rewritten my url from: http://www.website.com/post-type/post ...
0
votes
1answer
38 views

Adding pretty query parameters

A custom post type named shooting has a field (with ACF) with plenty of images. Those are listed on the single.php of the CPT and one of those images is displayed in full-ish size. I currently have ...
1
vote
1answer
564 views

Custom query_vars and parse_request on wp-admin

I've read this post http://wordpress.org/support/topic/query-vars-in-admin and although it's quite an old question, it suits me perfectly. I'm trying to accomplish what I already posted here: ...
0
votes
0answers
53 views

Custom URL in Wordpress with add_rewrite_rules and add_rewrite_endpoints

I have the following URL for a filter functionality that i try to build in wordpress: example.com/offers-type-all-inclusive-from-germany-transportation-airplane.html How can I make the arguments ...
1
vote
1answer
45 views

Rewrite Rules returning wrong data

I have a custom post type called product. It is categorized with the two taxonomies product_category (which is superior) and product_group. I want the permalinks for single products to appear like: ...
0
votes
1answer
99 views

htaccess rewrite ignored

I am having some mega frustrations with rewriting things on a local Wordpress install (installed via Bitnami). How does rewriting work in WP? It seems to have some PHP/database system plus a basic ...
1
vote
1answer
272 views

Rewrite rule for admin-ajax.php

I went through a lot of posts and googled a lot, but still couldn't get this to work. I'm trying to create a rewrite rule for admin-ajax.php, to achieve the same results shown here: Adding ...
0
votes
0answers
53 views

Custom Rewrite Rule with Sub Folders

I need to create a custom rewrite rule for a WordPress plugin. I have read this topic and came up with a working solution using add_rewrite_rule(). However, after testing the plugin, I realized that ...
0
votes
0answers
90 views

Customized author slugs not working with get_author_posts_url method

I really appreciated the solution for the author rewrite rules here: Change Author Base Slug for different Roles The solution worked for me, however, when I now use the get_author_posts_url($id) ...
0
votes
0answers
75 views

Page displaying but the inspector shows 500 Internal Server error?

I have setup custom urls for a wordpress based site, (not using wordpress pages or posts) but custom urls and including custom page templates. I have several urls working fine except one, page ...
0
votes
1answer
92 views

URL Rewrite Adjustment for Custom Post Type causes template to revert to index.php

I have a custom post type with a URL permalink rewrite that seems to work if it uses /mynews/stories/YYYY/mm/story-name but if I change "mm" to the first 3 letters of the month (eg Jan, Feb, Mar, ...
0
votes
0answers
50 views

get_permalink is getting old rewrite rule

I had some rewrite rules in my functions.php file. I decided that I didn't need them, and removed all rewrite rules and then flushed them. However for some reason when I use get_permalink() the url is ...
1
vote
0answers
64 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 ...
0
votes
2answers
320 views

add_rewrite_rule not working for me

I have the following rewrite tags defined: // ADD REWRITE TAG FOR 'VEHICLE MAKES' add_rewrite_tag('%make%','([^&]+)'); // ADD REWRITE TAG FOR 'BODY STYLES' ...
0
votes
0answers
340 views

Parent cpt/child custom post type URL permalink relationship

I am attempting to set up a relationship in Wordpress between two custom post types I’ve created and display that relationship within each post type’s permalink URL structure. I have created two ...
0
votes
1answer
26 views

Forward an old url rewrite scheme to a new one?

I have the following url rewrite for custom post type: add_rewrite_rule( 'event/([0-9]+)', 'index.php?post_type=event&p=$matches[1]', 'top' ); Due to a site structure change, I'll ...
0
votes
1answer
44 views

Using 2 URL's for Wordpress

I have a Problem, that my internal company blog should be visible via 2 URL's. One internal and one external. Now I would need to rewrite URL's before content is delivered to the browser. All URL's ...
0
votes
0answers
29 views

Custom Post Type - Rewrite

I'm making a reader sort of plugin that uses custom post types of 'series' & 'chapter' and need a custom rewrite rule that will allow me to do the following: /series/series_name/chapter/ I'm ...
0
votes
1answer
62 views

URL redirect on updating the post date

I updated the date in the post. But the old URL has already gone viral and people end up in a deadlink as "page not found". I tried using Simple 301 Redirect WordPress Plugin and also Permalink ...
0
votes
1answer
75 views

Apache rewrite rules and wordpress problem

I tried to fix my problem by using wordpress rewrite rules but sadly it took me so long I tried this approach. I got it working for one of my simpler problems but now I can't get it to work for my two ...
0
votes
1answer
34 views

I cant access custom taxonomy page listing

I had a issue with a custom taxonomy and a custom post type using the same url. my url i am using for my post type is /news and then i have a taxonomy which i need to have /news/cars I followed this ...
0
votes
1answer
245 views

Change custom post type slug from plugin options

I'd like to give users the option to change a custom post type slug in my plugin. Using this answer, I'm able to hardcode it into a function: Redeclare/Change Slug of a Plugin's Custom Post Type ...
0
votes
3answers
237 views

How to have permalink like domain.com/term/postname?

I'm trying without success to have a URL structure like domain.com/term/postname, but I just get 404 for all non-CPT pages. function add_video_post_type() { $labels = array( 'name' ...
0
votes
1answer
55 views

Rewrite Question

I'm having troubles with creating my rewrite. I've been searching here (and other sites) for an example, but so far, no luck. My testing site is: ...
0
votes
0answers
37 views

Another flat level URL question (no hierarchy)

I read some issues with related topics, but found no answer. I have categories and subcategories on my site.The only reason having hierarchy is because I need to have on the category page all child ...
0
votes
1answer
85 views

Wordpress URL rewrite problem

blog.com/product/somename In the above URL - how do I tell Wordpress that 'product' is a variable and 'somename' is its value. Then how do I extract that value and use it inside a function I'll ...
0
votes
0answers
433 views

Redirect all page templates to index.php and turning Wordpress into a Single Page Application CMS

I’m trying to push the boundaries of Wordpress by turning it into a SPA CMS. Everything works fine until now except for a redirection issue. github angularpresstheme How it works: When I create a ...
0
votes
1answer
39 views

How can i fix a 404 error when targeting custom taxonomy slug ?

I have defined my new taxonomy like this $args = array( 'labels' => $labels, 'show_tagcloud' => false, 'hierarchical' => true, 'rewrite' => array( 'slug' => ...
0
votes
1answer
19 views

Re-directing URLs with dates to URLs without dates

When I first started writing entries I decided to include the month and day in the URL's, thinking I might need them. In the end turns out I didn't. I found that I can access a particular entry as ...
0
votes
1answer
11 views

Rewriting URL does not automatically log me in

I've installed my blog at www.mysite.com/blog I want to re-write the URL to take out the blog part so you can access it at www.mysite.com I added a rewrite rule in .htaccess file, but I noticed that ...
0
votes
0answers
80 views

400 Bad Request on Custom Post Type Rewrite

I'm doing some rewriting of the url for a taxonomy and custom post type based on some code I found on here. However on my custom post type archive url I'm getting a 400 Bad Request. I honestly just ...
0
votes
1answer
90 views

Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?

I was developing this WP site using WAMP at work, and now suddenly we're switching it up and putting it on a Windows server (2003). I can tell from the Permalinks Settings page in wp-admin that it ...
0
votes
0answers
41 views

URL rewrite function and pagination with year in the url

UPDATE No more 404 errors. Part of the problem was I using a reserved variable (year, doh!) so i changed a couple of things around and i have this almost fully working. I've made very good progress ...
0
votes
1answer
26 views

Taxonomy Parent not showing up in address bar

I created a custom taxonomy successfully and assigned the custom post type as well. It is a hierarchical taxonomy and I added terms in the back in a hierarchical way. I added for instance main ...
0
votes
0answers
45 views

Rewrite rule for custom parameters

Im having rewrite rules like this add_rewrite_tag('%offercode%','([^&]+)'); add_rewrite_tag('%offerdatefrom%','([^&]+)'); add_rewrite_tag('%offerdeparture%','([^&]+)'); ...
0
votes
1answer
95 views

Pagination 404 Not Found child page

I have a page Heemtijdinghen displaying custom posts (post_type=artikel) paginated. The page is a child page of page Publicaties: /publicaties/heemtijdinghen/ When navigating to e.g. page 2 a 404 Not ...
1
vote
1answer
265 views

Rewrite rule for custom taxonomy

I'm pretty new to wordpress and I'm trying to create a recipes blog. I've created a custom taxonomy for ingredients: register_taxonomy( 'ingredient', 'post', array( 'label' => ...
0
votes
0answers
17 views

Rewrite rule for a page to support pagination

I have a created a page and I want to use pagination in this page. I have added below rewrite rule but still I am getting 404 error, please help me to fix this issue, function ...
0
votes
1answer
30 views

How to stop Wordpress creating URLs that dont exisit

I have a website that is constantly created URLS that don't exist. For example a category section that only has 2 pages in it, for some reason is allowing the creation of other URLS - see below eg: ...
0
votes
0answers
102 views

Custom post type/taxonomy and pages rewrite conflict gives 404

I have set up a CPT called 'question'. For this CPT I am using a custom taxonomy called 'profession', consisting of terms such as 'doctor' and 'plumber'. I am also working with standard pages. When ...
1
vote
1answer
142 views

Migration from old CMS to WordPress 301 redirection rules?

I need 301 redirection rule for migrating old CMS to WordPress. On old CMS I have URL structure like this: I wish is to move my site to WordPress and to have all old (or most) URLs with 301 redirect ...
1
vote
0answers
82 views

WP Rewrite the last two parts of the URL

I have found quite a lot of post on the subject of WP rewrite but I can't find the right words to describe this problem. I'm trying to accomplish the following: ...
0
votes
1answer
33 views

Customize category permalinks

How can I generate URLs like http://example.com/blog/category/Test/? Currently, I have http://example.com/category/blog/Test/.
0
votes
0answers
218 views

Rewriting custom post type permalinks gives 404

I am using this code in my functions file to be able to include a post ID in my permalinks for a custom post type. But I am getting a 404 error when I attempt to preview view any of the posts of that ...
0
votes
0answers
95 views

Cannot modify a registered custom post type rewrite slug

I'm using this function in my child theme to modify the rewrite slug from custom post type that was registered on the parent theme. But it doesn't work. function change_rewrite_rules() { global ...
0
votes
1answer
24 views

How to change the url?

How to rewrite the url in wordpress? Instead of http://yapkimyks.com/product-list/astarlar/ it should be http://yapkimyks.com/product-list/yapbond/astarlar/ where, yapbond is main category name ...
0
votes
0answers
60 views

Custom URL rewrite rule for migrating to WordPress

I am trying to move my image gallery site from one CMS to Wordpress. On current CMS I have page with medium size image on it with URL: ...
0
votes
0answers
120 views

Rewrite / Mask URL of Auto Generated Page

I am using an old unsupported Wordpress plugin (Tan Tan Noodles) that pulls in a photo sets from flickr and auto generates a html page in Wordpress. A resulting URL would be: ...
-1
votes
1answer
72 views

Remove parent page from url

I would like to remove the parent page name from the permalink. At the moment, I have site.com/parent-page/child-page.php and I would like to have something like that site.com/child-page.php
0
votes
2answers
362 views

Possible to change the slug of default post type?

I have custom post types on my wordpress site and I've set the slugs to say "/blog/{post_type}/{post_title}". I'm using the default post type as a "notes" section, so I want that slug to be ...