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
27 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? ...
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
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
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
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
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
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 ...
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
1answer
41 views

Add links to post categories and taxonomies in wysiwyg link modal?

I want to link to post categories and taxonomies in the text editor. With the "add link" modal I only can add links to existing posts, pages and custom post types but not to their categories and ...
0
votes
1answer
26 views

How to switch from custom post type URL to category URL?

For the past year, I've been using custom post types to distinguish my different post types (duh). Thing is, I'm now realizing that categories are more efficient in offering archived pages for these ...
0
votes
1answer
140 views

Problems with permalinks after update wordpress 4.2

Yesterday i will update my wordpress to 4.2 and after update it i see some link of my blog end with %d And Some post in my blog show like ...
0
votes
1answer
49 views

Hierarchical taxonomy in permalink structure

I have a custom taxonomy called Area, which is hierarchical like so: UK - London -- Chelsea Currently my permalink is setup to rewrite like so: 'rewrite' => array('slug' => ...
0
votes
1answer
50 views

the_permalink on the homepage vs posts for sharing links

Instead of weighing the site down with plugins I've hardcoded a couple of sharing links. I've used the_permalink to create the links, in the sidebar, which work ok on posts and pages, but on the ...
0
votes
1answer
37 views

Custom post type, permalinks, taxonomies and blog posts

I am creating a custom theme for a bike shop and thought having a custom post type for bikes would be easier for the shop assistant to manage the bikes they would like to appear on their website ...
0
votes
1answer
143 views

Wordpress permalink & Nginx Rewrite Rule Not Working

My Server configuration is: Nginx php-fpm5 I setup WordPress and it is working fine with custom permalink 'Day and name'. Now I want to set the rewrite rule in nginx file and it is not working with ...
0
votes
1answer
235 views

Removing Parent Page(s) from Permalink

Similar questions have been asked before, but no answer suits well. I have: site.com/parent-page/child-page and would like to have: site.com/child-page So I want to exclusively have permalinks with ...
0
votes
1answer
93 views

Would it be possible to route Wordpress Through an MVC Application

I have a slim framework application in the root directory /. I have a wordpress install in the '/blog/' child directory. This is all fine and well as i can easily access the /blog/ folder and any ...
0
votes
1answer
79 views

Custom Post Type + Category archive

I have created a WP stack with 3 post types: 1. Post (default) 2. Event 3. Place These 3 post types share the same taxonomy, that being the default WP category, here are some example categories: ...
0
votes
1answer
45 views

How to hide slug numbers with htaccess

Is there a way to do an internal redirect from /product-category/brand-2 to /product-category/brand and still display brand-2 products and sub-categories?
0
votes
1answer
17 views

How do I get a link to a WP page within a loop?

I'm trying to get a link to Page A within a loop on Page B. Normally I would use <?php echo get_page_link($mypage->ID); ?> but the loop is causing this to always return a path to the current ...
0
votes
1answer
711 views

Wordpress Page Not Found if Permalink Settings is Postname

Uploaded code on staging server. in localhost everything is working well but on staging I can login to admin pabel but can not see any page on frontend. When any page is accessed it says The requested ...
0
votes
1answer
39 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 ...
0
votes
1answer
50 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
1answer
79 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
30 views

MultiSite Move conjures duplicate URL

I just tried to do a very painful move of a multisite. I thought I had everything working until I clicked a blog link on the MAIN site and I was greeted with a duplicate url. Something like this ...
0
votes
1answer
38 views

How can I get Wordpress CPT archives and page templates to work with prettified permalink settings?

I'm having very weird issues with my permalinks and template files on this site I'm building. I've created several Custom Post Types. These all have archive pages in my template structure named ...
0
votes
1answer
25 views

When using number in url it is redircting to same page but when using character it redirects to 404

I have a website e.g abc.com in wordpress, when I enter any url like abc.com/blog/1232132 then it is redirecting to the same url and showing the content of abc.com/blog but when I am using urls like ...
0
votes
1answer
173 views

Custom post type single (permalink) throws a 404 error

I'm working on a website that has Woocommerce installed (also a CPT if I'm right, but that one works fine). This website has a custom post type for jobs, this cpt has posts that are linked to in the ...
0
votes
1answer
97 views

/blog/ permalink prefix causes category pages to 404

I've followed the instructions in this post: http://wordpress.stackexchange.com/a/21208/51164 - And it worked but now category pages (/blog/news) don't show up, they 404 instead. Although on that post ...
0
votes
1answer
76 views

Broken paths on taxonomies after changing permalink to post name

I have a custom taxonomy. I was able to access the list of items with term foo in taxonomy bar at mysite.dev/?bar=foo. I then changed my permalink options from the default to "post name". I can no ...
0
votes
1answer
125 views

