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
1answer
19 views

Change default URL structure on post creation

I currently use Post name for the permalink structure. I want to add text from a field at the end of the permalink. Is there any hook for the permalink creation when a Post is published? In my case, ...
0
votes
1answer
15 views

Rewrite URL Parameter And Force 'Pretty' Permalink

I’m trying to pass a variable via a URL parameter and rewrite + force 'redirect' it. In other words, I have: /dir1/dir2/?my_var=123 and I want: /dir1/dir2/123/ Through the following code in ...
0
votes
0answers
6 views

woocommerce product link including category-name and with /product/

I like to change the product link in woocommerce. Now it is www.shop.com/product/test-product-123/ But I like the category inclosed instead of the text /product/ Result would be: ...
0
votes
0answers
17 views

Process all virtual sub pages on parent page

My parent page: http://example.com/id Virtual pages are: http://example.com/id/1563 http://example.com/id/john/5896 http://example.com/id/jack-miami/3054 I use shortcode in parent page that gets ...
0
votes
2answers
24 views

How to stop WordPress from removing & from URL

So I have a URL which has a tracking link applied to the end. For some reason WordPress is removing the "&" which is causing the tracking to fail. You can see the URL exmaple here: ...
4
votes
1answer
87 views
+100

permalink independent on the post's name stored in the database

I'm trying to make a custom permalink structure for my posts. www.example.com / post / %post_id% / %posttitle% / In this permalink, the post's ID comes first, then the post's title after it. ...
-3
votes
1answer
22 views

Ultimate Member: How to change the permalink base for user profile page

I am using Ultimate Member plugin, currently the user profile base link is http://www.example.com/profile/user-name I want to change it to http://www.example.com/user/user-name Any idea how to ...
1
vote
2answers
23 views

How to have extra permalink for posts

My permalinks are like mydomain.com/post and have to be like that, but because I use non-English characters (which need to be in the URL and make it really long and weird) for posting in social ...
0
votes
2answers
35 views

Change permalink structure for custom post type

I have 2 custom post types: software and hardware. For SEO reasons I would like to have the permalinks of single software and hardware pages like: https://domain.com/custom-post-name/ But as ...
0
votes
2answers
21 views

Why will Pretty URLs not Work?

I have many security plugins setup. Could someone tell me what changes I need to make to my .htaccess file (while keeping as much of my current rule set as possible) to make pretty URLs work? # BEGIN ...
1
vote
1answer
23 views

Remove base slug in CPT & CT, use CT in permalink

I've come quite far, but can't manage to get this to work. I'd like to remove the base slug from my Custom Post Type review and my Custom Taxonomy brand. The final result should be a URL like this: ...
0
votes
0answers
22 views

Changing permalink structure on multisite

I want to change the permalink structure on a couple of the sites I host on my wordpress multisite install from Day and Name and Post name. In order to ensure that previous links are redirected I ...
1
vote
0answers
23 views

How to show custom taxonomy in the permalink?

I used the Portfolio Post Type Plugin to create custom tax and post type. I would like to show the custom taxonomy on the portfolio projects. portfolio/customtaxonomy/project while now is ...
0
votes
0answers
24 views

Correct permalinks and 404-error

I have a paid plugin that creates a custom type categories and posts in this categories. I want to get URLs like site_name/category_name/post_name. This plugin forms links like this: List item ...
0
votes
1answer
13 views

I have to specifiy port otherwise the website doesnt work

For some reason I have to specify fort :80 in the name of the website. Otherwise, nothing works. However, this port is then included in the permalinks and in the sitemap etc. Is there a way to get rid ...
0
votes
0answers
11 views

Unexpected template for different cat name & slug

I just shifted the website from staging to live There is category name = blog slug = blog And a page name=blog slug=blog(given by mistake) using template Blog which show posts from category ...
1
vote
0answers
24 views

Trying to use AngularJS with WordPress without any API

