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

How to rewrite a folder in WordPress?

I'm using "The7" theme and don't want to use the standard Portfolio archive template. I have used the default template to create a page that looks great, let's call it /our-portfolio/. Currently the ...
0
votes
0answers
22 views

Unable to stop WordPress auto correcting URLs

WordPress is correcting URLs that go to static files on the server to WordPress pages with a similar name. Like this example... example.com/2009/spring (Static page) example.com/spring (Gets auto ...
0
votes
0answers
19 views

Rewrite acting as intended - but not changing url

I am trying to make this rewrite work, and it isn't working as intended. In the code below, player is a custom user_type. When I click on that player, I want to follow a link to his userpage (...
0
votes
1answer
31 views

Custom rewrite permalink doesn't work

function create_posttype() { register_post_type( 'events', array( 'labels' => array( 'name' => __( 'Events' ), 'singular_name' => __( '...
0
votes
0answers
17 views

Rewriting a page with a custom parameter

I have an issue similar to this one: Rewrite Rule for Custom Page with Query Vars in URL We have those two rules we're trying to add through the Rewrite plugin. We tested it and the GET parameters ...
0
votes
1answer
5 views

Show index and not the archive for “Dog Custom Post” with default slug

When creating a Custom Post, in my case with the name dogs and slug dogs, at the url www.example.com/dogs Wordpress shows by default the archive page if has_archive is set to true I don't want to ...
0
votes
0answers
8 views

Rewrite Rule for Multistep Estimate Form

I want to be able to create a few rewrite rules and utilize some templates that I've created, but I don't want to be limited by having to create the pages within the WordPress admin ... essentially, I ...
0
votes
1answer
9 views

URL duplicating after migrating domain

I just set my CNAME to set my subdomain name and now, my WP site that was working has a weird thing, a lot of URL are broken... All menu links are OK, but all ressources url are not ok. The new bad ...
0
votes
0answers
17 views

Single page with subpages

I'm wondering what would be the best approach to create pages that are 'linked' to a single page. For instance, I have a post type called 'books'. On the front end I would like to have pages like (...
5
votes
1answer
58 views

Custom rewrite rules for archive page and single post

I'm building a Wordpress site with several custom post types. Every post type is a different magazine. I have also a custom meta fields for a magazine year and issue. I would like to have urls (used ...
0
votes
0answers
28 views

URL Rewriting on CPT

My website has Custom Post Type and I want to have beautiful URLs but i don't know how to do. Ex: https://www.mywebsite.com/boutique/?countryname=allemagne#!/countries=252 TO BE https://www....
0
votes
0answers
23 views

Help to fix custom post rewrite + taxonomy. Simple pages show 404

I'm getting 404 for each page. I want to have structure and pages like: url/page-sample url/taxonomy url/taxonomy/custom-post Example of structure (just trying to explain): url/about-us-page url/...
0
votes
0answers
40 views

multiple url slug for single custom post type

I have created a custom post type for events. Now within events post type I have created 2 categories. One is 'event' and another one is 'workshop'. The 'event' category post url looks like http://...
0
votes
0answers
27 views

How can I add rewrite rule for custom page?

I'm showing child categories data in custom page using wordpress. Problem is that i'm fetching those child categories from parent category slug. www.example.com/digital-post-page/?cp=category-slug ...
1
vote
1answer
26 views

Adding two rewrite rules

I have a custom post type with a custom taxonomy. The custom post type is news. The custom taxonomy is new_category. What I want is the possibility two operate link that: http://example.com/news/ -...
0
votes
0answers
18 views

Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page

Need some help with some custom rewrite rules. I found this post How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-...
6
votes
1answer
132 views

Meta_Query as a way how to setup CPT permalinks - is it a good thing?

I'm creating quite complex website for a literary magazine. For its custom post types Issue and Event, I wanted different permalink structure than for posts (which is basic http://example.com/%...
0
votes
0answers
13 views

add_rewrite_rule redirection okay, but not detecting add_rewrite_tag as query_var

I'm having an odd issue with add_rewrite_rule and add_rewrite_tag I basically am creating a page so that if you go to:- http://domain.com/enquire-now/test/ It will go the equivalent of:- http://...
1
vote
1answer
37 views

add_rewrite_rule is not taking effect in Wordpress? .htaccess file doesn't update

I have tried all day to get my own rewrite to work in wordpress, but I simply can't get anything to work. I've tried so many different ways but thing is nothing updates in the .htaccess file so I am ...
1
vote
1answer
43 views

Does flush_rewrite_rules() remove all rules added by other plugins as well as mine?

I am developing a plugin, and am using add_rewrite_rule followed by flush_rewrite_rules during plugin activation. On plugin deactivation I am using just flush_rewrite_rules to remove the rule that I ...
3
votes
1answer
57 views

Add rewrite rule to permalink structure

I have a Custom Structure setup for posts in Settings > Permalinks as: /%category%/%post_id%-%postname% This works great for most of my posts, but there is one category that I want to remove the ...
0
votes
0answers
31 views

WordPress thinks my custom route is a 404

I created a plugin that sets up a custom route and then loads a template file for that url. Everything works fine, except that WordPress seems to think it's a 404 even though it's correctly rendering ...
1
vote
2answers
40 views

Custom Post Type Post have a Child `Page` Post Type Post

Oddly enough I can't seem to find anyone asking this question exactly in this fashion. Is it at possible to make a page be a child of a CPT? In a repeatable fashion (see below for more info) n.b. I ...
1
vote
1answer
17 views

remove sub-category of Custom Post Type from permalink structure

I've got my permalinks for a Custom Post Type set to /%custom_taxonomy%/%postname%/ using the Custom Post Type Permalink Plugin to set the custom rules for this CPT. What this gives me is site.com/...
1
vote
1answer
25 views

How to rewrite url wordpress?

i am doing WordPress posts filter. As a result of the application forms obtained this url: http://local/rieltplus/category/catalog/?type=flat&price_min=1000&price_max=2000&area_min=5&...
2
votes
1answer
25 views

single-{post_type}.php is not loaded despite flushing rules

I have the following code to define my producto custom type post: add_action('init', 'custom_post_producto'); function custom_post_producto() { $args = array( "label" => '...
4
votes
1answer
57 views

How to prevent redirection to max 2147483647 for larger values of the page query variable?

I've got an id which is 10101000003163 I set it to my href as "technical/10101000003163/" but WordPress redirects me to "technical/2147483647/" How can I stop WordPress from doing that? My rewrite ...
0
votes
3answers
46 views

Change default url to plugin custom post type

I have a custom post type in my plugin "Luckydraw" as 'voucher'. By clicking on post link, wordpress generates its URL as : http://localhost:81/luckydraw/index.php/voucher/testing-2/ But I want ...
0
votes
0answers
13 views

I Need Delete Old Rewrite Rules

First, I created a custom category, named: (reviews) I created a classification under this category, the name is: (posts), and (pages) Now, its URL address is: ([abc.com/reviews/posts/page/1] ...
0
votes
1answer
27 views

How to remove Base URL Duplication?

I have an issue in the download link, the URL getting duplicate. Like this http://localhost/test/files/http://localhost/test/files/2016/05/testonly.docx same as the live website: http://www....
0
votes
0answers
42 views

Rewrite URL/Slug for a Page using a particular page template using Advanced Custom Fields Post Object

Edited 5/20 -- Rewrote to specify my question: I have a Custom Post Type represented as mysite.com/projects/{project-name}/. I'm trying to set up a rewrite rule for Pages that use a particular page ...
0
votes
0answers
17 views

get_query_var(“page”) empty if page is 1

I have a paginated search that is set to clear its search parameters if get_query_var("page") is empty. This works fine for every page except 1. I have set my page links as http://www.domain.tld/page-...
0
votes
0answers
7 views

Same Permalinks for Custom Post Types and Category Taxonomy

I am trying to figure out how it is possible to use the default WordPress Category taxonomy across my entire WordPress site, including three custom post types that I have defined. I would like to ...
0
votes
0answers
9 views

How to change the permalink structure on a Windows Server

I am doing SEO services for a client, and recently their website was relaunched by another marketing company. However their site took a major hit in SEO because I noticed their permalink structure is ...
0
votes
2answers
142 views

I have a custom taxonomy assigned to two post types. How do I create URLs for different term archives for each post type?

I am working on a site for a client and am using a plugin that adds an "event" custom post type and an "event-category" taxonomy. I have also attached the "event-category" taxonomy to the default ...
1
vote
1answer
33 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 ...
3
votes
1answer
83 views

How to create the pseudo static rules of the page I created

I am a Chinese WordPress developer, I am not familiar with English, all the content is Machine Translation. 我是一个中国的WordPress的开发者,我不熟悉英语,所有的内容都是机器翻译。 I would like to create a separate comment ...
0
votes
1answer
19 views

Get custom posts by segment of the URL

Please give me a suggestion this situation of mine. I have a custom post type "house". It comes with 2 custom taxonomies: "region" and "status". I would like to get out all the "house" which are "for ...
2
votes
0answers
35 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 ...
0
votes
0answers
33 views

Wordpress loads archive page instead of my startpage

Just cant wrap my head around why Wordpress would load a list of posts instead of my startpage for the following url http://localhost:8081/?sok=sdf The only difference is the snippet below. With the ...
0
votes
0answers
16 views

Rewrite Rules in Custom taxanomy and custom post type

Problem in hand : I have custom categories in wordpress named "Product Categories" with custom post type "Products". i want to change urls from somesite.com/product/airconditioner/voltas/...
0
votes
0answers
40 views

Fixing the WP Post Object for Custom Route

I'm currently in the process of building a custom plugin for a client that involves displaying front end user profiles for any "subscribers". These profiles will be populated with various user meta as ...
0
votes
0answers
12 views

Change permalink to attachment gallery post and redirect parent post

I have a problem with the photos attached to another article Example: **Photo1** attached in MyPost1 **Photo2** attached in MyPost2 **Photo3** attached in MyPost2 **Photo4** attached in MyPost3 **...
0
votes
1answer
22 views

Rewrite rule pagination on different url levels

I have a custom post type called shop with product posts in it. This post type is connected to a taxonomy shop-category, to specify a product section inside the shop. Each product has a item_width ...
0
votes
0answers
28 views

Is this possible with Wordpress it's rewriterules

I'm aiming at creating my own plugin but i'm having some troubles figuring out with the rewriting and so on. What i'm trying to build is that my client(s) can created their own "Vehicles". Well that ...
0
votes
1answer
47 views

Rewrite in plugin

I made plugin with shortcode. User put short code in page "bz". Now, plugin is used on page www.sitename.com/bz. I want to get all url content "after" my plugin. So, when user enter www.sitename.com/...
0
votes
1answer
36 views

Unable to get /%postname%/ permalinks working, 404 on all links

I have only pages, no posts as links. It's just a mock site at the moment. I used a particular theme, set it to "Post name" permalink, and the links worked fine. But then I changed to another theme (...
0
votes
0answers
25 views

Removing subfolder vs htaccess without causing 404 pages

First of all just want to say spent the last 5 hours reading other stackxchange links and Google before giving in to ask. I'm using a plugin JS Support Ticket that adds a slug to the URL in this ...