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
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
23 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
34 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
16 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
19 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
17 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
18 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
157 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
36 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
26 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
26 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
15 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
58 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
58 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
25 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
45 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
17 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
23 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
16 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
37 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
38 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
70 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
16 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
46 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
31 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
114 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
41 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
23 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
68 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
23 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
25 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
28 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
56 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 ...
0
votes
1answer
36 views

Wordpress search seems to look into permalink (which is bad)

It looks like when you search for the domain name in the wordpress search box, you get all your content listed because the domain name is in each permalink. I've tried many things, but it seems to be ...
0
votes
1answer
139 views

Changing permalinks gives me 404 errors on nginx

EDIT It turns out that I was barking up the wrong tree trying to edit .htaccess, as nginx doesn't use it. What I apparently need to do is edit my .conf file. Before I read this, my_app.conf looked ...
0
votes
0answers
53 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
1answer
26 views

Remove index.php in permalink structure on IIS server

In permalinks(dashboard) section index.php added. e.g. Current Post Name: http://zakatchicago.com/index.php/sample-post/ Expected Post Name: http://zakatchicago.com/sample-post/ How can i remove ...
0
votes
0answers
37 views

Permalink with passed query string parameters not working

Within our site, using a custom theme we have a specific page that contains a query string to acquire an "abstract" using a talkid and programcode. The issue we are experiencing is that Google Search ...
0
votes
2answers
96 views

How to protect htaccess so it can't be overwritten?

I'm having a problem where Wordpress is periodically and randomly destroying the htaccess file and setting it to zero bytes. When it does this, the site of course breaks until permalinks are manually ...
1
vote
0answers
27 views

How to change permalink to include custom post type

Is there a way to add custom post type to permalinks with a plugin or otherwise? This is what I am trying to accomplish: mysite.com/projects/food/burgerking mysite.com/projects/wine/cherryvineyard ...
0
votes
0answers
39 views

Change permalink , keeping old structure with date

Currently on our website we have the /date/postname permalink structure with quite a number of posts. For SEO purposes we want to change it to /postname permalink structure but we want to keep the ...
0
votes
1answer
22 views

Imported posts using wrong domain name

So a little background. I have my WordPress development site backed up on a remote git repository. I added a ignore file to ignore specific files so that if the repository is cloned the site has to be ...
0
votes
0answers
29 views

Possible to use /%monthname%/ in my permalink structure without using a plugin?

I need to use the following permalink structure so that when I launch the website, the urls will be the same as they were before (moving from a non-wordpress site): ...
0
votes
0answers
35 views

whats is the perfect configuration to .htaccess for permalinks?

I have wordpress site with the normal url, when i try change this to permalinks, wordpress says 404 not found in the other pages that not is the home. after of search in the codex, i found that the ...
0
votes
1answer
17 views

Permalinks linking to similar named site

I'm having a problem with the permalinks on a testing site linking to live site. Basically the hosting company set up this separate site for testing so that edits could be made without affecting the ...
1
vote
0answers
43 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
40 views

how to redirect old blog post urls when permalinks are changed

When you have a permalink structure set to www.example.com/post-name And you want it to change to www.example.com/blog/post-name Is there any way to have the old format redirect to the new (ie. ...
0
votes
1answer
23 views

page nested 3 levels deep shows 404

I just created a page called Series at /media/archive/series/, parenting this new page under /media/archive/ The page at /media/archive works, but this new page, 3 levels off the root, shows a 404. ...
0
votes
0answers
55 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 ...