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

Custom Post Type with /%shop_name%/gallery/%gallery% permastruct?

I have created a custom user meta = shop_name in User Profile and custom post type gallery I want my permalink to be in form of /%shop_name%/gallery/%gallery%. Every user has a custom user_meta = ...
0
votes
0answers
27 views

WordPress Permalink Problem

I have a blog with 3,000 post permalink using the "% postname%" now I want to change it and make it into html "% postname% .html". Everything works except for the old link on facebook and in the ...
1
vote
1answer
29 views

How could I change my Permalink from blog to custom structure? [on hold]

When I install multi wordpress site I have a problem that my default site permalink goes to http://site.myurl.com/blog/post-name/ I want to change it so that it goes to a custom link like this: ...
0
votes
2answers
36 views

Dynamically generate child-URLs for posts or custom posts

How can I have a post (or custom post) with a definite URL: www.test.com/category/post-name and a child-URL referring to a specific section of that post www.test.com/category/post-name/sub-url ...
0
votes
1answer
8 views

How do I get a link to a WP page within a loop?

I'm trying to get a link to Page A within a loop on Page B. Normally I would use <?php echo get_page_link($mypage->ID); ?> but the loop is causing this to always return a path to the current ...
0
votes
1answer
14 views

Change the permalinks structure

I have decided my structure of permalinks from /?p=125 to /sample-page. I have tried some methods, but anyone works. I have changed the structure in settings/permalinks and I have tried with some ...
4
votes
3answers
83 views

Stop WordPress from reserving slugs for media items?

I am experiencing some odd behavior, that apparently happens "out of the box" with WordPress. If I upload a file through the media manager called: services.jpg; then go try to create a page with the ...
1
vote
0answers
28 views

Wordpress can generate numeric permalinks, which then 404

I know why setting a numerical permalink for a post would mean Wordpress confuses page name and number. However, I notice on the site I am working on (Wordpress 4), that you can edit the permalink to ...
0
votes
0answers
14 views

Woocommerce shows different last categories in URL whilst same selected in different products [closed]

According to Woocommerce, when you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes ...
1
vote
1answer
16 views

How do I create a permalink structure with 2 taxonomies

I would like to create permalink to a search for a custom post type that has 2 taxonomies in it. Here are a few appropriate examples: /root/%taxonomyA%/%taxonomyB% ...
0
votes
1answer
18 views

Would it be wrong to save the permalinks as a postmeta and regenerate it on save post? [closed]

I was wondering about the permalinks. They are built on the fly but they are pretty much always the same. It seems like a waste of processing time and databse queries on every request. Why not store ...
-1
votes
1answer
47 views

problem in the author permalink

1 - register like this http://ahmed.d.pr/19Poz 2 - register a new user like this http://ahmed.d.pr/1eExL 3 - choose permalink >> Post name >> /%postname%/ 4 - the link in the browser must be like ...
0
votes
1answer
26 views

Wordpress Page Not Found if Permalink Settings is Postname

Uploaded code on staging server. in localhost everything is working well but on staging I can login to admin pabel but can not see any page on frontend. When any page is accessed it says The requested ...
0
votes
0answers
20 views

Prepend Taxonomy slug to post

How do I add a custom a taxonomy slug to posts like abc.com/bangalore/post-name-title and incases where I don't have a taxonomy (say 'city'), I want this to be abc.com/post-name-title ? My ...
0
votes
0answers
26 views

404 Page not found error - what messed up the permalinks?

Today I encountered an interesting problem on one of my WP blogs. Everything was working fine, until URL broke. The main page was loading correctly, as well as the admin dashboard. The problem was ...
0
votes
1answer
20 views

Posts in Page - How to customize the URL?

I have a "normal" WordPress install. Blogposts are displayed on the homepage an there are a few pages. Now I want to display the posts of a specific category on a page, so that I can add some ...
0
votes
0answers
42 views

Uppercase vs. Lowercase page slugs

