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

Pagination not working for custom category template and custom permalinks

I am using following code in category-20.php, for the pagination through ajax, which is working fine for the defaults permalinks. But when i change the permalinks to custom, then pagination doesn't ...
1
vote
1answer
20 views

Get new Wordpress slug from old wordpress slug

I have implemented a shortcode called post which contains an attribute src which has link of an of page [post src="http://www.listenmoneymatters.com/the-betterment-experiment/"] Currently, this ...
0
votes
0answers
16 views

CPT Rewrite Rules by date

I'm having issues with date categorized posts for my CPT. I have permalinks not on the default. I created a CPT with register_post_type and setup rewrite rule as follows. 'rewrite' => array( ...
-4
votes
0answers
22 views

How to disable permalink auto cut? [on hold]

How to disable permalink auto cut? i would like to use full title long permalink in url how to ?
0
votes
0answers
10 views

How to properly make a blog roll?

I know that there's a home.php for the blog roll. However, I've been seeing a lot of WordPress sites lately and their blog rolls are under "articles" or "writing" like "somone.com/articles" or ...
1
vote
0answers
19 views

Make Category Base Appear in Posts Permalink (but not tags)

I have a slight problem with WP permalink structure. My aim is to make posts permalink appear with a specific category and it's base, for example: domain.com/custom-base/%category%/%postname% And ...
0
votes
1answer
41 views

Load custom PHP on a custom URL via a plugin

I am looking into having a plugin developed that loads a PHP script (myscript.php) on a custom URL. It's very important to achieve this functionality with a plugin. Example: example.com/myscript - ...
0
votes
1answer
21 views

Change slug of registered custom post type in child theme

I successfully renamed a custom post type registered by my parent theme in my child theme using this method. The problem is, my permalinks haven't changed. So when I change portfolio to homepage and ...
0
votes
0answers
11 views

Using Tag name in link to post

I have 2 Tags one is named 'The Guardian' and the other is named 'New York Times' assigned to some posts. Right now my link to those posts on my home and category page says 'Read Full Article' and ...
0
votes
0answers
23 views

posts not show after changing permalink [on hold]

I changed My Permalink in setting area in the dashboard menu After changing the permalink, the setting worked and changed the links, but posts content are not showing up and the links go to not found ...
0
votes
2answers
27 views

Template Tags return incorrect values on mobile [closed]

I'm writing a website for a company that already has a WordPress-based site elsewhere on the same server (the site I am writing has a different domain, but is on the same hosting machine). The site ...
0
votes
0answers
7 views

Link Post Titles to External URLS

I have a site full of 1000s of newsfeeds. When user clicks on the title, it takes the user to the article page, then the user must click 'read full article' to go to the external url. Is it possible ...
0
votes
0answers
19 views

Adding %subcategory% to permalink structure: either subcategory or single-post outputs 404

I've had this problem before but never actually found a solution. Let's say i have a portfolio category, a drawings subcategory and a my-new-drawing single post, which belongs to portfolio/drawings/. ...
0
votes
1answer
18 views

What is the action or filter for changing permalink in Edit Post/Page?

I know about edit_form_after_title hook but what about changing the permalink. How does WordPress creates permalink because that permalink and the one that get_the_permalink returns doesn't match? ...
1
vote
1answer
17 views

Moved page (new parent) loads properly using obsolete URI. Why?

I hope someone can explain how WordPress knows to properly serve up a page that has been moved - even when using the "pre-move" URI. I would expect to get a "404". Instead, WordPress redirects to the ...
0
votes
3answers
31 views

Page uses index.php instead of custom template while changing permalink [on hold]

I'm asking this question with the hope. Here is the problem: I made a custom page template with comments in it [/Template Name: custom page template/] and assign this template to a page. This page ...
0
votes
1answer
26 views

Get a link to paged(<!--nextpage-->) part?

