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
9
votes
1 answer

Rewrite to URL outside of Wordpress base

My wordpress blog is installed at domain.com/blog and I have a page with subpages whose structure look like domain.com/blog/page and domain.com/blog/page/subpage. I want my visitors to be able to go to domain.com/subpage and see the content of…
Dave Kiss
  • 10,289
  • 11
  • 53
  • 75
8
votes
1 answer

Different permalink structure for blog posts than pages in Wordpress?

I'd like to have a different permalink structure for posts than for pages on a Wordpress website. For example, a blog post name "This is a nice blog post" would get the permalink : /blog/this-is-a-nice-blog-post where as a page called "Services…
Alex
  • 828
  • 2
  • 10
  • 20
8
votes
3 answers

Generate permalinks on header with python markdown library

I was wondering how to generate permalinks from the following markup, using python markdown library: A header ======== A paragraph The desired output would be something like

A header
aminho
  • 565
  • 6
  • 17

8
votes
2 answers

Show only specific categories in permalinks for custom post type in WordPress

I tried to ask this question in the Wordpress Devlopment network with no success, I'm trying to display only 3 specific categories in permalinks for custom-post-type categories. Right now the permalinks structure (that is the structure given by the…
Yenn
  • 919
  • 6
  • 20
8
votes
1 answer

nginx - 404 not found page for permalinks

Me and my friend have had a website (http://www.ferfereh.ir - sorry not english) for a year. We've been using a Linux Apache host with wordpress installed. Now suddenly all of our posts (which had a permalink structure = /%category%/%postname%.html)…
Auxiliary
  • 2,687
  • 5
  • 37
  • 59
8
votes
1 answer

How to create permalink with monthname instead of using monthnum?

I want to redirect my blog articles like this, http://www.example.com/blog/2014/september/03/post-name But in wordpress it only allows me to use month number, http://www.example.com/blog/2014/09/03/post-name. I'm searching for this but not found…
Gopinath Perumal
  • 2,258
  • 3
  • 28
  • 41
7
votes
1 answer

Wordpress Custom Type permalink containing Taxonomy slug

I'm trying to create a permalink pattern for a Custom Type, that includes one of its taxonomies. The taxonomy name is known from the start (so I'm not trying to add or mix all of its taxonomies, just a specific one), but the value will by dynamic,…
treznik
  • 7,955
  • 13
  • 47
  • 59
7
votes
3 answers

How to change Wordpress' default posts permalinks programmatically?

In the backend of Wordpress I use the default http://localhost/sitename/example-post/ value for creating permalinks. For custom post types I defined a custom slug this way, here is services for example: register_post_type( 'service', array( …
Floris
  • 2,727
  • 2
  • 27
  • 47
7
votes
2 answers

General wordpress link filter

everyone! I need to add the domain prefix www, not to write by hand, each filter as post_link, page_link, category_link and so on - there is a global filter to all urls added www. Methods of how to change the general settings in the site url in the…
SergeevDMS
  • 801
  • 6
  • 15
7
votes
5 answers

Wordpress permalink structure change issue

I have seen some other posts on SO about this issue, however none of the suggested solutions did work for me, so I repost. After changing my permalink structure to /%postname%/, none of the links is working. I get the following 404: Not Found The…
Sait
  • 19,045
  • 18
  • 72
  • 99
6
votes
4 answers

In the WordPress i18n project, add prefixes by triggering internal links with variables

We are working on a localization project in WordPress. In fact, we can correctly add the active browser URL with language support. I'll add the details and the entire code below. Don't worry, my question will not be so open-ended and I will make it…
BOZ
  • 2,731
  • 11
  • 28
6
votes
1 answer

How to use PathPattern in order to create DeepLink Apps Android?

I have read documentation about create an deeplink and use app linking service in android studio 3.0. its pretty simple and easy to understand, but I have little bit problem when my URL has no prefix path. example : https://example.com/
6
votes
8 answers

Wordpress Permalinks not working

I moved my site from slichost to Amazon ec2. After moving i made necessary settings for wordpress. My first page for wordpress works fine, but the permalinks are not working. Can anyone please let me know what changes are necessary to make the…
Atul
  • 4,463
  • 5
  • 23
  • 19
6
votes
3 answers

Using Dates in Custom post_type Permalinks in Wordpress 3.0

I'm adding a custom post_type to Wordpress, and would like the permalink structure to look like this: /%post_type%/%year%/%monthnum%/%postname%/ I can't figure out how to add the date tags. Using this code, gives me…
Benj
  • 1,853
  • 4
  • 18
  • 27
6
votes
2 answers

WordPress Permalinks Doesn't Work

I'm trying to create pretty permalinks through WordPress and I keep getting 404 errors. I've scoured the internet and I can't find any solution. I've never had an issue with this before so I'm totally stumped. The hosting is under Network…
tmcd
  • 355
  • 3
  • 16