A permanent link to an item (a blog post, an attachment, ...). The default structure is "?p=123", but WordPress can handle "pretty permalinks" and will rewrite them internally to the former version. If you have a question about special rewrite structures you should use the [url-rewriting] tag.

learn more… | top users | synonyms (1)

1
vote
2answers
147 views

How can I make my .htaccess file writeable by wp-admin?

My ISP changed the hosting for my Wordpress blog and everything stopped working. There was a DNS issue but they resolved that, but then every page apart from the home page returned a 404 error. When ...
0
votes
0answers
44 views

How to programatically create a simple HTML page using the permalink of a Wordpress post?

I want a create a simple HTML page (not Wordpress Page) programmatically by using the permalink structure of another already existing post. E.g. Already existing post is ...
0
votes
1answer
59 views

Although rewrite engine is on, I get 404 not found on every page

My wordpress blog has encountered this issue about a week ago. Before that nothing was wrong with it. I got suspicious on web host provider, but they said many times that rewrite engine is on and it ...
0
votes
1answer
13 views

Wordpress rewrite url help needed

I am using wordpress and very new in wordpress. I need url rewrite method, i guess it doesnot changes in permalinks. I need to work on .htacess file. I am adding locations where i have to add LokId, ...
0
votes
1answer
12 views

Permalink of some posts change

Having strange problem, When I change permalinks to post name some of the posts permalink changes some just show www.example.com. Below is my htaccess <IfModule mod_rewrite.c> RewriteEngine On ...
0
votes
1answer
18 views

Can I access Posts of custom-fields via URL?

Is there a way to access all posts where the value of a given custom field is concurrent? like you can access all posts of a category like this: http://yoursite/category/<category-name> so I ...
0
votes
1answer
19 views

how to change permalinks from id to name of a particular location

I am working on WordPress permalinks. I wanted to change the permalink URL from xyz.com/abc/locations/18 (which is location id) to xyz.com/abc/locations/locationname With locationid the page is ...
1
vote
1answer
25 views

How to change permalink on post click on post listing page

I have a posts listing page, my requirement is that I want to change the url on the click of the post and expand the post to full detail. I am not sure if this can be done without refresh. Any ideas ...
1
vote
1answer
129 views

Add sku to product url woocommerce [closed]

I want to make url's with the following structure: www.mywebsite.com/wordpress/product/postname-sku for example: wordpress/product/apple-ap01 Is this possible? And also tell if this done with ...
0
votes
0answers
26 views

Any way for get_next_post() to use the actual post order instead of publish order?

I'm currently using get_next_post() and get_previous_post() to get their ID so that I can permalink my next/previous buttons for a custom post type. I'm also using a wordpress plugin called "Anything ...
0
votes
0answers
24 views

URL-parameters and RewriteRule gives 404

In Wordpress I have a template (lets call it template.php) that has content on the following page: example.com/template This page should be able to handle URL-parameters like. I got this to work. ...
1
vote
1answer
105 views

Permalinks not working with Vagrant

I am using Vagrant to build up a little Wordpress development VM. When I select permalinks (postname) then the page from an article doesn't load. However, when I select the standard link (i.e page id) ...
0
votes
1answer
40 views

Pretty Permalink for Search Queries Not Working

As the title suggests I am trying to create pretty permalinks for search queries, but unfortunately I cant get them to work. I am trying to achieve the folllowing: ...
0
votes
1answer
89 views

permalink /category/post-name with custom post type and taxonomy

I want to use custom post types with a custom taxonomy for different types of posts on my page. I have registered a custom post type called "portfolio" and a taxonomy for this post type. function ...
0
votes
1answer
48 views

How to get list of posts from permalinks?

I am using an API which tracks metrics on parts of my site. The only useful bit it saves though is the URL (permalink). What is the most efficient way to query up all the posts that match those ...
0
votes
1answer
55 views

Changed sub-site to its own domain trigger 302 redirects for all page links

Below, I'm calling the development site mainsite.com (containing the WPMS install) and the domain that will point to a Norwegian sub-site of mainsite.com, I call launchsite.no. A Norwegian sub-site ...
0
votes
0answers
39 views