I want to get a link (like get_permalink($id) ) to it's specific page of a post (created by <!--nexpage--> tag).. how to achieve this?
0
votes
0answers
11 views

redirect post_id urls to full post url

I am having a site where I am using permalink like site.com/%post_id%/%postname%/. If a person visit site.com/%post_id%/ it does not redirect to full post url.
0
votes
1answer
26 views

Permalink for specific page name

I create a new page with post name is 'my-page'. I also have 2 custom query strings. So, the URL will be like: http://domain.com/my-page/?qst1=aaa&qst2=bbb I want the URL like: ...
0
votes
0answers
13 views

Custom Permalink with Custom user meta mapped to posts published by user

I want to map a custom user Meta to the permalink in the form of http://localhost/%user_meta%/posts. The user_metais a custom user meta whose id=brand. The URL http://localhost/%brand%/posts should ...
0
votes
0answers
13 views

/page/2/ not showing

I am having a weird issue where when clicking on the pagination links the page just refreshes. The links are pointing to the proper pages(/page/2/) but when clicked, they do not show in the url. This ...
0
votes
1answer
16 views

permalinks of subcategory and posts

I need to list subcategories and the posts that in it, for example: <h3><a href="#">subcategory</a></h3> <ul> <li><a ...
0
votes
0answers
15 views

Added incorrect rewrite rule now getting an error

I have made a mistake using add_rewrite_rule() function and now my site is throwing a 500 "internal server error" normally I would just edit/fix the issue in my .htaccess but since this is not how ...
0
votes
4answers
148 views

Change permalink only on new posts

Is it possible to change permalinks on all posts created after a certain date? This because we don't want old URLs to break. Now we have /%year%/%month%/%postname% We want to have /%postname
0
votes
0answers
31 views

Remove one part from the Permalink automatically

I have a bit of a messed up situation. The client wanted to have static landing pages like website.com/state/city but also create custom post types like restaurant. So I setup regular pages with the ...
0
votes
0answers
24 views

Wordpress Permalink Custom Post type

For the Permalink on wordpress setting I have /%category%/%postname%/ This will show Post in different category like /blog/post_title_1/ or /event/post_title_1/ but now I have some Custom Post ...
0
votes
0answers
24 views

Pagination returning 404 on Page 2 (/page/2) and up

The pagination on my website is not working. I can see the following rule in place Rule (.?.+?)/page/?([0-9]{1,})/?$ Rewrite index.php?pagename=$matches[1]&paged=$matches[2] But for some ...
0
votes
0answers
13 views

Add Archive suffix on permalink structure

My permalink structure is /%category%/%postname%/ Where the posts can have one category and one subcategory, having its permalink: /category/subcategory/postname The homepage of all the ...
1
vote
2answers
43 views

nginx - permalinks with .php in url not working

I'm moving a site from an Apache server to a nginx server. A lot of the pages have a .php extension at the end of the permalink. Trying to view those pages results in a nginx 404 Not Found. However ...
2
votes
2answers
45 views

Why Wordpress Can't Handle site.com/%postname%/someword ? Gives 404

I have noticed I get an advantage using /%post_id%/%postname% since any mistake etc after sitename.com/123/wrong-words?some=params&etc=etc gets redirected to the correct post. But for ...
0
votes
1answer
23 views

Should there be a trailing slash in the permalink

So which is better ?? /%post_id%/%postname% or /%post_id%/%postname%/ from a wordpress point of view in terms of performance and SEO. Does it matter. Google has big discussion here. But its not ...
0
votes
1answer
27 views

Modify get_permalink with a specific filter

I'm trying to modify the get_permalink function to return a custom url, as: function my_function( $permalink, $postID ) { $external_link = get_post_meta( $postID, 'external_link', true ); if( ...
1
vote
0answers
16 views

Host frontpage via example.com and everything else via example.com/blog

I've assigned a page as frontpage which will be available via example.com. All the other pages should be below the /blog. For example: Main-page: example.com All posts: example.com/blog Single Blog ...
0
votes
0answers
20 views

