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

Removing date from url using .htaccess

I recently changed the permalink format of my blog so the date is removed: http://site.com/blog/2011/01/post-name is now http://site.com/blog/post-name The problem is the url with date is not redirected to new url. I tried some regular…
goksel
  • 4,450
  • 3
  • 42
  • 51
4
votes
7 answers

Best Permalinking for Rails

What do you think is the best way to create SEO friendly URLs (dynamically) in Rails?
Devar-TTY
  • 476
  • 5
  • 22
4
votes
3 answers

How to rewrite URI of custom post type?

The site that I am working on uses the following "pretty" permalink structure: http://example.com/blog/my-special-post But for a custom post type my client would like to avoid having a "pretty" slug: http://example.com/product/142 How can the post…
Lea Hayes
  • 62,536
  • 16
  • 62
  • 111
4
votes
3 answers

Avoiding duplicate-content hit on Google for archive pages?

Each blog post on my site -- http://www.correlated.org -- is archived at its own permalinked URL. On each of these archived pages, I'd like to display not only the archived post but also the 10 posts that were published before it, so that people can…
jawns317
  • 1,726
  • 2
  • 17
  • 26
4
votes
2 answers

Managing Jekyll Pages in Folders (on github-pages)

I have a Jekyll website hosted on GitHub Pages. Now I am having so many pages and I would like to manage them in a folder called _pages. I ideally want to have this structure: root |-> _pages |-> Index.md |-> contact.md |-> cv …
4
votes
3 answers

404 error for category permalinks in subfolder multisite

I have a multisite WordPress 3.1, using subdirectories to separate the individual sites. For some reason category permalinks don't work, I get 404 errors for every category page. The same goes for tag pages. I have tried resetting .htaccess file to…
windyjonas
  • 2,272
  • 17
  • 19
4
votes
2 answers

Wordpress rest API returning 404?

I have a WP installation in my server that uses WP as an API. I use a few plugins to get my data: https://wordpress.org/plugins/acf-to-rest-api/ https://wordpress.org/plugins/wp-rest-api-frontpage/ https://wordpress.org/plugins/wp-api-menus/ My…
enrique-ramirez
  • 914
  • 2
  • 11
  • 23
4
votes
1 answer

Wordpress: How to redirect old links after changing permalink structure?

I have changed my permalink structure in WordPress. Can a plugin help me redirect old links to the new? Thanks!
Steffi
  • 6,835
  • 25
  • 78
  • 123
4
votes
3 answers

Change link color based on href attribute

I'm working on Squarespace for a client that needs to add special blog post that are styled different. The problems is that this template doesn't allow it and the client can't code, so I'm trying to do it with custom CSS in a way that prevents…
Giorgio G
  • 88
  • 9
4
votes
1 answer

how to change a wordpress home page permalink as referenced in submenu links

I have a wordpress website with a menu structure that has home page as a parent with two sub-menus: privacy & sitemap. The Permalink for the home page is this: http://localhost/mysite/mysiteWP/ (as you would expect - since wordpress doesn't display…
SunnyOz
  • 543
  • 2
  • 10
  • 25
4
votes
2 answers

WooCommerce - rename /product/ and /product-category/ slugs

I'm trying to figure out how to rename or translate the /product/ and /product-category/ slugs in WooCommerce. I don't want to remove them completely, I just want to rename them to /lesson/ and /lesson-category/ Can this be done at all?
Joe Bloggs
  • 1,410
  • 2
  • 24
  • 53
4
votes
0 answers

Added /amp to end of pagination url in wordpress

I need added amp to wordpress. All done, but I have some trouble. Paginations in template looks like that: href="http://localhost/category/uncategorized/amp/page/2/" I need to do like that:…
Lex
  • 41
  • 1
4
votes
1 answer

Custom Post Type and Taxonomy Permalink Rewrite in WordPress 3.0.1

I have a 'story' Custom Post Type and 'artist', writer' Taxonomies. I need to set rewrite rules in the functions.php for the permalinks to look like this: Artist (Taxonomy/Category): http://www.example.com/isaac-deutscher (/%artist%) Writer…
user465316
4
votes
1 answer

WordPress Arabic permalinks on IIS

I have an Arabic WordPress site hosted on a Windows Server with IIS7 (I can't move to Linux hosting). I tried to change the permalinks settings in WordPress to this: /%postname%/ But when I access any article for example like this:…
Ahmad Hania
  • 65
  • 1
  • 8
4
votes
4 answers

Wordpress “Post name” permalinks not working

I have a Wordpress website running on Lamp Server on Ubuntu Server 14.04. I just tried to use the option for Post Name permalinks, and now my pages no longer load up. I turned on the mod_rewrite function of the Apache server, restarted it, but it…
Sartheris Stormhammer
  • 2,534
  • 8
  • 37
  • 81