When WP_Query only returns 1 post, how do I automatically redirect to that post?

I've been searching around for a few hours now and can't figure out how to do this. Seems really simple. I've seen lots of redundant examples on how to redirect to a single post when a search result ...
0
votes
1answer
22 views

Webdav with permalink in Wordpress v3.3.1

I've deployed wordpress and I'm using it with postgreSQL, I've configured permalinks successfully, but my webdav folder stoped to work. When I try to access my webdav folder it prompt to use my login ...
0
votes
1answer
21 views

Wordpress Permalinks 404 bug with “next” button

I have changed wordpress to use permalinks for post names. /%postname%/ so that they are in the form wordpress.com/sample-post. The permalinks work great but it messes up the "next" and "previous" ...
0
votes
0answers
33 views

Custom Query String Permalink

I tried to add this at my functions.php add_rewrite_rule('^(biography)/([^/]*)/?', 'index.php?pagename=$matches[0]&actor=$matches[1]','top'); add_filter('query_vars', 'foo_my_query_vars'); ...
0
votes
0answers
26 views

How to add .html to the end of the permalink

How do I add .html to the end of the permalink? I tried changing the permalink structure to /%postname%.html but this did not work.
0
votes
1answer
32 views

Best way to specify “article type” in URL

I'm helping a small blog out that posts a few different "types" of articles. These article types are shared across categories. We want to put the article type in the URL. So the structure would look ...
0
votes
0answers
64 views

On IIS 8.0 wp-admin returns 404, wordpress/wp-admin does not

Settings: we have a WordPress website running on IIS 8.0 in a shared hosting environment. Permalinks are set on Post name. Web.config has been edited on purpose (please find that below). Site root ...
0
votes
1answer
41 views

CPT, meta-data, url parameter

does someone could point me a lecture that could explain me how to create some "filter" passed by pretty link ? Let me explain my self, I have a custom post type called "spectacle" and I have a ...
0
votes
1answer
21 views

Blog posts are not appearing as subs of Blog Page

I'm trying to set up a new blog on my company website and blog posts are not showing up as subpages to the blog page. I would like for the url to all blog posts to read: ...
0
votes
0answers
30 views

Is it possible to change %post_id% in permalink by a constant?

I had an assignment of moving Joomla 1.0 content, categories and other stuff to the latest WordPress. Everything went fine, a few PHP scripts, a bit of fiddling with MySQL. But then, unexpected ...
0
votes
1answer
34 views

What is the beste practice to check for pretty permalinks?

I develop a plugin and therefore I add new RSS feeds. One feed might look like http://local.wordpress.dev/?post_type=custom-post-type&custom-taxonomy=tax-1&feed=custom-feed This works pretty ...
2
votes
1answer
97 views

Apostrophe in permalink results in page not found

I'm working through a migration from Drupal to a WP multisite network, I've got a post meta field that contains the URL of the old post (mostly to maintain social counts and such) that I'm using for ...
0
votes
1answer
62 views

category link not working for a specific slug, works for others

I have setup several categories and set the permalinks to /%category%/%postname%.html with a category base of . to remove "category" from the url. All categories are working except for one with the ...
0
votes
0answers
54 views

Permalinks URL not working without index.php

we've just transferred a WordPress site to its domain. The Permalinks settings all have an index.php at the end. This results into URLs such as http://[domain].com/about not working but ...
0
votes
1answer
128 views

WP Rewrite Rules - Custom post type & taxonomy

I've been beating my head against the wall for a few days trying to figure this out. I have a custom post type and custom taxonomy and I'm trying to get my URL's to work. Here is the URL structure ...
0
votes
1answer
65 views

Call to a member function add_rule() on a non-object

I want the page mysite.com/product to be accessed with the URL mysite.com/product/productname instead of mysite.com/product?name=productname I am trying to achieve this with the code in the ...
0
votes
0answers
80 views

Redirect permalinks after creating custom post types

