A permanent link to an item (a blog post, an attachment, ...). The default structure is "?p=123", but WordPress can handle "pretty permalinks" and will rewrite them internally to the former version. If you have a question about special rewrite structures you should use the [url-rewriting] tag.

learn more… | top users | synonyms (1)

0
votes
0answers
19 views

Getting rewrite correct

I had the permalinks settings as /%postname%/%post_id%/ but recently change it to /%postname%/ and added the following to htaccess RedirectMatch 301 ^/([^/]+)/(\d+)/$ http://www.site.com/$1/ It ...
1
vote
0answers
25 views

How to remove custom post type and add category and post name

I have a custom post type called listing and taxonomy for this listing is called listing_cat. At the moment my wordpress permalinks appear in this format ...
0
votes
0answers
8 views

changing permalink “next link” to navigate the next page not working

Why on earth if i change my permalink structure, like this! /%category%/%postname% the next link to navigate the next page, is not working! it display the error page not found but if add some text ...
0
votes
1answer
7 views

Link to most recent child page

in the header of a website I am trying to link to the most recent child page of a particular parent page. I can't seem to wrap my head around how to accomplish this. Does anyone have any input on ...
0
votes
0answers
7 views

Random post slugs cut off from original and underscores not converted to hyphens

I am having a serious problem right now. Our business website just crashed and almost every single page has stopped working. I am in the process of restoring the backup right now but would like any ...
0
votes
0answers
22 views

URL/Permalink customization for Taxonomy/Term archive & post

I have a CPT called "Provider", taxonomy called "State" and a term called "Alabama". Is it possible to change the following URL structure from: 1. http://localhost/state/alabama (to view all the ...
0
votes
1answer
20 views

Create custom permalinks to show Custom Post Type's relationship?

I'm creating a WordPress site that has 3 custom post types registered: course, chapter, and lesson. All of these post types are inter-connected and share a relationship using custom fields. For ...
0
votes
0answers
8 views

Problem with multiple tags in URL

I used the link mydomain.com/tags/tag1,tag2/ on my Wordpress website with no problems whatsoever. But it doesn’t work from a certain moment. It displays error 403: Forbidden. I noticed that links with ...
0
votes
0answers
5 views

Permalinks that start with same string as blog's directory not working

I have a blog in a directory called "press". Permalinks are set to post-title and work in most cases, but if a post/page-title starts with the string of the directory, in this case "press", the ...
0
votes
1answer
17 views

Which is the neatest way to have homepage articles and a blog?

I have a homepage that should display a few different posts from different categories. I use the "Stick this post to the front page" option to this matter and each post permalink looks like ...
0
votes
1answer
23 views

Permalink Rewrite to include Custom Taxonomy Term

I've created a custom taxonomy for posts using register_taxonomy( 'discipline', array('post'), /* if you change the name of register_post_type( 'custom_type', then you have to change this ...
0
votes
0answers
13 views

Template for Taxonomy and all its Terms

Hy! I've searched high and low, up and down, left and right to find an answer. I've tried all that I have found, even the ones that are suggest for the title I wrote. I am working on a theme under a ...
0
votes
0answers
10 views

Parent (ID from meta box) not showing in permalink, only Grandparent

I'm working on a site inherited from a previous developer and I've run into a issue that's really confusing. There's a custom post type for Locations. The hierarchy for Location posts would look ...
0
votes
2answers
15 views

Why I can't change the permalink of this page?

I have the following problem with a permalink: if I open this page (it is implemented as a static page) on my local website: localhost/wordpressAsper/archivio it automatically change it into ...
0
votes
0answers
20 views

Permalink sending user to featured image media page rather than the post?

I'm working on a site and, on a particular category archive page, the permalink to the individual post is instead sending me to a media page for the thumbnail file. What's weird is that it's only ...
0
votes
0answers
8 views

permalink is only showing relative path in dashboard

Permalink: /blog/blog/ My permalinks are only showing as relative. In the database for each post and image they are stored as relative urls as well. When a user tries to share an article to social ...
0
votes
2answers
27 views

