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
22 views

After changing permalink settings, everything works fine except for the two most recent posts

I've been searching for a couple of hours for a solution, but so far haven't found anything. I updated my site's permalink settings from 'post name' to 'day and name' and everything seems to be ...
0
votes
0answers
24 views

Custom Post Type permalink not working on new posts

I've been struggling for a while with this and would really appreciate any help. I have a custom post type 'venues' on a site I'm working on. I have the permalinks setup so they are as follows: ...
0
votes
1answer
27 views

Category with the same slug

i'd like to do this: www.website.ext/ciccio/pro www.website.ext/mario/pro www.website.ext/giuseppe/pro Why can't i do that? I know.. the slug/child-category "pro" is the same but it is in the ...
-2
votes
0answers
27 views

default publish permalinks not redirecting to postname url

i have a wordpress site where the scheduled default permalink urls http://url.com/?p=123 redirect properly to postname url when logged in as admin. But they dont redirect when i am not logged into ...
1
vote
1answer
24 views

Rewrite Rules returning wrong data

I have a custom post type called product. It is categorized with the two taxonomies product_category (which is superior) and product_group. I want the permalinks for single products to appear like: ...
0
votes
0answers
15 views

MultiSite permalinks out of sync

I have a Multi-Site problem We have moved the site form one server to another (I think that's not a problem). Now on old blogs (meaning old sub-sites) permalinks are broken for example: On the blog's ...
0
votes
1answer
47 views

Change permalinks for custom post type based on taxonomy term

I have a custom post type 'profile'. Each profile can be one and only one of either student, staff or alumni, which is set through the 'profile_types' custom taxonomy. This gives me permalinks of: ...
0
votes
0answers
25 views

Changing WP location and wp-content folder name witouth loosing SEO

I'm trying to make my site the most efficient way as possible, and I find out thant changing lot of things in permalinks , security folders , etc, works pretty well. But what happen if the WP, is ...
0
votes
0answers
31 views

Sharing two subdomains with a single WordPress without MultiSite

I want to have a single Wordpress installation for use of two domains e.g. http://blog.example.com for blog http://www.example.com for company pages I don't want to use multi-site setup, because ...
0
votes
0answers
26 views

Custom Rewrite Rule with Sub Folders

I need to create a custom rewrite rule for a WordPress plugin. I have read this topic and came up with a working solution using add_rewrite_rule(). However, after testing the plugin, I realized that ...
0
votes
0answers
29 views

Customized author slugs not working with get_author_posts_url method

I really appreciated the solution for the author rewrite rules here: Change Author Base Slug for different Roles The solution worked for me, however, when I now use the get_author_posts_url($id) ...
0
votes
1answer
43 views

URL Rewrite Adjustment for Custom Post Type causes template to revert to index.php

I have a custom post type with a URL permalink rewrite that seems to work if it uses /mynews/stories/YYYY/mm/story-name but if I change "mm" to the first 3 letters of the month (eg Jan, Feb, Mar, ...
1
vote
0answers
36 views

WordPress URL Rewrite for dynamic and customized URL

I'm working on a website in WordPress where I have to show AP News from external Database and not from the WordPress DB. I have created few shortcodes for this, which are working absolutely fine. I ...
0
votes
1answer
37 views

add_rewrite_rule not working for me

I have the following rewrite tags defined: // ADD REWRITE TAG FOR 'VEHICLE MAKES' add_rewrite_tag('%make%','([^&]+)'); // ADD REWRITE TAG FOR 'BODY STYLES' ...
0
votes
0answers
31 views

page slug and taxonomy slug in custom post type url

I have a strange situation here. I want the taxonomy of a custom post type to be after a page slug, for example I have a taxonomy term "shareholders", i want the url to be ...
0
votes
0answers
42 views

Parent cpt/child custom post type URL permalink relationship

I am attempting to set up a relationship in Wordpress between two custom post types I’ve created and display that relationship within each post type’s permalink URL structure. I have created two ...
0
votes
1answer
24 views

Forward an old url rewrite scheme to a new one?

I have the following url rewrite for custom post type: add_rewrite_rule( 'event/([0-9]+)', 'index.php?post_type=event&p=$matches[1]', 'top' ); Due to a site structure change, I'll ...
1
vote
3answers
48 views

How to tranform Headlines into linkable permalinks?

My Wordpress site has fairly long entries and includes many data visualisations. I want to make it easier for visitors to refer to a specific part of a page and therefore would like to make it easy to ...
1
vote
2answers
75 views

Custom post type and taxonomy permalinks

I have a custom post type 'news' and a taxonomy 'category-news'. I would like to get this permalinks: www.domain.com/news -------------> list of all news www.domain.com/news/sport ...
0
votes
1answer
16 views

Custom post type using standard post categories results in 404 when viewing /cpt/category

The CPT has been registered fine, with the name 'qna' and slug 'advice'. Viewing domain.com/advice correctly displays the archive-qna.php template. Viewing domain.com/advice/custom-post-title also ...
-1
votes
1answer
11 views

Why is wordpress permalink path wrong for single blog posts?

I'm developing my site with MAMP and my homepage is at localhost:8888/wordpress When I click on the link to my blog page (home.php) the url looks like this: localhost:8888/wordpress/blog All good ...
0
votes
1answer
32 views

Wordpress theme showing blank page

Something is wrong to my installed theme, because when I am clicking on Visit Site than its showing blank page. No error and no content, no navigation nothing to display. There is link below :- ...
0
votes
0answers
23 views

Deep Nested Custom Rewrite and Custom Taxonomy

I'm trying to get my custom taxonomy to nest deep categories, and then also pull up the post. Each post always needs to be three categories deep: example.com/thinger/cat_1/cat_2/cat_3/post_name_here ...
0
votes
3answers
196 views

How to have permalink like domain.com/term/postname?

I'm trying without success to have a URL structure like domain.com/term/postname, but I just get 404 for all non-CPT pages. function add_video_post_type() { $labels = array( 'name' ...
0
votes
0answers
11 views

How would one go about adding a category name to the url of multisite subsite?

How would one go about adding a "category" name to the url of multisite subsite? eg. http://mainsite.com/categoryname/subsite Simply editing site info settings doesnt help. I am trying to make a ...
0
votes
0answers
9 views

How to Change the WordPress Permalinks for some posts

i have this permalinks structure: /%category%/%postname%/%post_id%/ is it possible to apply /%category%/%postname%/ for some categories? Thanks
0
votes
0answers
16 views

Blogger To WordPress Permalink Redirection

Is there any way to redirect following or anything permalink like this: http://www.example.com/2014/02/post-title.html to http://www.example.com/2014/02/post-title/ Any link with a .html in the ...
2
votes
2answers
193 views

Resolve a custom post type name vs. page permalink conflict (same slug)

I have a custom post type called "visningshus", and also a Page with that slug. This is as it should (must) be. Currently, "http://my-site.com/visningshus" lists all posts of that type. I want to ...
0
votes
0answers
44 views

Pagination for blog posts reloading same page

Symptoms Visiting /blog/ loads the first 10 posts, as expected. Visiting /blog/page/2/ (and onward) loads the new URL but with the same 10 posts. Nothing changes but the URL. Setup Details Custom ...
0
votes
1answer
40 views

Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?

I was developing this WP site using WAMP at work, and now suddenly we're switching it up and putting it on a Windows server (2003). I can tell from the Permalinks Settings page in wp-admin that it ...
0
votes
1answer
25 views

Permalink Issue - Funny & Weird

I am having an issue where the permalink for my blog posts shows www.example.com/blog/_______. The /blog doesn't just seem to go. Please see screenshots. So then I went here, and changed the ...
0
votes
1answer
37 views

My posts section for logged in user

I would like to create a page that shows only posts written by the user logged in and get a link (such as www.example.com/AuthorPostsID) to put on the menu. I'm trying for two days. Does anyone know ...
0
votes
0answers
11 views

Why do all my custom post types return a 404, even after resetting the permalink? [duplicate]

I have two custom post types setup like this: add_action( 'init', 'create_post_type_News' ); function create_post_type_News() { register_post_type( 'news', array( 'labels' ...
0
votes
0answers
26 views

Do pingbacks work with ?p=123 permalinks?

From what I've seen wp_extract_urls in pingback() function wp-includes/comments.php does NOT include query vars (ex: ?p=123) with the returned urls. But later in the function wordpress tests if there ...
0
votes
0answers
22 views

Changing Post Permalink redirect

I am curious about something. Recently I changed my post permalink structure in wordpress. It used to be category/postname. I have changed it to postname. It seems that if I type ...
0
votes
0answers
49 views

How to maintain WordPress permalink structure with custom content with URL parameters?

Lets say I have posts, pages, plugins and navigation etc. from WordPress. Then I have a Video on Demand Archive now I want use WordPress (core, plugins, theme) to process and display this content. ...
0
votes
1answer
22 views

Custom WP permalink structure

I've been struggling trying to wrap my brain around this problem for a few hours. I'm basically trying to achieve this URL structure for a coupon site I run. ...
6
votes
2answers
91 views

Mapping Domains to Permalinks (not multisite)

I am trying to do this on a standalone WP installation (not multisite). What I am trying to achieve is: User saves domain.com on usermeta. (done) User creates a new CPT, say company. Which is ...
0
votes
0answers
37 views

Get canonical link

Hi I know get_permalink returns the URL. Some of my posts are redirected and at the same time I update the canonical link to the redirected post URL - (normally relates to post updates). Is there a ...
0
votes
0answers
26 views

Select page/template from the permalink url

I use permalinks like example.com/projects/project1 for my project pages. They use all the same template. I want to access another template with more details on the project by adding /details to the ...
0
votes
0answers
36 views

Permalink broken for pages after adding rewrite rule

After adding these rewrite rules: add_rewrite_rule( '([^/]+)/page/([0-9]{1,})?$', 'index.php?author_name=$matches[1]&paged=$matches[2]', 'top' ); add_rewrite_rule( '([^/]+)?$', ...
0
votes
2answers
65 views

Can't get the previous and next posts permalink

I tried to get the next and previous URL, and create a navigation. But it seems to only retrieve the permalink from the two first posts (but not the others recents posts). I have 5 posts (ID = 25, ...
1
vote
1answer
73 views

How to link to “most recent” document in the Media Library?

Our customer wants a "Latest Newsletter" type link on the homepage. I figured there'd be an easy way to specify a document from the media library (perhaps by name or title) but nothing is coming up ...
0
votes
1answer
39 views

Installing Wordpress in another Install?

I'm trying to install one wordpress site in a different directory on the same server as another, and access it as a sub-directory of the site. Maybe this describes better- File structure: ...
0
votes
0answers
11 views

Rewrite rules for changing a custom page permalink with author details

I have the following page with permalink: http://mysite.com/custom_page/custom_var/author_name and I want it like this: http://mysite.com/author_name/custom_page The custom page conatins some ...
0
votes
1answer
47 views

Changing Permalinks for Category Pages Only

I am working to redesign a site and would like to rework the permalink structure for the category pages only. Right now they are using: /category/category-name I would like to switch this to: ...
0
votes
1answer
29 views

Can variables be used to rewrite a Custom Post Type permalink? [duplicate]

Is it possible to use a variable to rewrite a Custom Post Type permalink FROM wp_terms -> slug? WPDB: wp_terms -> slug = healthy-living A1) Current Custom Post Type args: 'rewrite' => array( ...
0
votes
1answer
26 views

Customize category permalinks

How can I generate URLs like http://example.com/blog/category/Test/? Currently, I have http://example.com/category/blog/Test/.
0
votes
0answers
44 views

Learning rewrite rules and custom permalinks. Paging not working

I am just starting to learn rewrite rules and custom wordpress permalinks. I have made a custom endpoint called autor with the following code: function my_query_vars($vars) { $vars[] = "autor"; ...
1
vote
1answer
64 views

How to exclude uncategorized from permalink structure /%category%/%postname%/

I'm using a custom permalink structure: /%category%/%postname%/ So that my posts are listed like: mysite.com/widgets/blue-widget This works fine as long as "blue-widget" exists in one and only ...