We are migrating a site to WordPress from another platform. An issue came up with the URLs--some are uppercase, some lowercase. I allowed uppercase using this solution: How can I make Capital letter ( ...
0
votes
0answers
9 views

Redirect imported blog posts using my permalinks settings

I have imported all of my blog posts from a different CMS to a local WordPress setup to test things out before going live. Here is the layout of the posts from the old CMS: <PublishingArticles> ...
2
votes
1answer
38 views

Categories' hierarchy in URL

The posts in the website I'm currently working on have multiple hierarchical categories applied to each of them. For instance: Source - Books -- Moby Dick -- Sherlock Holmes The permalinks are set ...
0
votes
1answer
54 views

Add .html to Woocommerce permalinks

I'm redesiging a site for a client using Wordpress and WooCommerce and I need to add .html to all the woocommerce permalinks so they don't lose any SEO ranking when we go live with the site. Does ...
0
votes
0answers
12 views

Is it possible to output breadcrumbs with a custom esc_url( the_permalink() );?

Specifically when listing search results on a page, I would like to output esc_url( the_permalink() ); as: Breadcrumbs > linking > to > page I've seen lots of articles, plugins etc referencing the ...
-2
votes
0answers
10 views

Force Wordpress to Show Pages Instead of Category For Silo Structure [duplicate]

I am trying to create a SILO structure on one of my WordPress site. I have always checked this option on Yoast SEO plugin "Strip the category base (usually /category/) from the category URL." So my ...
0
votes
0answers
35 views

2 loops with pagination on a single loop

On a page I want to always show the most recent post on top with a different layout, and have the rest of the posts listed below. So I created a template page with these 2 loops. But I cannot figure ...
0
votes
1answer
27 views

How to: change permalink by category?

i'm have 2 category: News & Games How to change permalink by category as: if is category News permalink as: domain.com/news-%postname% if is category Game permalink as: ...
0
votes
0answers
17 views

Permalinks for categories…making sure that you get the right link in a Category Archive

I recently completely a site with a lot of categories and sub-categories. And in many cases, a post might go in multiple categories. Of course, I know how to do that by simply checking off multiple ...
0
votes
0answers
24 views

Permalink not working

The address of my WordPress site is something like: http://mycompany.com/personnel/myname. The installation folder is: /www/personnel/myname. When I change Permalink to Post name, it requires me to ...
0
votes
1answer
35 views

How do you intercept the page requests in Wordpress?

I am working with Wordpress 4.1. I am building a custom template that won't be using Wordpress pages. I would still like Wordpress to use permalinks like 'www.website.com/{page_name}/{something ...
0
votes
0answers
64 views

Custom post type permalink tag 404

I'm using wp-types to build a wordpress site. I'm happy with the types and their fields, I just wanted to created a function that shows parents in the url - see blow function that achieves this - also ...
0
votes
1answer
33 views

Remove sequential number from permalinks

I'm organizing some custom post types by taxonomy so that my URLs would look like /small-groups/spring-2015/date-your-mate /small-groups/fall-2015/date-your-mate The spring-2015 and fall-2015 are ...
0
votes
1answer
52 views

How to check if last uri segment is a custom post type or taxonomy term?

After following Jeffs suggestion on this thread to create nested parent and child taxonomy terms within a permalink like... url.com/custom-post-type/taxonomy-parent/taxonomy-child/cpt-entry It ...
-1
votes
0answers
34 views

How to change page ID to preserve links?

I'm developing a site, and the current site uses the page ID in the permalinks (eg site.com/content/?page_id=8). I am recreating the pages, and would like to make sure I don't break any existing links ...
-1
votes
1answer
37 views

Strip category base from URL?

Where I Place This Code Or How Can I Use This? function wpa_alter_cat_links( $termlink, $term, $taxonomy ){ if( 'category' != $taxonomy ) return $termlink; return str_replace( '/category', ...
0
votes
0answers
14 views

Redirect a permalink date structure change

Our site had a structure http://www.example.com/category/year/month/article-title which we changed to http://www.example.com/category/year/month/day/article-title (i.e. we added the "day" to the ...
1
vote
1answer
61 views

Custom url for a single page

Created a page and the link is like the following http://www.demo.com/?page_id=1081 need to be like the following http://www.demo.com/phones I need this structure only for this page .So i don't ...
0
votes
0answers
12 views

Converting WP Page to use full explicit paths?

I'm integrating a 3rd party product db/search feature into an existing/live Wordpress website using the vendor's Remote HTML Framing Code template. They are asking me to "convert all paths to full" ...
0
votes
1answer
23 views

Group Posts by First Letter of Title categories

Questions is a duplicate of this one: Group Posts by First Letter of Title However, I was unsure whether I could ask on that, or I had to start a new question, so I did the latter ;) I implemented ...
1
vote
2answers
68 views

Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname

I have a custom post type "news_updates" which I have not given custom tags or categories. I have however created a normal tag (not attached to a custom post type), and assigned it to a particular ...
0
votes
2answers
34 views

Page and Category With Same Slug - Looking To Silo Website

Not sure how to do this, I want to silo structure my site and I have created a category and put all my posts under that category. I want to now create a page that has the same slug as the category ...
0
votes
1answer
22 views

Visting slug for 'post' post type shows 404 not archive?

I'm trying to get the WP default post type 'post' to show under the slug of /news/. I've changed the permalink structure to /news/%postname%/ which is fine when visiting a single page, however when I ...
0
votes
1answer
11 views

MultiSite Move conjures duplicate URL

I just tried to do a very painful move of a multisite. I thought I had everything working until I clicked a blog link on the MAIN site and I was greeted with a duplicate url. Something like this ...
0
votes
0answers
27 views

Permalinks problem: Error 404

I have a problem with my Wordpress Permalinks. Except the first page, when I click a link, I always get the error 404 Object not found. I mention that i have mod_rewrite in Apache set to true. ...
0
votes
0answers
117 views

Getting a 500 internal server error ONLY on wp-admin/options-permalink.php

I have access to the admin panel, and everything works fine. I can click settings->reading and change anything I want to. But if I click settings->permalinks I get a 500 internal server error. Here's ...
0
votes
1answer
28 views

How can I get Wordpress CPT archives and page templates to work with prettified permalink settings?

I'm having very weird issues with my permalinks and template files on this site I'm building. I've created several Custom Post Types. These all have archive pages in my template structure named ...
0
votes
1answer
12 views

When using number in url it is redircting to same page but when using character it redirects to 404

I have a website e.g abc.com in wordpress, when I enter any url like abc.com/blog/1232132 then it is redirecting to the same url and showing the content of abc.com/blog but when I am using urls like ...
0
votes
0answers
57 views

Error 404, pagination in custom query for permalink category/postname

I have trouble using custom query to paging my category posts. here's the situation. I set my permalink as %category%/%postname%, I am using very standard function paginate_links( $args ) $args = ...
0
votes
0answers
18 views

Pretty permalinks with multiple taxonomy queries

I'm using a plugin called Query Multiple Taxonomies and I can't seem to get pretty permalinks to work on those pages. The URL structure is: ...
0
votes
1answer
62 views

Custom post type single (permalink) throws a 404 error

I'm working on a website that has Woocommerce installed (also a CPT if I'm right, but that one works fine). This website has a custom post type for jobs, this cpt has posts that are linked to in the ...
0
votes
0answers
16 views

Adding a variable to a permalink

<a href="<?php echo esc_url( home_url( '/' ) ); ?>team-names/" . $term->slug; "?>""> How would I correctly add $term->term_id to a permalink? (it outputs a slug)
0
votes
1answer
39 views

Passing user defined variable into get_permalink

I'm trying to use a predefined variable (generated from an earlier sweep of the database) in wordpress' standard get_permalink( get_page_by_title) function. I'm assuming that this is possible? But I ...
0
votes
1answer
20 views

How to create an IIS7 re-write rule for a single category

I have a WordPress installation on an IIS7 server. I am currently using permalinks with a setting of /news/%category%/%postname%/ so the URL for all my category landing pages are in the form of ...