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

Is it possible to output breadcrumbs with a custom esc_url( the_permalink() );?

Specifically when listing search results on a page, I would like to output esc_url( the_permalink() ); as: Breadcrumbs > linking > to > page I've seen lots of articles, plugins etc referencing the ...
0
votes
0answers
52 views

2 loops with pagination on a single loop

On a page I want to always show the most recent post on top with a different layout, and have the rest of the posts listed below. So I created a template page with these 2 loops. But I cannot figure ...
0
votes
1answer
36 views

How to: change permalink by category?

i'm have 2 category: News & Games How to change permalink by category as: if is category News permalink as: domain.com/news-%postname% if is category Game permalink as: ...
0
votes
0answers
24 views

Permalinks for categories…making sure that you get the right link in a Category Archive

I recently completely a site with a lot of categories and sub-categories. And in many cases, a post might go in multiple categories. Of course, I know how to do that by simply checking off multiple ...
0
votes
0answers
38 views

Permalink not working

The address of my WordPress site is something like: http://mycompany.com/personnel/myname. The installation folder is: /www/personnel/myname. When I change Permalink to Post name, it requires me to ...
0
votes
1answer
114 views

How do you intercept the page requests in Wordpress?

I am working with Wordpress 4.1. I am building a custom template that won't be using Wordpress pages. I would still like Wordpress to use permalinks like 'www.website.com/{page_name}/{something ...
1
vote
1answer
126 views

Custom post type permalink tag 404

I'm using wp-types to build a wordpress site. I'm happy with the types and their fields, I just wanted to created a function that shows parents in the url - see blow function that achieves this - also ...
0
votes
1answer
46 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
189 views

How to check if last uri segment is a custom post type or taxonomy term?

After following Jeffs suggestion on this thread to create nested parent and child taxonomy terms within a permalink like... url.com/custom-post-type/taxonomy-parent/taxonomy-child/cpt-entry It ...
-1
votes
1answer
49 views

Strip category base from URL?

Where I Place This Code Or How Can I Use This? function wpa_alter_cat_links( $termlink, $term, $taxonomy ){ if( 'category' != $taxonomy ) return $termlink; return str_replace( '/category', ...
0
votes
0answers
38 views

Redirect a permalink date structure change

Our site had a structure http://www.example.com/category/year/month/article-title which we changed to http://www.example.com/category/year/month/day/article-title (i.e. we added the "day" to the ...
1
vote
1answer
103 views

Custom url for a single page

Created a page and the link is like the following http://www.demo.com/?page_id=1081 need to be like the following http://www.demo.com/phones I need this structure only for this page .So i don't ...
0
votes
0answers
16 views

Converting WP Page to use full explicit paths?

I'm integrating a 3rd party product db/search feature into an existing/live Wordpress website using the vendor's Remote HTML Framing Code template. They are asking me to "convert all paths to full" ...
0
votes
1answer
78 views

Group Posts by First Letter of Title categories

Questions is a duplicate of this one: Group Posts by First Letter of Title However, I was unsure whether I could ask on that, or I had to start a new question, so I did the latter ;) I implemented ...
1
vote
2answers
147 views

Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname

I have a custom post type "news_updates" which I have not given custom tags or categories. I have however created a normal tag (not attached to a custom post type), and assigned it to a particular ...
0
votes
2answers
89 views

Page and Category With Same Slug - Looking To Silo Website

Not sure how to do this, I want to silo structure my site and I have created a category and put all my posts under that category. I want to now create a page that has the same slug as the category ...
0
votes
1answer
74 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
29 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
0answers
33 views

Permalinks problem: Error 404

I have a problem with my Wordpress Permalinks. Except the first page, when I click a link, I always get the error 404 Object not found. I mention that i have mod_rewrite in Apache set to true. ...
0
votes
0answers
391 views

Getting a 500 internal server error ONLY on wp-admin/options-permalink.php

I have access to the admin panel, and everything works fine. I can click settings->reading and change anything I want to. But if I click settings->permalinks I get a 500 internal server error. Here's ...
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
21 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
0answers
150 views

Error 404, pagination in custom query for permalink category/postname

I have trouble using custom query to paging my category posts. here's the situation. I set my permalink as %category%/%postname%, I am using very standard function paginate_links( $args ) $args = ...
0
votes
0answers
45 views

Pretty permalinks with multiple taxonomy queries

I'm using a plugin called Query Multiple Taxonomies and I can't seem to get pretty permalinks to work on those pages. The URL structure is: ...
0
votes
1answer
156 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
0answers
18 views

Adding a variable to a permalink

<a href="<?php echo esc_url( home_url( '/' ) ); ?>team-names/" . $term->slug; "?>""> How would I correctly add $term->term_id to a permalink? (it outputs a slug)
0
votes
1answer
97 views

Passing user defined variable into get_permalink

I'm trying to use a predefined variable (generated from an earlier sweep of the database) in wordpress' standard get_permalink( get_page_by_title) function. I'm assuming that this is possible? But I ...
0
votes
1answer
25 views

How to create an IIS7 re-write rule for a single category

I have a WordPress installation on an IIS7 server. I am currently using permalinks with a setting of /news/%category%/%postname%/ so the URL for all my category landing pages are in the form of ...
0
votes
0answers
74 views

How to change existing image links to go to Attachment Pages?

Currently, all the images on the posts are linked to their parent post pages so that when you click on an image, it'll try to to go to the parent post page. But due to a recent Permalinks change, it ...
0
votes
0answers
15 views

Changing website permalinks leading to search bug?

I have a WordPress 3.3.1 blog, and I'm using the Yoast SEO plugin (if that helps). I went to /wp-admin/options-permalink.php to change the post's URL to be friendly. It worked perfectly but, when I ...
0
votes
2answers
43 views

How to structure a wordpress site in folders?

I want to structure my site like such: http://www.website.com/cars/ http://www.website.com/cars/blue/ http://www.website.com/cars/red/ Where both /cars/ and /blue/ would be articles that can ...
0
votes
0answers
43 views

404 error on sub-categories

My website is setup as Static Home Page Then posts as Category/Sub-category/Post Some posts are simply Category/Post When you click on some categories it comes up fine e.g ...
0
votes
0answers
72 views

Combining multiple query arguments into single query_var for permalinks

how Is it possible to combine multiple query arguments into a single query_var to be referenced in the permalink? For example, using the Posts 2 Posts plugin, it takes three query_vars to filter a ...
0
votes
0answers
61 views

Wordpress Site Pages 404ing - Help with Permalinks on IIS?

I'm developing a site that has been migrated live but now every page except for the home page 404s upon linking to it. I've done extensive research on this and nothing has helped. Let me list out the ...
0
votes
1answer
85 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
72 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
0answers
40 views

Image URL clashing with Page URL

I have been using the same structure on this site for a long time and it has never been a problem, so I'm not sure why it has become a problem now: If I have a page URL www.example.com/sedan-cars/ I ...
1
vote
1answer
90 views

Stop Wordpress appending `-2` to the end of my url after i change it

When i try to set the url of a page in wordpress (4.2) it keeps apending -2 to the end of the url, i guess its becuase this ulr already exists, but i checked and it dosnt, although at one time it did ...
0
votes
1answer
32 views

Filter string like a slug

I have a WordPress site using pretty permalinks. I want to filter a string to that the it ends up with the exact same formatting as the url slug, does anyone know the filter or function to do so?
0
votes
0answers
34 views

use of permalink or 301 redirect plugin

Right now I have this website http://codem.dk/ here I have some link to some drills that I share in a group on FB and im using google analytic. It's a TYPO3 page, and im building a new WordPress page ...
0
votes
1answer
21 views

How can you create a Permalink structure on a WordPress site?

Let's say I want to create a wordpress site that has a folder structure such as: http://www.example.com/cars/ http://www.example.com/cars/red-cars/ Yet I want people to be able to comment on both ...
0
votes
0answers
63 views

All in one event calendar change link

i'm using this plugin to show events, an the thing that's bothering me is how to change the link when you click on the date number ,and when you click on the event title. This is date number ...
0
votes
0answers
34 views

Stop redirecting to posts not in a category / duplicate slugs

I have multiple posts with the same title, e.g. /states/new-york /cities/new-york /counties/new-york but Wordpress doesn't allow duplicate slugs, so they appear like: /states/new-york ...
1
vote
1answer
205 views

How do I fix permalink and media library issues on a LEMP stack?

So, I'm setting up a wordpress site on Digital Ocean's IaaS. I'm using nginx as a proxy and web server (instead of apache), so a LEMP stack. I was able to get my site up and running, though there are ...
0
votes
0answers
20 views

Rewriting permalinks in specific way for two pages

I wish to rewrite permalink in th efollowing way (just for two specific Pages): 1) there are two pages: mypage.com/byindustry & mypage.com/bystyle 2) I wish those to be rewritten (or if not ...
0
votes
1answer
53 views

Add variables to all permalinks in site

I need to add variables to all links in my site based on a condition. So all permalink in a page that met my condition (in specific category or whatever) : www.domain.com/exemple-page or ...
0
votes
1answer
164 views

Removing rel=“nofollow” from links posted in Post Content

I am running wordpress for my blog EasyPadhai. I am writing a posts and I have included links to my Android app EasyPadhai for my users. But all links to app are turning in nofollow links. Also ...
0
votes
0answers
30 views

Custom permalink parameter isn't enforced

I'm trying to create a custom permalink for my posts based on a custom field. I'm most of the way there but I'm struggling with the last part. My goal permalink structure is as follows: ...
0
votes
1answer
126 views

Using two permalinks for one post

Using two permalinks for one post I am developing a wordpress website for a client, the client want to show 2 separate templaes for post details the scenario will be. user clicks on post and our ...
0
votes
1answer
63 views

Custom Post Type with modified permalink structure results in 404

I've defined a custom post type, 'Review', that I'd like to utilize with a custom permalink: /reviews/year/postname. The below code correctly creates the CPT and the custom permalink appears correctly ...