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
4
votes
2 answers

Link ID in wordpress url

Currently I am working on a wordpress website, but I stumbled upon a little problem. I am using wp_page_menu to make a navbar to get to my other pages. Now it directs me to www.mysite.com/sport, but I need it to direct me to…
Jeramai
  • 122
  • 10
4
votes
3 answers

Wordpress permalink not working on aws

I have spent 4-5 hours to sort it out but not able to solve it. I have setup my wordpress website on AWS.Everything is working file except the permalinks of wordpress. When permalinks are set to default pages/posts are working but not working with…
4
votes
2 answers

How to hide Permalink section from a Custom Post Type's post?

I want to hide the permalink section under the title of a post for a particular post type in Wordpress. How can I do that?
user3132101
  • 63
  • 1
  • 4
4
votes
4 answers

Wordpress add_rewrite_rule gives 404

I want to change the permalink structure for specific custom post type.i.e http://test.com/brand/calvin-klien?mtype=tab2 ^this is dynamic To http://test.com/brand/calvin-klien/mtype/tab2 ^this is…
Moeed Farooqui
  • 3,604
  • 1
  • 18
  • 23
4
votes
6 answers

Wordpress: How do I convert a generated URL (permalink) to a pretty URL?

In a plugin, I am generating a paginated link to a category, i.e. http://localhost/?cat=17&paged=5. The category is known by slug and id. Is there a way to have this URL converted to the user defined "nice permalink" format, i.e.…
sunside
  • 8,069
  • 9
  • 51
  • 74
4
votes
1 answer

Wordpress auto-generated "canonical" links - how to add a custom URL parameter?

Does anyone know how to modify the Wordpress canonical links to add a custom URL parameter? I have a Wordpress site with a page that queries a separate (non-Wordpress) database. I passed the URL parameter "pubID" to display individual books and it…
4
votes
1 answer

Preview permalink page when customizing tumblr theme

When developing a Tumblr theme using the built-in tools, is there a way to preview what a permalink page will look like instead of the index page?
Quasipickle
  • 4,383
  • 1
  • 31
  • 53
4
votes
2 answers

500 error with Nginx and WordPress pretty permalinks

Ran into a 500 issue when running Nginx and WP together and setting pretty permalinks. I've been trying a bunch of different methods from Google but none seems to help. Config - server { listen 80; root…
Staffan Estberg
  • 6,795
  • 16
  • 71
  • 107
4
votes
3 answers

Wordpress custom post type uses frontpage

EDIT Please ignore this topic. The problem turend out not to be related to wordpress or permalinks at all, but came from a stupid voeding mistrals. I've defined a wordpress custom post type as followed: add_action('init',…
Dennis Hunink
  • 583
  • 2
  • 7
  • 21
4
votes
2 answers

Clean URLs from pages in a custom Jekyll folder

I'm building a Jekyll site made of static pages (e.g. nothing in the _posts directory), and rather than keeping each page in the root directory, I'd like to keep it in a custom pages directory (for organization's sake). However, I don't want this…
Jon
  • 1,337
  • 1
  • 14
  • 32
4
votes
1 answer

Django - how can I get permalink to work with "throwaway" slug

I'm trying to add slugs to the url in my django app, much like SO does. Currently, I have pages that work just fine with a url like this: http://example.com/foo/123/ I'd like to add 'slugified' urls like…
TM.
  • 108,298
  • 33
  • 122
  • 127
4
votes
3 answers

How to create MSDN like links in Sandcastle documentation website?

I've generated a website documentation of my project with Sandcastle. This website uses frames so when I click though sites my URL in browser does not change. I would like to have URL changed in browser when I browse through website documentation…
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
3
votes
3 answers

Redirect URL to custom URL through .htaccess

I've got a page www.mypage.com and I want to redirect specific URL to another URL that does not exist. For example, I want www.mypage.com/about to redirect to www.mypage.com/about-company.php , where /about does not exists - it's a custom URL…
Unapedra
  • 2,043
  • 4
  • 25
  • 42
3
votes
2 answers

Adding an sql query to the end of a wordpress permalink?

Ok....so I created a new wordpress theme and I still can't get my custom code to work. I want to be able to have a page which will output a list of items from the database, each item will have this URL…
user1114968
  • 87
  • 2
  • 15
3
votes
2 answers

Github permalink from Pycharm?

I use the Github integration in PyCharm, and often I need to share permalinks to reference code to colleagues in slack messages, Github issues/PRs. To get the permalink, I have to open the repository in a browser, navigate to the file where the code…
glicerico
  • 690
  • 4
  • 20