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

I am trying to add a mode rewerite rule that seems to fail

I am trying to redirect everything from /app/.... to a certain page Will use that later for angular js. This is what i came up with : add_rewrite_rule('/app/.*', 'index.php?page_id=11', 'top'); ...
0
votes
1answer
13 views

Capturing /page-name/[0-99999] in both template and number

Apologies if this has been answered already - I have singularly failed to word my question in a way that Google can help. I'm trying to create a page that acts as a base URL for a range of items with ...
0
votes
2answers
17 views

How to get page_id for url rewrite or how to use page slug for calling a page?

I would like to simply create an url rewrite that takes the third argument and matches it to its corresponding pages, ignoring the other two arguments. domain.com/argument1/argument2/page-slug = ...
0
votes
0answers
29 views

CPT's with landing page instead of archive - Url Rewrite?

I am building a directory website which has various Custom post Types like Tours, Food, etc. The client would like to see landing Pages for each of the categories which can be edited manually (think ...
0
votes
0answers
9 views

Add parameter to custom post permalink

I have created custom posts which have permalink structure as http://example.com/custompost/pagetitle I also want to access the same post with URL like ...
0
votes
0answers
3 views

how to add prefix to post url structor only

I need to add "item/" prefix to post url only I went to Settings -> Permalinks and set this : /item/%postname%/ and for category and tag set this: category tag But other post_type and ...
0
votes
0answers
17 views

Moving URLs in search results

Since I am a layman, but now have some understanding about 301 redirects,302 redirects, and how URLs from page 1 can be moved to let's say page 2 by doing what the following author wrote: "At the ...
1
vote
2answers
130 views

Rewriting 'rewrite' slug for custom post type used by plugin

quick question: I'm using a plugin that creates a custom-post-type with the rewrite slug /projects/ So myurl.com/projects/single-project I want to to rewrite `projects/ with 'rewrite' => ...
0
votes
0answers
15 views

How to rewrite custom post type url archives instead of this url? [closed]

all I have some issues. I want to change url like changed url but show 404 page! http://50.118.92.84/news-room/post_publications/2015 for custom post type but my custom post type is ...
1
vote
0answers
29 views

Mirror content based on URL slug

I have a training site that manages the same content across several branded versions. examples: .com/product-name-a .com/re-brand1/product-name-a .com/re-brand2/product-name-a Where all 3 are ...
0
votes
0answers
46 views

Custom post type with parent page? Possible?

I'm having trouble getting my url structure the way I want. I have a page with two sections: private company Let's take private as an example. In this area, I wan't to have a url structure like ...
0
votes
0answers
15 views

Make custom post url accept anything after the event slug - for use as url parameters

I want to parse url parameters to my custom page code within a custom post type by simply appending folder values to the end of the valid custom post type. So instead of: www.test.com/tests/post1/ ...
1
vote
0answers
22 views

Nginx — Wordpress multisite with root folder in own directory

I have my Wordpress files in a directory called wed. I also have the following rewrite rules in my Nginx config: if (!-e $request_filename){ rewrite /wp-admin$ $scheme://$host$uri/ last; ...
0
votes
1answer
19 views

Change permalink to attachment

Hello i found this code and I modified a litle, but i have a problem with it. I want the link of the attachment page to be something like this [post-permalink]/[gallery]/[postid] 1234/ .. /1253/ ...
0
votes
1answer
24 views

Direct Dynamic URL in root to a location within template

I needed to have dynamic URLs created once a user (say Organization) submitted a registration form where the URL would be domain.com/organizations/organization-name/dashboard/ The "organization-name" ...
0
votes
0answers
8 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
36 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
29 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
11 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
46 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
24 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
51 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
19 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
13 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
18 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
32 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
20 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
24 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
26 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
35 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
19 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 ...
2
votes
2answers
45 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
44 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
32 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
24 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
45 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
144 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
29 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
32 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
131 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
46 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
15 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
42 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
28 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
56 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
131 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/? ...