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
65
votes
6 answers

Wordpress putting %E2%80%8E at the end of my url, howcome?

Wordpress is putting this at the end of my permalink on the live site... %E2%80%8E anyone know why? Thanks guys?!
art_wired
  • 757
  • 2
  • 11
  • 17
63
votes
16 answers

Remove category and tag base from WordPress URLs without a plugin?

I would like to remove the category & tag base from WordPress URL. I have come across other posts and solutions which used plugins. I would like to stay away from plugins and have a solution from within functions.php. This would prevent any future…
cosmoonot
  • 2,161
  • 3
  • 32
  • 38
61
votes
3 answers

URL link to Twitter user with ID, not name

I want to have a link to my twitter page that references it with my twitter ID and not twitter name. This is because I want to build the link into an app and the twitter name for the account may change in future.
Matt
  • 611
  • 1
  • 6
  • 3
54
votes
1 answer

Is there a permalink to the latest version of gist files?

I created a gist with two files, the raw version of which I would like to use as a reference for an application which will query their contents. These contents will be updated on GitHub. I found however that the URL of the file changes with each…
WoJ
  • 27,165
  • 48
  • 180
  • 345
47
votes
7 answers

How to get post id from permalink (pretty url)?

How to get post id from permalink (pretty url)?
Jeaf Gilbert
  • 11,495
  • 19
  • 78
  • 105
42
votes
5 answers

Stripe receipt url

From the Stripe dashboard I can view a receipt (click preview link in invoice details). The receipt is then shown inside a popup but there is a permalink in it, so it can be viewed as a separate page. The URL of an emailed receipt looks like…
jbelis
  • 575
  • 2
  • 6
  • 16
42
votes
11 answers

wordpress permalinks not working - htaccess seems ok but getting 404 error on pages

I updated the permalink structure to /%postname%/ and this updated my .htaccess with: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
30
votes
2 answers

Custom permalink structure: /%custom-post-type%/%custom-taxonomy%/%post-name%/

I'm trying to create a custom permalink structure that will allow me to accomplish the following. I have a custom post type called "projects" I have a custom taxonomy called "project-category" that is assigned to the CPT "projects" I want my…
Bruno Cloutier
  • 1,003
  • 2
  • 10
  • 11
26
votes
3 answers

Get product permalink by product name in Woocommerce

I am trying to get Woocommerce product permalink by given product name. I know I can get permalink by given product ID like this: $url = get_permalink( $product_id ); But I can not find any code to get it by product name. I tried this: $url =…
user3868840
  • 371
  • 1
  • 3
  • 4
22
votes
3 answers

Wordpress is ignoring Unicode Chars in URL

I am using wordpress with this type of permalink: /%year%/%monthnum%/%postname%/ if I use this type of url: example.com/2010/03/तकनीक it treats this url like this example.com/2010/03/ (By ignoring unicode chars) and displays March 2010 archive…
Ankur Gupta
  • 221
  • 2
  • 3
22
votes
3 answers

How can i get full url to include in newsletter sent with Symfony2?

I'm going to use Symfony2 to sent periodically a newsletter to many users. I've to include a permalink to the HTML email for those who experience problems in reading them with an email client. Anyway, assuming that i'm sending the newsletter this…
gremo
  • 47,186
  • 75
  • 257
  • 421
20
votes
8 answers

Permalinks on Wordpress EC2

I have just transferred my blog from my local webserver to Amazon EC2 Free Linux server, Everything seems to be working now except for permalinks, I disabled and re-enabled them and it still breaks. I've tried running the script sudo a2enmod…
Matt
  • 5,005
  • 10
  • 32
  • 39
19
votes
4 answers

Wordpress: include language variable in url

I have been developing a language plugin for wordpress which works completely. The only thing that is missing now is the url-rewriting. I have been looking at a lot of websites, sources and other questions on stackoverflow, but I can't seem to get…
Michiel Standaert
  • 4,096
  • 7
  • 27
  • 49
17
votes
8 answers

HTTP 404 with Post name permalink

Okay so I've just create the first page on this site. It works when I use the default permalink settings. If I change the permalink settings to use Post name, then I get an HTTP 404. I'm not sure what's gone wrong or if I've broken anything. Can…
Ortund
  • 8,095
  • 18
  • 71
  • 139
16
votes
1 answer

How to Set POST permalink/slug in wordpress using wp_insert_post

I m writing simple script using wp_insert_post() to post article in blog. but one problem here, I want to make Title and slug of an URL different. How to achieve this? for example: Title: How to make your diet success Slug:…
Andy
  • 161
  • 1
  • 1
  • 3
1
2 3
99 100