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

ACF not respecting category slug

So I have a single editor with the option to assign the content to a wrapper of blog or portfolio. The goal being that content entered in the same editor can be assigned to either mysite.com/blog or ...
0
votes
0answers
7 views

URL Rewrite Rules & Get Method

I have three dropdowns on my blog which allows you to filter by custom taxonomies. I'm using the following function to create the dropdowns: function get_terms_dropdown_risk_category($taxonomies, ...
0
votes
0answers
23 views

Remove Custom Post Type slug from url, two CPT

I have 2 custom post types hilp-a and hilp-b. I want to remove custom post type slug from the url. e.g: test.com/hilp-a/test to be test.com/test and test.com/hilp-b/btest to be test.com/btest I ...
1
vote
0answers
26 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: ...
0
votes
0answers
9 views

WP Rewrite - some rewrite rules are ignored and instead a redirect is served

I am trying to allow any URI that's prefixed with pf/ to show a page without redirection. I do this by filtering rewrite_rules_array and simply duplicating the rules with a pf/ prefix public function ...
4
votes
1answer
23 views

Handle category name URL rewrite before different post type slugs

I went over a hundred similar topics here which were close to what I need, but unfortunately I wasn't able to fine tune this so apologies if it's a duplicate. I have a several post types (such as ...
1
vote
1answer
17 views

How to building pretty URLs to reflect category hierarchy?

At the moment, this is how I access brands (custom post type) on my page: http://example.com/<base>/<brand> I would like to access brands like this: ...
0
votes
2answers
47 views

Show post content in two different places without redirect

How to get the same post content for in (the default) domain.com/year/month/post-slug and domain.com/custom/post-slug (without redirect). Can I do this with some kind of rewrite or do I need a custom ...
0
votes
1answer
18 views

How to create cutom link for page

I am newbie in WordPress, and my question may be duplicated, but I cant get this, help please. I have page with this URL: example.com/?page_id=49, but I want to make it as example.com/test_page. ...
0
votes
0answers
18 views

Changing permalinks and canonical [duplicate]

I have a domain with permalinks set to /%postname%/ but now I would like to change to /%category%/%postname%/ I thought who ever now come from a book mark to http://domain.com/my-first-post ...
0
votes
0answers
11 views

Wordpress add_rewrite_rule with priority

I'm working on a Wordpress website which shows companies in a city. The URL's are like www.address.com/new-york/. I've created a rewrite rule for this and it works but now i'm not able to visit any ...
0
votes
2answers
14 views

How to customize sub-URLs in a wordpress website (.htaccess)

I have a regular business website that I built on Wordpress - www.example.com I have a blog page in my website under - www.example.com/blog When viewing a blog post it looks like this: ...
0
votes
1answer
24 views

How to change the displayed URL?

I'd like URLs like this: http://example.com/root/branch/twig/ be rewritten and displayed to a URL like the one below: http://example.com/root/twig/ At the moment, the two URLs point to the same ...
0
votes
0answers
9 views

Properly maintaining an old rewrite structure

I have a plugin which manages redirects for after another theme has been deactivated. It helps SEO obviously. I have the below wrapped in a function employed by 'after_switch_theme' hook. ...
0
votes
0answers
19 views

Domain change question

Please help me with this situation. Now I have a site called "abc.com" with pages and blog (many articles). Permalinks is set as abc.com/%postname%/ And I am planning to move just the blog ...
0
votes
0answers
19 views

want to add a .html with existing rewrite rule

I'm trying to do two things to a woocommerce product category url im trying to strip out the base of product-category and add .html to the end of all product categories I've achieved the first ...
0
votes
0answers
13 views

after_switch_theme not working in a class? [duplicate]

Here is my class (by way of example) after_switch_theme is being stupid and refuses to fire. class myPlugin(){ __construct(){ add_action('after_switch_theme', array($this, 'rewrite')); ...
0
votes
1answer
12 views

Proper way to set up rewrite with Wp

This seems to be modding my .htaccess with every page view. What is the standard way of setting up a rewrite? This is what I have so far: if(!function_exists('some_rewrite')){ add_action( 'init', ...
0
votes
1answer
25 views

Rewrite Url to a SEO-friendly format

I am using a membership plugin and I would like to change the user-profile Urls. Example Url: http://rec-orders.de/?p_action=user_profile&post_author=2044 This is how the new Url shall look ...
0
votes
1answer
23 views

Finding and removing unnecessary redirects

I have a bunch of redirects to sites like sharethis, media6, and some random character urls. Most of these are leading to a blank pixel or each other. I know a lot has to do with facebook and needed ...
0
votes
0answers
16 views

Permalink rewrite slug not working properly with multiple taxonomies

I have this rewrite rule on my CPT: 'rewrite' => array('slug' => '%country%/%area%/%property_type%' area and property type show through fine but country comes through as %country% in the ...
1
vote
2answers
39 views

How to prevent the default home rewrite to a static page

I'm looking for a way to prevent the default behaviour (when you have a static page set as the site homepage or 'frontpage' (in settings>reading>front page displays ); I want the domain.com/ ...
0
votes
1answer
40 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
1answer
21 views

Use Parent Pages for URL Structure without Landing Page

So this is more a philosophical question than anything, and if I'm asking this in the wrong place, I'm happy to remove the post: What's the best way to use a parent page for structure while keeping ...
0
votes
0answers
21 views

Taxonomy Slug Rewrite 404 Error

I currently have this problem I have a taxonomy that has the rewrite slug as: resource-center/case_studies1 I have a custom post type with the rewrite slug as: resource-center/case_studies I ...
0
votes
1answer
40 views

Custom permalink structure with %postname% in front of domain name

We are running a software review website, and we have a very large amount of reviews currently done, and we would like to restructure if its at all possible. I would like to know if there's a chance ...
3
votes
2answers
140 views

Custom Rewriting to Plugin with Parameters

I'm really stuck on the WP_Rewrite functionality... What I have I have a plugin that's rendered using a shortcode and is displaying full-site content. E.g.: //?p=2 (maps to domain.tld/myplugin/) ...
0
votes
0answers
26 views

Redirect url with .php in url

I'm trying to redirect links like this: example.com/podcast/pod.php?show=showname to something like this example.com/program/showname/feed/. I've tried using this redirection plugin: ...
0
votes
0answers
27 views

WordPress MultiSite Redirection

I have WordPress 4.1.1 installed on CentOS 7 as a MultiSite installation and "AllowOverride" has been set to "ALL" within /etc/httpd/conf/httpd.conf. Therefore PERMALINKS as set within each ...
-1
votes
3answers
114 views

WP Job Manger change jobs url (NOT slug)

I'm using the WP Job Manager plugin in my wordpress website. The list of my jobs is currently found on /jobs . I would like to have it on /careers . The listing of all jobs is not a page so I can't ...
0
votes
1answer
40 views

Use a template file for a specific url without creating a page

I wonder if its possible to use a template file for a specific url without having to create a page for that template. This is my simplified problem: I have created a page in WP with some link ...
0
votes
0answers
14 views

Custom rewrite rule returns post instead of (start)page

I need a custom rewrite rule so that /a/b/c/d/123 points to the startpage because my own plugin on the startpage needs those parameters from the URL. / I was able to accomplish most of ...
1
vote
1answer
34 views

How do I change attachment slug from name to id

I need to change the slug of the attachment post. Currently, it is showing attachment name , I want it to be replaced by id of attachment. Edit : Thanks to suggestion by TheDeadMedic, I am now ...
0
votes
1answer
26 views

Wordpress Rewrite Issue

I created a custom taxonomy, two actually (one tag and one category), for a page that lists a series of community projects. This is the parent URL: website.com/community If you go here you'll see ...
0
votes
1answer
47 views

Nginx rewrite rule conflict with WordPress permalinks rule

Facing issue with nginx url rewrite rules. What I want is to serve http://example.com/2015/03/23/post-title/ page when someone tries to access http://example.com/2015/03/23/myfeed/post-title/ url. And ...
0
votes
3answers
116 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/? ...
0
votes
0answers
19 views

Wordpress Apache Redirect URL to another .htaccess

Hi I renamed the site Permalink: http://www.adress.com/tutorial/faq/ to Permalink: http://www.adress.com/tutorial/start/ in the Wordpress Edit Page Menu. Now the URL ...
0
votes
0answers
10 views

Rewriting top level URL to point to custom taxonomy in addition to pages and categories

I need the top level URL on a blog to point to custom taxonomy, in addition to categories and pages which are the default. For example, currently if a visitor goes to example.com/entertainment, ...
0
votes
0answers
30 views

URL rewriting with custom user meta “/%shop_name%/gallery/%gallery%”

I have created a custom user meta = shop_name in User Profile and custom post type gallery The default URL of the post is http://localhost/gallery/%gallery% which i have modified to below given URL ...
0
votes
0answers
20 views

Need help understanding a rewrite with multi-level taxonomy

I am trying hard to learn how to do rewrites. Not having really any understanding of regex is obviously not a good start. I have a cpt books and a taxonomy book-publishers-series. I have written the ...
0
votes
1answer
38 views

redirect old post type url to new structure url

i have one cpt Anime and it has post_type taxonomy with term anime and animation anime(cpt): (site domain)/anime/post title | |-(tax)Anime |-(tax)Animation And my url structure are ...
3
votes
1answer
31 views

Change page /2 to /transcript with a Rewrite

I set up this rule (in functions.php) function custom_rewrite_basic() { add_rewrite_rule( 'episode/([^/]+)/transcript', ...
0
votes
1answer
31 views

add custom entries to menu options

The menu options in WP already have support for created native posts types, and custom post types, and existing taxonomies. But in my plugin I provide a couple custom URLs that are not associated ...
0
votes
1answer
9 views

current_menu_parent for custom post type and custom url

I have defined a custom URL that loads a custom template, as a customized "archive" por a custom post type. I can't use the native archive since the page has a couple requisites that the archive ...
0
votes
1answer
17 views

Using category slug in add_rewrite rule

I'm using this function ro rewrite URLs: function archive_rewrite_rules(){ add_rewrite_rule( 'inspiracao/([^/]*)/([0-9]{4})/?$', ...
0
votes
1answer
18 views

Do rewrites added with add_rewrite_rule() persist after plugin deletion?

I am developing a Wordpress plugin and need to ad a rewrite url using add_rewrite_rule(). That does work. But what happens when my plugin is deleted? Does Wordpress cleanup the htaccess or do I need ...
0
votes
0answers
20 views

How to change comment-page-1#comment-25 to any string?

How can we change the slug "comment-page-1#comment-25" to somthing like review-page-1#review-25
0
votes
1answer
16 views

Custom Post Type URL Rewriting

I would like to add parameter to custom post type posts So I need to do my url like that. http://www.mywebsite.com/mycpt-slug/post-slug/myparameter I found this solution but here it's work with post ...
0
votes
2answers
62 views

Dynamically generate child-URLs for posts or custom posts

How can I have a post (or custom post) with a definite URL: www.test.com/category/post-name and a child-URL referring to a specific section of that post www.test.com/category/post-name/sub-url ...
1
vote
1answer
18 views

How do I create a permalink structure with 2 taxonomies

I would like to create permalink to a search for a custom post type that has 2 taxonomies in it. Here are a few appropriate examples: /root/%taxonomyA%/%taxonomyB% ...