Weird slug in archives permalink

All my wordpress installs (and some others, as I see) have the archive based index in the following format http://example.com/date/2015/06/02. But most current installs out there display it as just ...
0
votes
0answers
16 views

Custom post type getting duplicate permalink

I'm trying to make a new custom post type as "Page" with non-based in URL like... function theme_setup(){ register_post_type('Hello',array( 'labels' => array( 'name' => ...
0
votes
0answers
13 views

How to keep the url unchanged for latest post of the same topic?

I want to create a site of software application directory. So, basically each post is a software detail page. For example Chrome will have a post on my site with url ...
0
votes
0answers
23 views

Change wordpress blog post permalink structure

My blog post URL consits of Website Name % Year % Month % Post Name. If i update any post, it does take the new Date as the post URL. Is there a way so that i can change the Permalink structure ...
0
votes
1answer
33 views

same permalink for parent category and child category

i have one category, that category is child of blog category and the permalink of this category is: name.com/blog/wordpress-plugins know i want to make a new category with the permalink below: ...
0
votes
0answers
49 views

Some permalinks are not working and show 404

I'm using WP 4.2.2 on NginX, with a multisite (subdomain) installation, and I have a strange problem. My site has about 18 posts and all post permalinks worked quite fine until this morning, when two ...
0
votes
0answers
13 views

using two different urls for same post

I want to use two different permalinks for same post for some reasons the permalink structure i need are http://www.example.com/category-name/post-name http://www.example.com/post-name please help ...
0
votes
2answers
38 views

Is there a log for the ajax calls made when changing a post's slug?

When changing the slug for a page (clicking OK) an ajax call is made to check if the slug is available and to generate a different one if not. Does anyone know if there is any logging for this, or any ...
0
votes
0answers
27 views

Missing post title from permalink

All my sites' post don't have post name/title in their url. I imported thousands of posts into my site in "draft" status. To publish them I used SQL command in phpmyadmin to change status to publish. ...
4
votes
2answers
106 views

Post titles not letting me use 2 consecutive dashes in permalink

I have a site where YouTube video IDs are used as a post's title. This mostly works fine, except some valid YouTube video IDs have two consecutive dashes. For example, "j--c0wP54JU" is getting ...
0
votes
0answers
32 views

Adding custom field to permalink structure

I have a wordpress site that uses a custom post type 'external-projects'. Within that custom post type there is a custom field 'director'. What I am trying to do is rewrite the permalinks to include ...
1
vote
1answer
19 views

How to create thousands of endpoints for a post or a page or a custom post type programatically?

Need help working with Wordpress endpoints with programming to create thousands of them like: example. com/custom-pagepost-id/endpoint123 example. com/custom-pagepost-id/endpoint124 example. ...
0
votes
0answers
55 views

Custom Post Type (child) and Permalinks Rewrite Rules

I know this question has been asked a lot of times. However I couldn't managed to solve the issue I have for a few days now so if you could help me it would mean a lot to me. I have created custom ...
0
votes
1answer
17 views

How Do I get the author's page id?

I need to assign comments a user makes to the author's page where the user is posting the comment. So, I need to get the author's page id. I have already tried functions like: url_to_postid() and ...
0
votes
1answer
22 views

how to find duplicated permalinks?

I've got a duplicated permalink somewhere, so I can't name the new one like that. Normally, I simply check the other posts, categories, media, even on the thrash. But this time I can't find any ...
0
votes
0answers
23 views

Wordpres 4.2.1 Permalink issue russian

i'm helping a friend to solve a problem on a website. That website is multilanguage (italian - english - russian), with default permalink all website works correctly, with pretty permalinks ...
0
votes
2answers
50 views

Custom Rewrite with Query vars

I have been stuck on this for hours and tried all these different methods but none seem to work. I've seen other threads with a similar problem but the solutions are not working for me. I'm hoping ...