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)

0
votes
0answers
39 views

Is there a way to change the complete URL of the blog post for a redirecting tracking link?

Client wants to add tracking URLs to each blog post. So, for example, he gave me a URL like http://clk.atdmt.com/CNT/go/1234567/01/ which when clicked on would redirect to the URL of the blog post. ...
0
votes
1answer
26 views

Creating a Category Taxonomy

I have this entertainment site for TV shows. I cover at least 27 shows so far. I use so many different post types for the shows and it slows down the site, I eventually want to add more shows. I ...
0
votes
1answer
14 views

Post/page title to permalink transformation - what is behind the scenes?

If the post name is used as the permalink, what "transformations" does Wordpress do to it when using it as the URL and when does it perform these transformations? Like stropping spaces and special ...
0
votes
1answer
55 views

Wordpress with static posts page and custom permalink structure doesn't find posts with numeric permalinks

I've setup a static posts page named "Journal", mydomain.com/journal. This page now lists my 15 latest posts. All fine this long. I'm able to access each post individually by going to ...
0
votes
1answer
16 views

How can I add a custom permalink to a term?

How can I make a taxonomy term have a custom permalink? (on a term basis, e.g. /anything/here for a taxonomy called food and a term called burrito) I don't think there's much more to explain so, my ...
0
votes
1answer
37 views

How to use a hierarchical taxonomy in permalinks?

I use permalink: /%category%/%postname%.html and want to have categories like this: Wheels Mercedes Toyota Brakes Mercedes Toyota I want their URLs like this: ...
1
vote
0answers
121 views

display dynamic content based on url slug on custom page

i have a custom page named locations and i want the url to load like this: /locations/california /locations/nevada etc.. and upon each page load of the given url as above content is loaded based on ...
0
votes
0answers
24 views

Permalink structure depending on custom field

I'm trying to create a permalink structure that is only used when a certain custom field is filled in. For instance, when the custom field value of 'premium' is '1', I want to add /premium/ to my ...
5
votes
3answers
229 views

Getting the Site URL Including the Front Base

If my permalink structure is set to /blog/%postname%/, how can I retrieve a URL for my site which retrieves domain.com/blog/? With the permalink structure mentioned above, when using site_url();, it ...
0
votes
0answers
11 views

Single link gets redirected to home page

I have a page with permalink "/references", but this particular link gets redirected to the home page. When I change the page link to say "/ref", it works, but "/references" link still works too ...
0
votes
1answer
91 views

404 on child page when parent page slug is identical to custom post type

The internet is swamped with this issue but all the results were from 2010-2011 so I wanted to check if there was any advancement in the matter. I have the following scenario: Created a custom post ...
0
votes
2answers
32 views

How can I set up a secondary permalink structure?

So I have a situation on a site where I need multiple permalink structures. Now, I already know what you're going to say because literally every Google and SX result I've looked through says the same ...
1
vote
0answers
129 views

Remove subcategory and category with some rules from permalink

My current option for permalink is set to /%category%/%postname%/: I have a category 'stati' and parent category 'italian', 'german'. This parent category has some other parent category, for example: ...
0
votes
0answers
94 views

Custom post type permalinks non working on wp 4.0

When I updated to WordPress v4.0 it removed all of my custom post type permalinks and replaced them with "/". I have 2 custom post types: "Business" and "Coupon". The permalink settings for Business ...
0
votes
1answer
43 views

External PHP file & Pretty Permalink

I'm working in developing REST API for a WP based website. Endpoint is http://example.com/api.php I've included wp-load.php in the top of the file to access WP functions etc. However, ...
0
votes
1answer
32 views

How to change permalinks to taxonomy and post type's posts

Hello I want to change my taxonomies and posts permalink. I have taxonomies like that; Audi A1 1.4 TFSI 1.6 TDI A3 1.2 1.4 ...
0
votes
0answers
20 views

Difference between flush_rewrite_rules() and Settings > Permalinks

The issue I'm currently having is that I have 404 errors on all of my pages besides the home page. I can recreate this when I import and overwrite the WordPress database. Sometimes it happens after ...
0
votes
1answer
37 views

Rewrite rule not passing variable