Add category slug as class attribute in a link array

This incredible website and the genius developers here have helped me significantly in the course of my WP Dev over the years, firstly THANK YOU. I am now faced with a problem that I have been trying ...
1
vote
1answer
56 views

Remove permalink settings in post for users

I'm use the following code to remove the permalink settings in a post. This work until the user presses on publish button. Then the permalink settings reappear. add_action('admin_head', ...
0
votes
0answers
15 views

Subdomains to pages

Hi I have a website on wordpress which have 2 pages which I meant to convert it to subdomain. Eg: Let my website at be http://www.domain.com there are two pages http://www.domain.com/page1 and ...
1
vote
1answer
31 views

Auto setup “permalink” or request notice

I am trying to find a function or how to do. When you install (or active) a theme. 1. I want to check if the link type is "permalink" or not. 2. If not, I want to make a notice saying "this theme is ...
0
votes
0answers
15 views

Custom permalinks with custom taxonomy children show 404 error

I'm having the following problem. I've made a custom post type which is called Products. Products has a slug of "products". I've also created two custom taxonomies. One is Product Category (which acts ...
1
vote
0answers
16 views

Pretty product permalinks with Woocommerce shop/category/subcategory/product-name [closed]

I'm having a tough time figuring out how to do pretty permalinks for Woocommerce with this kind of structure "www.page.com/shop/category/subcategory/product-name" The best I could come up with was ...
0
votes
0answers
50 views

Custom Permalinks for CPT causing 404 errors for 'normal' single post pages

I'm having a problem with the permalink structure of a Custom Post Type which is conflicting against the normal single posts (in the 'posts' post type which comes as standard with WordPress). Heres ...
0
votes
0answers
21 views

WordPress 4.0 beta - how to change the link URL in RSS feeds

I am using WP 4 beta and have a site at blah.com/blog but I display the posts on my site at blah.com/articles I want all of the URLs in my RSS feed to use my site URL. Following what was mentioned ...
0
votes
1answer
20 views

Development before domain name chosen

I have a new customer who hasn't chosen a domain name yet but I need to start development for him using a subdomain of my domain. I'm on Bluehost using add-on domains and subfolders. Is there a way to ...
0
votes
1answer
16 views

Permalink, links a page to the homepage

So I'm using the 'post-name' pretty permalink structure. I have a page called The Trust, the slug of this page is the-trust. But when i go onto www.mydomain.com/the-trust, it shows the the homepage. ...
0
votes
1answer
17 views

Custom Permalinks and filters?

Ok, so I've added a custom permalink, which is mapping to my page fine. For some reaosn though the filters I've added aren't showing up. In the shortcode, they're just being returned as NULL. My code ...
0
votes
0answers
33 views

Perform internal redirect in WordPress?

Let say I have an existing page named "bar", e.g. http://www.example.com/bar I want to write a plugin, which when called, will load the content exactly same as bar (not just post_content, but the ...
0
votes
1answer
24 views

How to set “with_front'=>false” to a plugin-generated cpt?

I am using an external plugin (not my own CPT) to manage events on a site where the blog permalinks structure is /news/%category%/%postname%/ Normally for CPTs I could set the prepend with front to ...
0
votes
2answers
21 views

Is there a way to remove the option to modify the Slug in post.php

I am trying to remove the option to edit the Permalink. I know how to hide it with CSS and I have. But a hacker could simply just go to Inspect Element and change display: none; to display: block; ...
0
votes
1answer
22 views

Use a custom post URL that is outside the blog root directory

I have a website blog and its URL is: www.website.com/blog The above is fine and I want it to stay that way. www.website.com is the main site, which is not a blog. Currently, the URL structure for ...
0
votes
1answer
24 views

Folder Name and Category Name Wordpress

I have URLs that need have the old URL for download files. Before, it has 2 separate website. The MAIN and the PORTAL website. http://www.website.org http://www.website.org/portal I want both ...
0
votes
1answer
29 views

Root level category, tag, author and archive pages to work

