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
3answers
496 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' ...
1
vote
3answers
541 views

Changing RSS feed URL structure

I am in the process of creating a wordpress website, and I just have one issue left - RSS feeds. Currently, the website has a .htaccess file blocking access to /category/* pages. It was part of a ...
0
votes
5answers
829 views

Exclude subcategories from the url

We have a site with categories and subcategories. If anybody navigates to a content belongs to a subcategory the url will have the following form: domain/main-category/sub-category/mycontent/ But we ...
0
votes
1answer
25 views

How to rewrite url wordpress?

i am doing WordPress posts filter. As a result of the application forms obtained this url: ...
1
vote
1answer
16 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 ...
0
votes
3answers
39 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 ...
2
votes
1answer
23 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
46 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
1answer
530 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 ...
1
vote
1answer
439 views

Custom post type permalink: only use %post_id% and remove %postname%

I have created a custom post type in Wordpress which is working great. The only thing I need to solve are the permalinks created by this CTP. I currently have: ...
2
votes
1answer
682 views

WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)

I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php I've been looking at the core code and noticed that most login ...
3
votes
2answers
649 views

How to change ?lang=cn into /cn/

I'm trying to add languages to my wordpress driven website and i installed xili-languages plugin. Unfortunately it uses lang param to differentiate between languages and i rather have seen something ...
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
0answers
32 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
1answer
23 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: ...
0
votes
2answers
890 views

Later change of taxonomy slug base not changing permalink

When defining a taxonomy I successfully set the slug base for it as well, all via functions.php. However, any change on the slug’s base (via editing functions.php again) is being recognised, i.e. it ...
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
15 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 ...
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 ...
2
votes
1answer
77 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
85 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
3k views

Remove parent slug for child pages

I'm looking for a plugin/custom function that removes the parent slug of a child's page permalink. Something that automatically changes the permalink for child pages. Example: ...
1
vote
1answer
517 views

Add a query string to ALL links on site

Our client would like to embed his site into an iframe in their software backend. I get a query string on the first link but need to make sure that string persists across URLs for all links and ...
3
votes
1answer
494 views

How to remove admin.php?page= from admin using .htaccess?

I've been looking for this everywhere, and can't find it - so I apologize if it is a duplicate question. I can't believe it hasn't been asked before... So please direct me if it has :) I'm looking ...
0
votes
1answer
18 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
32 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
1answer
17 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
32 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
1answer
435 views

Wordpress Permalinks & Nginx Rewrite Rule Not Working

My Server configuration is: Nginx php-fpm5 I set up WordPress and it's working fine with custom permalink 'Day and name'. Now I want to set the rewrite rule in the nginx file and it's not working ...
0
votes
3answers
897 views

Use subdomain for certain urls

I have the following rules in my .htaccess file on a WordPress (single installation): # REWRITE FORUMS DOMAIN TO FOLDER RewriteCond %{HTTP_HOST} ^forums\.example\.com$ RewriteRule !^forums/? ...
2
votes
2answers
3k views

Passing parameters to a custom page template using clean urls

I am now passing parameters to a custom template in the following format www.example.com/?pageid=12&rid=24&title=this-is-the-title I have created two tables . So I need to fetch data and ...
1
vote
0answers
177 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" ...
0
votes
1answer
686 views

Custom url structure - pages under a custom post type

I'm struggling with the structure of my Wordpress site and I was hoping you might be able to give me some advice. The site is for a series of events and the structure is as follows: Gateway ...
1
vote
1answer
689 views

Custom Post Types, URL rewrite on multiple CPTs

Re: Custom post types, taxonomies, and permalinks by @TheDeadMechanic The solution above works perfectly, and rewrite is great, but can you advise on how to rewrite for more than one custom post type ...
0
votes
1answer
441 views

Edit Permalink Structure For Custom Post Type or Modify .htaccess?

I've been trying to find a solution for days now and I am absolutely stumped. I am putting together a website to list my domain portfolio for sale and I'm using a plugin I purchased to lists the ...
0
votes
0answers
15 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 ...
3
votes
1answer
2k views

add_query_vars and add_rewrite_rules

I am looking for some clarity on what add_rewrite_rules does. If I type in, or submit variables from a form, is it supposed to change the query variables to the pretty url? Currently when I type in ...
0
votes
0answers
37 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
6 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
429 views

How do I remove a word from a url in Wordpress using .htaccess?

In the site I'm building there is a post-type called "Focus". Since they need to url to be like www.mysite.com/focus/page-post-name I have the post type slug as "focus". Of course the archive page is ...
7
votes
2answers
2k views

Creating custom permalink structure for languages

I've written a simple multi-language system, whereby clicking on a flag icon sets a one year cookie containing a two letter language code (e.g. nl, de, etc). I hook into the wp action to read the ...
0
votes
1answer
476 views

How to use wp rewrite to hide form action url?

I have a widget that I'm making that builds a multi-step form which retrieves xml data from a third party plugin (http://xmlplugin.com/geoquote.php). While this plugin is available for use already it ...
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 ...
0
votes
1answer
35 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
24 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 ...
0
votes
1answer
680 views

Duplicate Custom Post Type and Taxonomy Slug

I've seen a few questions that are very similar, but I haven't been able to get an exact answer, so I'm going to explain my situation here. Quite simply, I need the following url structure: ...
0
votes
0answers
26 views

CPT url rewriting : regular posts return 404 error

I have a WP website where a created a CPT named product, which has several custom fields, including a category field. This "category" is a custom taxonomy that can take several values, let's say : ...
0
votes
0answers
12 views

Custom rewrite rules on custom posttype

I've got a problem presented to me by a client which I can't seem to fix. They have a Wordpress website with a custom posttype 'projects' This custom posttype has a custom taxonomy 'categories' What ...