I have the following code in my functions.php file, and it simply will not work to return the value passed via the URL. This is the code below: function custom_url_source() { ...
0
votes
1answer
44 views

wp_publish_post breaks permalinks

I'm creating a system, where some custom post drafts are being prepared, and after certain actions taken by moderators it is being automatically published. So, first I create post draft like that: ...
1
vote
0answers
29 views

example.com/index.php/%postname is working while /%postname is not working Wordpress on IIS6

client had a WordPress install already running on IIS. when i am trying to change permalink, it is working only with /index.php/%postname. my site on IIS6 also created web.config file with below ...
0
votes
0answers
19 views

Redirect an old to new permalink not working

I have my old site permalink structure like this /%year%%monthnum%%day%-%post_id%.php since 2010 and now I decided to change server and transfer it on a new one and change the permalink on a much ...
0
votes
0answers
21 views

permalink problem in my .htaccess page

Please give me a suggestion for my question. when we set permalink in our site then the .htaccess code is RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
0
votes
0answers
22 views

How to add author nickname to post permalink urls?

How to add author nickname to post permalink urls? Like: http://mydomain.com/post-title-%nickname%
0
votes
0answers
17 views

Changing link output of posts

I'm using the X theme & there is a load-content.php file that uses a function to show recent posts & portfolio items. The code is below; I'm trying to make all links go to a specific page ...
0
votes
1answer
51 views

Change the custom post type permalink

I have projects category in my theme ( custom post type ). my link goes like this http://shaowtriger.com/project/naim/ my required link is http://shaowtriger.com/brands/naim/ I also ...
0
votes
1answer
58 views

Custom Post Type Archive Links Not Working

I have multiple custom post types set up. I've been through this process many times, on many sites and have never once had a problem with it. The post type is registered as 'glossary'. The archive is ...
0
votes
0answers
23 views

Custom posts permalinks for same post name posts

I have an events custom post created on my site. Most of these custom posts are doomed to have the same post name, because I will have the same event name on a different date. For example, I have ...
0
votes
0answers
45 views

wp_list_pages show all pages in sitemap

I am trying to list the pages of my site but actually list them all. I can use wp_list_pages(); However I have a custom post type "services" with archive false. I also have a page named services ...
0
votes
1answer
23 views

How to enable http (not just https) in wordpress?

My wp-config.php file contains define('FORCE_SSL_ADMIN', false); but all my permalinks are https: by default. I want the site to be accessible by http. What do I need to change please?
0
votes
1answer
46 views

Permalinks using event date (year & month) instead of publication date

The site http://www.bikefun.org is live and working, but the permalinks are not quite right. It is an event calendar site. Events are stored as a custom post type "bf_events", with dates stored as ...
0
votes
2answers
278 views

Custom Post Type with Nested Taxonomy and Template Files

I have a custom Post Type of "Portfolio" with a rewrite slug of portfolio. So the URL on the frontend is: domain.com/portfolio. I have a custom Taxonomy of "Categories" with a rewrite slug of ...
0
votes
1answer
46 views

Custom Post Type Categories Not Maintaining URL structure any more

I'm having a really hard time with this... I have a custom post type called "locations" that has several taxonomies for it. I was originally able to get it so that when you clicked on the category / ...
0
votes
2answers
68 views

WordPress Custom URLs

Based on the link maioman posted, below I have revised this question: I am having trouble getting a custom post type/taxonomy to work. I want a custom post type of Episodes, and the taxonomy for the ...
-1
votes
3answers
46 views

Post/page without slug

I have posts that are full posts with page content and images, etc. Then I have potential future posts, which I still want to list on my category pages, but that do not have content yet and do not ...
0
votes
0answers
35 views

Nice permalink for search results with NiceSearch plugin

I'd like to know how I can rewrite a search results URL that also contains a ".html" into the end of URL. I have taken the code from the Nice Search plugin which works fine to change ...
1
vote
0answers
212 views

404 not found error on WordPress local host

I'm doing some work on a live WordPress site, and before making changes wanted to create a local copy of the site to use. I've gone ahead and done that, (using BackUpBuddy) but I am getting this ...
0
votes
0answers
54 views

Get custom url from thumbnail

I am working on a multisite install using folders, and am trying to create a grid of images which link to different sites within the mulitisite. I've created a bunch of posts in a category "sites", ...
0
votes
0answers
29 views

How can set all big title in URL

I have error in permalink, I have post that title is big like :- Tesla will reportedly build its EV battery 'giga factory' in Nevada Now when open the post in my site i see permalink like :- ...
2
votes
2answers
77 views

Where is the old post permalink slug stored?

I published an article with permalink slug: http://domain.com/writing Then after publishing, I changed the permalink slug to writing-lorem. Now, whenever I visit /writing, it redirects to ...
0
votes
0answers
51 views

fixing permalink structure

I am having trouble with my permalink structure of my site. I have a custom post type and custom taxonomy for that post type. These are both made within PODS if that makes a difference. For whatever ...
1
vote
0answers
65 views

How to generate a list of all urls

I'd like to display a list of all Urls of my Wordprees site. I print out a list of all taxonomy terms like this : <?php // Get all Post $html = '<h2>Articles</h2>'; ...
0
votes
1answer
88 views

Redirect year month day postname permalink structure to category postname structure

I have a Wordpress site with a /%year%/%monthnum%/%day%/%postname%/ permalink structure, and now the client wants it changed to /%category%/%postname%/. How do I do a generic redirect for the old ...
0
votes
0answers
38 views

Problems with custom post_type and custom taxonomy

I'm trying to make a simple plugin that let's me create blogposts from a custom post_type (tutorials), with it's own custom taxonomies. I got this working. There are 2 problems though. 1: I also ...
0
votes
0answers
25 views

get_permalink wrongfully returns only year and month and not all the link

This is very strange and I don't know why. I am developing a theme, and in some areas I am manually creating different related news. They work perfectly, because I can start a WP_query almost ...
0
votes
0answers
36 views

Conditional permalink structure

I want a function to apply multiple permalink structure for posts under certain conditions. For example, if post date is before 2014, I want the permalink structure to be: /%category%/%post_id%/ ...
0
votes
2answers
52 views

Customizing the custom post type permalink

I understand how to register a custom post type, customize the slug and decide whether to add the 'front' (the WP permalink settings) or not. What I'd like to do is customize the permalink by adding ...
0
votes
0answers
43 views

wp_nav_menu use #<slug> instead of permalinks

I need help modifying the wp_nav_menu arguments so that it can generate a menu which has # instead of permalinks.. I know I can add custom link menu items, but I want the menu to be more dynamic .. ...
0
votes
0answers
24 views

Newly published content gives 404 on wordpress

I have an issue with a client website where all new published content gives nothing but a 404 when trying to view it. This applies to posts, pages, and custom post types, yet all previously published ...
0
votes
1answer
22 views

Menu Structure with Links failure to update

Sorry if this sounds like a newbie question but this is driving me crazy and I can't seem to figure it out. I want to add a link called "About Me" to my Menu that redirects to another website. It ...
0
votes
1answer
29 views

All pages lead to home

I've recently moved from linux to windows hosting, and now all of my permalinks just redirect to the homepage. I've selected the correct structure in Settings->Permalinks and have the following in my ...