I want root level Wordpress urls to work for category, tag, author and archive page. For example right now categories pages are. domain.com/category/cat-name/ it shows posts under cat-name ...
0
votes
0answers
8 views

Renaming CPT slug when the user access a page from one specific taxonomy

How do I rename a registered CPT slug when the user access a page from one specific taxonomy? I have a custom post type called /package/ and it taxonomies /america/ /europe/ /asia/ /hotel/ An ...
0
votes
2answers
38 views

.htaccess regex for redirect subdomain to root domain & redirect old permalinks

ok, i have at site a blog.mysite.com, and recently migrated all content to a new wp install at mysite.com. i want to redirect all of the posts from blog.mysite.com to mysite.com and also account for ...
2
votes
1answer
41 views

How can I store page ID in a post instead of other selected permalink?

We're using Wordpress as a knowledge base. We just left mediawiki and jekyll for Github pages and reduced the amount of different systems from four to just one. One Wordpress installation for blogging ...
0
votes
3answers
66 views

Issues with Wordpress permalinks

I am new to wordpress but have experience in Drupal. I am developing wordpress site which I access as localhost/site1. I created another copy of it to experiment a few things. I can access another ...
0
votes
0answers
10 views

Global change of permalink structure across multisite

Is there a way to update the permalinks across an entire multisite without having to update them one by one?
0
votes
1answer
19 views

Have two (permalinks) urls for a same custom post type

I have an specific situation which I´ll try to explain. In the website I developing right now we have fairs (event) and every fair has a profile page. Lets call ns_fair custom post type and its loaded ...
0
votes
0answers
28 views

Choosing A Specific Category for WooCommerce Permalinks [closed]

I'm new to woocommerce and trying to setup a site. I have the following structure: Products Books Shirts Pants Then some other categories with subcategories like Book Types Architecture ...
0
votes
0answers
50 views

wordpress permalinks error 404

i am new to word-press, i have made my own theme in wordpress but the problem that i am facing is the permalinks which are not working and showing me error 404 when my permalinks settings are at ...
0
votes
0answers
12 views

Automatic -1 suffix being added to the permalinks of a page when the page does not exist

I have a really strange problem with a -1 suffix being added to a permalink on a page im trying to create which is getting very frustrating. Its specifically a page titled event, each time i try to ...
-1
votes
1answer
51 views

Why does my subcategory URL give 404 eror?

I'm using WordPress's standard theme Twenty Fourteen. Here is my problem Not Working: http://ispeedify.com/internet/paypal/ I've made my "PayPal" a sub category of the parent "Internet". But the ...
0
votes
0answers
28 views

Current state to a button when on a single page

I am having trouble figuring out how to keep the current state active once on a single page of the post. For example: Recipes displays a list of all my post that are under a specific category. Once ...
1
vote
2answers
101 views

Determine WP_Query parameters from URL

I'm wondering if it's possible to determine WP_Query parameters by only using the given page URL. The reason I'm trying to do this because I'm developing a SPA theme (and ultimately a JSON response) ...
0
votes
1answer
27 views

Custom permalink structure only saves with index.php inserted

So I'm having this weird issue on the dashboard where custom permalinks only (default, day and name, month and name etc. those all work fine) doesn't save. I can choose the radio button and click ...
0
votes
0answers
32 views

Help with add_rewrite_rule solution

In my Wordpress blog, I configured permalinks > Category base to "magazine" with links having this format: http://www.mydomain.com/magazine/news/europe/france The above link opens the France ...
2
votes
1answer
70 views

How to achieve a clean custom permalink solution?

I am working on the design of a blog with the below(just a sample) category hierarchy. PARENT | ...
0
votes
0answers
8 views

Rewrite rules for subterms in custom taxonomies

I am using a large number of custom taxonomies. My post type is called "location" and there is a parent term "Asia" and a subterm "Thailand". Now I created the taxonomy archive template files ...
0
votes
0answers
35 views

change precedence of permalink for post_types?

I have a series of pages with the heirarchy: /albums /name1 /name2 /name3 ie. all these pages have a parent page with the slug 'albums'. If I have a permalink /name2 it shows the page ...