I'm in the process of reorganizing a website with many posts (~30.000) a part of which have to be migrated to a new custom post type. Since the custom posts have an added slug to the permalink, is ...
1
vote
0answers
59 views

Strange number at the end of wordpress permalinks

I've just noticed in my google webmaster tools that there are 404 errors and they are pointing from my permalinks which have this number in the end : 9223372036854775807. For example this url : ...
1
vote
1answer
73 views

Custom Post Type and Custom Taxonomy Permalinks

I'm currently working with a client's Wordpress blog that has a permalink structure set in the admin settings as "/speaks/%postname%/". This is so that all actual blog posts (post_type=>posts) have ...
0
votes
2answers
57 views

Multiple URL from Custom post name

I would like to do something special for a website in Wordpress. I have a "custom post type" whose data are all "post custom fields" except the name of the post. I need to create multiple urls for ...
0
votes
1answer
22 views

How to customize custom taxonomy url?

I have a Custom Post type "Data" with a custom Taxonomy "data-category". Currently my site url when I visit a 'data-category' shows like this : www.mysite.com/data-category/home-loan Here Home-Loan ...
0
votes
1answer
24 views

Change category base based on category

How can I change the permalink based on the category? I would like to change the category base based on its category. I want the output to be like this: /news/category1 /articles/category2 ...
1
vote
3answers
129 views

Title and post URL based on custom fields?

I have custom fields in my custom post type. They should serve as a title and post slug for URL. Basically, whenever I change the content of the custom fields, the title field should react ...
0
votes
2answers
51 views

What happens when permalink settings are updated?

I have to identical copies of the same site on two different webhosting companies (besides the actual domain of course). One of them works all the time with pretty permalinks and the other works fine ...
0
votes
0answers
113 views

taxonomy term names in custom post type permalink structure

I know there has been a lot of times this question has been asked here before, but no matter what method I have tried from here, nothing seems to be working for me. I guess I am sure I am writing in ...
0
votes
0answers
16 views

Wordpress category permalinks won't work

Hi for some reason I am having a problem with my category permalinks. When clicking on the category link, it shows only one post from the category instead of showing all post from the category.
1
vote
1answer
1k views

Wordpress Automatic Update to 3.9.1 breaks Permalinks

Yesterday, WordPress 3.9.1 Maintenance Release May 8, 2014 updated my version from the latest and all of the sudden, my inside pages were broke - no one could reach anything except the home page. I ...
0
votes
0answers
52 views

Tag search not working after permalink structure change

I recently changed my permalink structure from the default one /?p=123 to Post name, /sample-post/. That went well except that now the tag search doesn't work. Previously, when I clicked on the tag ...
0
votes
1answer
26 views

For one linked image per post, override that link with a permalink when on the main page

Is there an existing plugin that allows a person to, in a post, put a link on an image, but when the post is shown as part of the main-page list, have that image link to the post's permalink instead. ...
0
votes
0answers
129 views

Get post id of permalink for a specific custom post type?

I have custom post type called Personnel. I have this code to show a specific post ("details" page for personnel) (resides in children themes folder of Oxygen and is called single-personnel.php) ...
0
votes
0answers
47 views

Slash is being stripped in my post_name when using wp_insert_post

I want a permalink with slashes : e.g. http://mysite.com/keyword1/keyword2/mypage.html I have put it in the param "post_name" in wp_insert_post but the slashes are stripped, so the result is ...
0
votes
0answers
52 views

Only numbers in post-title (four-figure numbers)

im using WP for a book-project - a table as list and posts for details, take a look: http://reclam.brandenfeld.de/. The problem: I only use numbers (part of ISBN) in post-titles, and it works from 1 ...
0
votes
1answer
30 views

Used wordpress built-in permalink to change post url but the page is not found

Used wordpress built-in permalink to change post url but the page is not found. I used the custom url option and appended /%postname%/ to it but it isn't working. What apart from this I have to ...
0
votes
0answers
30 views

Combine category AND custom taxonomy in permalink structure

It seems like this question has been asked not infrequently, but I still can't make heads of it. I followed the Rewrite API Guide to look at how to merge, but I want something like this: Category = ...