I understand one can do this using the JSON RESTful API from WP but I don't want to go that route since it only works with sites on Wordpress.com and not on localhost (at least that's what I was told ...
0
votes
0answers
17 views

Add a URL prefix to permalinks of one category of posts only

I have the permalink structure http://domain.com/%postname%/, which is what I want to keep for most of my posts, however there is one category of posts that I would like to move from ...
1
vote
0answers
12 views

What would cause a theme to add extra characters to blog post links?

I've been working for the past couple days to figure out why a theme is adding " title=" to the end of a given blog post's URL, resulting in a 404 error. I've authored test posts, same result. ...
2
votes
2answers
168 views

How to create a permalink structure for posts in a specific category

I am building a single author blog that will include multiple categories. One main category is "Movie Reviews." The author will leave a short review every time they watch a movie - even if they've ...
0
votes
1answer
11 views

How to change dynamic link to relevant post

I currently have a theme that was created by another developer and I just need to change a few small things to get it finished. I'm a little stuck on this one point: A section of the home page pulls ...
0
votes
0answers
18 views

Change wordpress url permalink structure to show authors posts

Is there a function that change the whole wordpress permalinks structure?, I need the following pattern: domain.com/author/custom-post-type/post I've tried a few but nothing seems to work.
0
votes
0answers
15 views

Can't configuration Permalinks

I installed wordpress on Virtual Box, through environment vagrant. I search for resolution for this problem in here but all the article I found I can't resolve my situation. When I change the option ...
0
votes
1answer
24 views

Permalink Doesnt Work - URL Not Found