xammp server permalink by postname not working

I am able to access main page on localhost but not able to access page that I have added it display 404 error. my question is same as : ...
0
votes
1answer
112 views

Does a parent page's post_title have to appear in a child page permalink?

If I have a page called Home and then a child page with Home as the parent, is there a way to avoid 'home' appearing in the permalink for the child page? I've noticed this with a one-page scrolling ...
0
votes
1answer
66 views

Add Custom Pagination Permalink

I'm trying to create a page with multiple loops on it and as such also need multiple pagination. This is proving to be a touch difficult, I've managed to get the links to show correctly by using the ...
0
votes
1answer
35 views

Htaccess https 301 problem

Since 2 weeks I have installed an SSL certificate on my domain. I have changed my base urls to https so my canonical url is https now. But now I need to force to https. I did this with the below ...
0
votes
1answer
62 views

Wordpress Permalinks 404 error

Using Default Permalink Settings '/?p=123' works fine for me for every single page and it shows website urls like " ://mywebsite/solutions/?page_id=580" but When i changed it to /%postname%/ or to ...
0
votes
1answer
41 views

unwanted redirect

Built a custom theme for a client, everything has been working great for the last month. Today I noticed the "Aircraft" page was redirecting to the front page. Checked everything, refreshed ...
0
votes
1answer
80 views

permastruct for custom post type not working in one of four cases

I've created custom permalinks for various custom post types on a website. They all worked. Until recently I added another one, which I cannot get to work 8-o. The "company" struct is not working and ...
0
votes
1answer
54 views

add_rewrite_rule with 3 or fewer matches?

I've been reading around a lot on here and Google to do with custom rewrite rules in WordPress and add_rewrite_rule. I found Jan Fabry's answer particularly helpful, but I'm now a bit stuck. I am ...
0
votes
1answer
83 views

Custom taxonomy rewrite in permalinks for posts gives 404 on pages

So I've got a custom taxonomy (called "version") for just posts wich works fine.. My Problem is that i want to use this tax in my permalinks eg URL.com/12-3/cat/postname.. which works also fine for ...
0
votes
1answer
23 views

How wp maps urls into files

I am trying to understand how wordpress works. I have found this line of code in my theme: <?php echo get_permalink(get_option('Theme_search_page_id')) ?> If I get the that option from mysql ...
0
votes
1answer
24 views

Wordpress URL Problems After Change it

I have error im my link in my site. I have 2500 post in old site with link like:- www.domain.com/mm-123.html And now i change to WordPress and change URL to :- www.domain.com/sample-post/ Now, ...
0
votes
1answer
54 views

Permalink of custom post type partly broken

I'm running into some issues while working with a custom post type (CPT). The problem is that the permalinks of the CPT are fine for a single post but not for the archive/overview page. The website ...
0
votes
1answer
117 views

Permalink Custom Page Template

I have template file named "page-manga" in my theme folder and my page's named manga too. In that template I have manga reader script running. Manga reader script has own variables. Wordpress ...
0
votes
1answer
129 views

Add custom post type name in term link?

Is possible add name of custom post type in link of taxonomy term and remove slug of taxonomy? The default link is: slug_taxonomy/term_name I like: post_type_name/term_name Note: I use WPML ...
0
votes
1answer
134 views

Permalink for PDF of article

I'm trying to learn if this is possible, and how I might go about implementing it. Our site is a scientific journal, and our published articles follow this permalink structure: ...
0
votes
1answer
78 views

Pagination url for page template

I am creating a page template in WordPress to show all my posts. But i have a problem with pagination. I have a page url like below: http://localhost/sdd/video "video" is my page slug. And the ...
0
votes
1answer
38 views

Define a Permalink Structure by Post and Page

All, I have a post that works fine with a permalink setup. However, I also have a page called gallery. What I would each post can have a page. So for example I have a post named business-name so my ...
0
votes
1answer
32 views

I Need to use Month , year in my all archives and pages of my wordpress site

I need to have month/year in all my pages in my wordpress site . For example : If that the page title is " Online exams " I need to have it like " October 2014 online exams" . I have around 10-12 ...
0
votes
1answer
95 views

Check if excerpt is empty at loop-portfolio

I want to check if excerpt is not empty, then echo the excerpt link, if not the echo permalink, like this: if(the_excerpt()!='') echo the_excerpt(); else echo get_permalink() but how can I check if ...
0
votes
1answer
97 views

Wordpress with static posts page and custom permalink structure doesn't find posts with numeric permalinks

I've setup a static posts page named "Journal", mydomain.com/journal. This page now lists my 15 latest posts. All fine this long. I'm able to access each post individually by going to ...