Questions tagged [permalinks]

A permalink, or permanent link, is a URL that points to a specific blog or forum entry after it has passed from the front page to the archives.

Because a permalink remains unchanged indefinitely, it is less susceptible to link rot. Most modern weblogging and content-syndication software systems support such links. Other types of websites use the term permanent links, but the term permalink is most common within the blogosphere. Permalink is a portmanteau word made from permanent link. Permalinks are often simply stated so as to be human-readable.

1800 questions
16
votes
1 answer

Jekyll multiple Permalinks support

Does Jekyll support setting multiple permalinks? For example, I currently have the following in my _config.yml: permalink: /:categories/:title/ What I would like to have, is the following: permalink: - /:categories/:title/ -…
SaguiItay
  • 2,145
  • 1
  • 18
  • 40
16
votes
1 answer

Wordpress Custom Permalink for Just Posts

My Wordpress install has three post types: pages, posts, and portfolio. The current structure is as follows: page: example.com/page-name, post listing page: example.com/blog, individual post: example.com/post-name, portfolio listing page:…
frogg3862
  • 491
  • 1
  • 4
  • 19
15
votes
3 answers

Have a WordPress page with same title as custom post type “front” slug

I have a custom post type djs and a custom taxonomy city with two terms: boston and nyc. So a DJ can either be tagged as Boston or NYC. DJ profiles (a single djs post) are located at /nyc-wedding-dj/joe-shmoe/, for example, or for a Boston DJ,…
HandiworkNYC.com
  • 10,914
  • 25
  • 92
  • 154
14
votes
2 answers

Getting WordPress permalinks working on a MAMP install

I've got a local MAMP install of WordPress and am trying to get permalinks working. But when I click my links after setting permalink setting to 'Day and name' http://localhost/wordpress_1/2011/01/12/sample-post/ I get 404ed Not Found: The…
Yarin
  • 173,523
  • 149
  • 402
  • 512
14
votes
1 answer

How to construct a permalink for objects returned by Facebook's new Graph API?

Facebook Graph API allows getting Facebook objects like posts, videos etc in JSON from. Here is an example of a post: (taken from the documentation): { "id": "719323658_129694190395214", "from": { "name": "Rabia…
Boaz
  • 25,331
  • 21
  • 69
  • 77
12
votes
2 answers

WordPress Pagination not working with AJAX

I'm loading some posts though AJAX and my WordPress pagination is using the following function to calculate paging: get_pagenum_link($paged - 1) The issue is that the pagination is getting created through AJAX so it's making this link look like:…
user1048676
  • 9,756
  • 26
  • 83
  • 120
11
votes
1 answer

From apache to nginx: wordpress rewrite rule

I'm migrating from apache2 to nginx. I cant figure out how to to rewrite this rewrite rules for wordpress. This is actually my configuration file server { listen 80; root /usr/share/nginx/blog.com/public_html; index…
gaggina
  • 5,369
  • 10
  • 31
  • 31
10
votes
9 answers

Wordpress Permalinks Not Staying

At various points of the day my WP permalinks keep breaking. When I'm using custom perms it works but then a few times during the day it just throws a Page Not Found. I fix it by setting perms to default, then back to custom and it works fine. My…
Zach Smith
  • 5,490
  • 26
  • 84
  • 139
10
votes
2 answers

Define permalinks for custom post type by taxonomy

I want to create canonical permalinks for products and product types. I have the custom post types and custom taxonomy figured out, but I don't know if its possible to define permalinks with taxonomies. So my workflow, for example, would be…
rgdigi
  • 1,701
  • 2
  • 21
  • 31
10
votes
2 answers

Remove index.php from wordpress URLs in iis7

I want to remove index.php from url , i am using wordpress and iis7 . how can i do this
rash111
  • 1,307
  • 4
  • 19
  • 35
9
votes
3 answers

Custom Posts with same slug Redirecting to wrong post with same slug

I have 2 Custom Post type posts.The video Post and City-guide Post The first Post(Video Post) contains the url: 104.130.239.132/rick-owens/ and the second Post(City-Guide Post) conatins url:http://104.130.239.132/city-guide/rick-owens/ (city-guide…
Melvin
  • 383
  • 1
  • 13
  • 40
9
votes
2 answers

How should single page applications provide permalinks?

What are the conventions for providing publicly accessible URLs for resources that are managed via a single page application? I think this is an architectural design question, but I anticipate developing an SPA in AngularJS, in case that matters.…
Joe Lapp
  • 2,435
  • 3
  • 30
  • 42
9
votes
8 answers

WordPress 3.0 & nginx - permalink, 404 problem

I've installed nginx, FastCGI and PHP on my server. WordPress 3.0 installed after a bit of a monster battle, but it's installed and working well. However, when I change the permalink settings to anything other than default, I get 404 errors on every…
Taffy Lewis
  • 149
  • 1
  • 1
  • 5
9
votes
4 answers

Create a permalink with JavaScript

I have a textbox where a user puts a string like this: "hello world! I think that __i__ am awesome (yes I am!)" I need to create a correct URL like this: hello-world-i-think-that-i-am-awesome-yes-i-am How can it be done using regular…
Jon Romero
  • 4,062
  • 6
  • 36
  • 34
9
votes
5 answers

WordPress custom post type archive-.php not working

New to WordPress, I've been trying to create an archive page for a custom post type, and when I click the link to localhost/websitename/wordpress/archive-event.php I get a 404. Here is my code to register the post type: add_action('init',…
Ryan McGarvey
  • 303
  • 2
  • 4
  • 14