My friend installed WordPress in his computer (which is, the OS is MAC), then he create post and customized some things(install plugins). Then, I copy and paste his work in my localhost (which is, I ...
0
votes
1answer
16 views

post_name is not stored until post is published… where should I store my slug until it goes live then?

important try as normal contributor user, not as admin see here I actually have it reproduced. Seems like a bug to me but whatever. I want users to choose their slug. Well, as you cannot store ...
0
votes
1answer
24 views

Getting an ID from a URL, why can WP do this itself, but none of of the functions provided get it right?

I have a set of absolute URLs that have been used to refer to my site (they come from redirects in an old .htaccess file in this case). All of these URLs do resolve to some page or post on the site. ...
0
votes
1answer
28 views

Auto-generated pretty permalink not using title since 4.4 update

I have pretty permalinks enabled. Now when I save a draft and/or publish a post, half the time it just uses the post ID as the permalink instead of the title. This started happening after the 4.4 ...
0
votes
1answer
51 views

Custom rewrite rule for hierarchical custom post type

Working on a client site I've encounter my worst enemy... WP URL rewrite :(. I actually can't figure it out and after many days trying and searching, I can't make it work. What I'm trying to get is ...
1
vote
1answer
17 views

category permalinks

i am quite confused about the permalink stuff. So here is whats up... I have a page called tours as well as custom post type called mc_tours. At first i just changed page permalink to ...
0
votes
0answers
25 views

Custom permalink stops pagination

Im currently using wordpress 4.4 and i use this permalink structure %category%/%postname% I realized today that the pagination from main page is not working, but if i set it to some simpler ...
0
votes
0answers
11 views

Disable the ability to edit permalinks for posts [duplicate]

I'm using WordPress 4.4.1. How can I completely disable the ability to edit permalinks for posts in the admin interface? I am using a custom permalink structure of /blog/%year%/%month%/%postname% and ...
0
votes
0answers
10 views

Error logging out of my WordPress Dashboard(Error 404)

I have my website running on localhost. When i click the logout link it says, The requested URL /final/act-login/ was not found on this server. I think it happened because i changed my permalink ...
0
votes
0answers
25 views

How can I obtain uppercase caracters instead of lowercase for the permalinks?

How can I obtain uppercase characters instead of lowercase for the permalinks? For example I want http://example.com/CAAPA20160109. I made a hook on the function sanitize_title: ...
0
votes
0answers
34 views

My Wordpress url has ?c=6d1368cfbaef at the end

I am new to WP. I am currently building a WP woocommerce website using the theme Envato Bookstore. Active plugins installed: Header and Footer LayerSlider WP PDF Product Catalog 2 (BETA7) for ...
1
vote
1answer
21 views

How get permalink for the current category or tag?

There was a problem in which it was necessary to get permalink of the category/tag viewed. I have not found standard functions, everything other authors offered was only for categories. I resoved the ...
1
vote
2answers
56 views

Permalinks: Page Not Found

When I open the newly created page in WordPress I get page not found but when I reset the permalinks to none http://localhost/?page_id=6 opens normally . Even with this permalink it works : ...
0
votes
0answers
14 views

Hierarchical permalink for taxonomy archives

Hi I have a custom post type "book" and a taxonomy "authors". Currently taxonomy archive permalink works as: localhost/book/child-author-term and localhost/book/parent-author-term No problem if ...
0
votes
0answers
9 views

Getting 404 when Access post which name start with Digit

I am facing some strange issue with post pages/ Getting Error for URL : www.example.com/5-reasons-to-use-wordpress Working fine it I change post name like [5 to five] : ...
0
votes
0answers
30 views

NGINX 301 redirect to permalink with Post ID

I have old permalink structure like: /%postname% But now I want to change it to: /%postname%-%post_id% I'm easily to do this via permalink settings, but how I can setup proper 301 redirect in ...
0
votes
2answers
26 views

Create page as a file in my theme?

Is it possible to create a single page by just adding a php file inside my theme and add header and footer to it? Yes, I know, this page will not be able to administrate through WP Admin. I have ...
0
votes
1answer
23 views

How to have permalink structure based on taxonomy terms

I have a custom post type i.e services & custom taxonomy services_type I have custom permalink structure as /%category%/%postname% term1,term2,term3 are different terms under services_type ...
0
votes
0answers
16 views

Permalink structure between 2 custom post types and a taxonomy

Ok here is the scenario. I have a custom post type called "Communities", a custom post type called "Community Posts" and a taxonomy under "Community Posts" called "Communities". The idea here is that ...
1
vote
1answer
78 views

Parent & Child Taxonomy slugs in custom post permalink

I've registered a custom post type "book" and a taxonomy "authors" as below: add_action( 'init', 'post_book_init' ); function post_book_init() { $labels = array( 'name' ...
0
votes
1answer
34 views

How to map a URL to a specific template?

I have a URL like http://example.com/arbitrary/path that I would like to map to a specific template file. At the moment I am achieving this by enabling permalinks and creating the pages "arbitrary" ...
0
votes
0answers
46 views

Page redirect to 404 when set Permalink = “Post Name”

In My wordpress site When I set Permalink structure as Post Name , It redirects all posts to 404. With Default permalink , It works fine. Server Details : Windows Server - IIS Web.Config Code : ...
0
votes
0answers
63 views

Numerical pagination not working with permalink change

I have some issue in numerical pagination. Pagination work when permalink setting set plain but when I change permalink "Plain" to "Post name", pagination not working. When I click on any number ...
0
votes
0answers
33 views

Custom permalinks for search with extra parameters

I am trying to change default WordPress permalinks for search because I added few parameters to search.php the url now is like: ...
0
votes
0answers
16 views

Custom Permalinks for JSON Feed

What file-name would I make to allow the following permalink. Wordpress/Custom-Archive/ID/Title I have created the Custom-Archive with achive-slug.php and the ID seemed to work under that as well ...
0
votes
2answers
20 views

Permalinks for thumbs with get_post_gallery

On attachment page I would like to display all images belonging to the parent post, so there should a thumbnail gallery. Using... $parent = get_post_field( 'post_parent', get_the_ID() ); $gallery = ...
1
vote
0answers
40 views

Wordpress 4.4 old permalink redirect

i have a question for you and i hope you can help me out. I have a site with over 500 broken links due to an old permalink i changed 3 year ago. I know i could use a plugin for that (if you recommend ...