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

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
9 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
37 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
16 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% ...
3
votes
6answers
360 views

I want to create a custom slug in WordPress and output JSON. How do I do this?

I have an array: $cats = array('Hobbes', 'Simba', 'Grumpy Cat'); I would like to create a custom endpoint called "http://example.com/cats". Whenever you visit this URL, have it output the array as ...
0
votes
1answer
32 views

Disable default posts (Posts,Pages,Comments and Media) in wp-admin

I want to disable the default post types for user author in the wp-admin panel of the wordpress and display only custom post types. For that i had got the code given below. function remove_menus(){ ...
0
votes
0answers
22 views

How to rewrite wordpress URL?

Following is my post URL. http://animoplus.localhost/races-chiens/category2/category-2-first-post/ races-chiens/category2/category-2-first-post/ /Post Name/ Now, I want to create other URL for ...
0
votes
1answer
20 views

Posts in Page - How to customize the URL?

I have a "normal" WordPress install. Blogposts are displayed on the homepage an there are a few pages. Now I want to display the posts of a specific category on a page, so that I can add some ...
2
votes
1answer
39 views

Categories' hierarchy in URL

The posts in the website I'm currently working on have multiple hierarchical categories applied to each of them. For instance: Source - Books -- Moby Dick -- Sherlock Holmes The permalinks are set ...
0
votes
1answer
29 views

Login page is redirecting to homepage

Unable to login because wp-login.php redirects to homepage. I tried deactivating all plugins but nothing worked. I didn't install any plugins or make any changes recently.
0
votes
0answers
11 views

Wordpress url rewriting in asp.net website not work for categories and tags

I am using wordpress engine in my asp.net website for blogging. I am using url rewriting like /posts/%post_id%/ in settings. every things work right except categories and tags. I set base category to ...
0
votes
0answers
23 views

add_rewrite Rule

I want to add a rewrite rule, the remove the "base" from a custom taxonomy link. There current structure is: http://example.com/bundesland/TERMSLUG I would like to have it like this: ...
0
votes
0answers
21 views

Remove rewrite path for custom taxonomy [duplicate]

I want to get rid of the rewrite path for a custom taxonomy. This is the way, I register it: register_taxonomy( 'bl_tax', array( 'stadt'), array( 'label' ...
0
votes
1answer
13 views

How to show my application as referral in Wordpress Stats

I have a desktop application that links to my wordpress website. Whenever a user clicks on the link in the application it opens my website in browser. However how can I track how many people are ...
0
votes
1answer
33 views

Remove sequential number from permalinks

I'm organizing some custom post types by taxonomy so that my URLs would look like /small-groups/spring-2015/date-your-mate /small-groups/fall-2015/date-your-mate The spring-2015 and fall-2015 are ...
0
votes
0answers
29 views

Custom Taxonomy/Post Type permalink rewrite

I am trying to rewrite my permalinks to make them flow better, but the permalinks keep throwing a 404 not found. Original permalink structure: example.com/video/chapter1 Re-written permalink ...
0
votes
0answers
24 views

Custom Post Type with Rewrite Rule and Paging

I am running WordPress 4.0 and I have created a custom post type called events-to-see which is a post. I wanted to get the events to display with the following url structure ...
0
votes
0answers
12 views

Converting WP Page to use full explicit paths?

I'm integrating a 3rd party product db/search feature into an existing/live Wordpress website using the vendor's Remote HTML Framing Code template. They are asking me to "convert all paths to full" ...
0
votes
1answer
31 views

WP redirect rule doesn't work

I'm trying to redirect the page http://www.example.org/newsletter/unsubscribe.html to http://www.example.org/newsletter/unsubscribe. I have tried the following: ...
0
votes
0answers
40 views

How to completely overwrite and replace the permalink rewrite rules?

The site I'm working on has a very specific permalink structure, one that is very different from the default wordpress permalinks. I don't want to add rules; I want to replace the rules entirely with ...
0
votes
1answer
22 views

Visting slug for 'post' post type shows 404 not archive?

I'm trying to get the WP default post type 'post' to show under the slug of /news/. I've changed the permalink structure to /news/%postname%/ which is fine when visiting a single page, however when I ...
0
votes
1answer
37 views

How to create a profile page for specfic / custom user role members?

I am trying to create a profile page for every user if his / her role is a custom role. Ive created a custom role in my site. Now this is the default role is assigned to the members when they ...
0
votes
1answer
40 views

How to link a PDF file to a category URL

I am not sure if it is possible to do this but I have a category called case-studies into which I write individual posts to summarize a case-study - for the sake of this question let's give a title of ...
0
votes
0answers
24 views

Ignore specific URI segment

I've set up a custom post type and have it displaying correctly at /archive and /archive/single - what I want to be able to do is allow specific segments in place of /single to still show the ...
0
votes
2answers
69 views

How can I create a page with a specific URL?

I would like to have a few pages which can be reached by anyone who knows the URL, but which are not listed on the WordPress menu. I would like those pages to have a name rather than a number, but I ...
0
votes
1answer
35 views

Locked out of admin panel after installing HC Custom WP-Admin URL [closed]

I installed "HC Custom WP-Admin URL" plugin (https://wordpress.org/plugins/hc-custom-wp-admin-url/) on my WordPress installation, and then changed the admin slug value to a cryptic url ...
0
votes
1answer
18 views

Creating custom URL for async content

I am using a fully asynchronous Javascript/jQuery portfolio gallery (Grid Gallery template in Photolux theme). When a portfolio item is clicked, the item's details loads. It is built-in in the ...
0
votes
1answer
33 views

Conditionally custom post type url rewrite

I am going to try and sum up what I am trying to achieve. I have custom post type named "item" and there are also registered taxonomy named "item_category". I need now to rewrite url, to remove "item" ...
0
votes
1answer
20 views

How to create an IIS7 re-write rule for a single category

I have a WordPress installation on an IIS7 server. I am currently using permalinks with a setting of /news/%category%/%postname%/ so the URL for all my category landing pages are in the form of ...
0
votes
0answers
240 views

taxonomy term in URL slug won't forward to the correct term for custom post like it does for default categories/normal posts

so I notice when you type the URL of a post with a category (eg category5/post), it will automatically forward to the correct category in the URL (eg category5 changes to category1) if the category ...
0
votes
0answers
33 views

Removing trailing slash from add_rewrite_rule custom page

I'm currently working on a plugin to add a new page to display data from a custom database table. All is going well so far but when I access the new URLs they are 301 redirected to the same url with ...
0
votes
0answers
18 views

How to fix social media profile URL appears in the end of every WordPress posts' URLs?

I am having issue right now regarding my WordPress URL. Not only appears on posts' URL, but also in the main domain. My social media profile URL always appears in the end of every URL of my WordPress ...
0
votes
0answers
41 views

Combining multiple query arguments into single query_var for permalinks

how Is it possible to combine multiple query arguments into a single query_var to be referenced in the permalink? For example, using the Posts 2 Posts plugin, it takes three query_vars to filter a ...
1
vote
1answer
49 views

Nested CPT URLs + Posts 2 Posts

I'm working on a client site that has two different custom post types: artist and portfolio. I'm using the posts-to-posts plugin to create a relationship from each artist to their portfolios. Artist ...
0
votes
1answer
54 views

How to print redirected query string variables to the page?

I have a basic redirection set up: function example_add_rewrite_rules() { $year = '(\d{4})?'; $make = '([a-z]{1,20})'; $model = '(.+)'; add_rewrite_rule( ...
0
votes
0answers
21 views

Add second permalink to custom post type

For a clients print advertising they would like to be able to create a shorter URL of a custom post type which they can use in their ads. Of course it would be possible with on of the many redirect ...
0
votes
1answer
51 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 ...
0
votes
0answers
31 views

Rewrite Rules with custom taxonomies not changing

I've been messing around with wordpress custom taxonomies recently in conjunction with advanced search queries and I'm trying to make search urls look prettier by using rewrite rules, these taxonomies ...
0
votes
1answer
40 views

How to add a meta information to the URL?

I need to put a post meta information to the URL: www.website.com/custom-taxonomy/postname-[metainfo] How to change the rewrite rules, that the content of this meta information is added to the URL? ...
0
votes
1answer
50 views

Fully mask *all* traces of WordPress installation subdirectory?

As can be seen in this dem0site.net (which has been installed to its own subdirectory (public_html/wp-org-01/), I have successfully followed the Codex instructions for "giving WordPress its own ...
0
votes
1answer
33 views

Error 404 wordpress redirecting URL

i'm having problems after trying to redirect my website with wordpress. I wanted not to have something like that: "www.example.com/wordpress/". So I did that in the wp-config file: ...
0
votes
1answer
42 views

Custom rewrite rules are sending everything to index.php

I'm creating a site where users work together on teams to create films. Currently, I'm setting up an edit page on the front end for team managers. I've just got a simple isset() check on a query var ...
0
votes
1answer
24 views

WordPress doesn't remember my custom rewrite rule

I have the following code: function b09_custom_rewrite_rule() { add_rewrite_rule( 'utils/([^/]+)/?', 'index.php?utils=$matches[1]', 'top' ); flush_rewrite_rules(); } ...
1
vote
0answers
16 views

simple add_rewrite_rule added, refuses to work

Bottom of my functions.php: add_filter( 'init', 'new_rules'); function new_rules(){ add_rewrite_rule('(.+?)/status/?$','index.php?pagename=$matches[1]-train-status',"top"); } Totally works in ...
0
votes
1answer
46 views

Appending parameters to WordPress query string in backend

I'm creating a plugin that is using the add_menu_page function to create a page for my plugin options. This means that the url for my plugins main options page is like this ...
0
votes
1answer
57 views

Using two permalinks for one post

Using two permalinks for one post I am developing a wordpress website for a client, the client want to show 2 separate templaes for post details the scenario will be. user clicks on post and our ...
0
votes
1answer
10 views

custom template for custom url

I've tried registering an URL for which I want a custom template to load up (and list maybe ten or twelve items of a CPT I have already registered and have working elsewhere). I have the following ...
1
vote
4answers
152 views

how to use a different domain/subdomain for authors/catagories on single site?

I'm not sure if I phrased this question correctly... My wife and I have one blog, family.com in this example, that we both contribute to. I would like family.com to show all blog posts. ...
0
votes
1answer
23 views

Custom Wordpress URL

Any ways I could show Custom Post Type's Content with such URL? E.g: (www.mydomain.com/view-promotion/christmas-promotion) view-promotion is page name christmas-promotion is the custom post type's ...
0
votes
0answers
68 views

Changing attachment url?

How to change default attachment url: www.domain.com/category-name/subcategory-name/some-post-title-here/attachment/some-post-title to: ...