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
1answer
8 views

Rewrite URL Parameter And Force 'Pretty' Permalink

I’m trying to pass a variable via a URL parameter and rewrite + force 'redirect' it. In other words, I have: /dir1/dir2/?my_var=123 and I want: /dir1/dir2/123/ Through the following code in ...
0
votes
0answers
5 views

woocommerce product link including category-name and with /product/

I like to change the product link in woocommerce. Now it is www.shop.com/product/test-product-123/ But I like the category inclosed instead of the text /product/ Result would be: ...
-3
votes
1answer
21 views

Ultimate Member: How to change the permalink base for user profile page

I am using Ultimate Member plugin, currently the user profile base link is http://www.example.com/profile/user-name I want to change it to http://www.example.com/user/user-name Any idea how to ...
0
votes
3answers
765 views

WordPress keep redirecting me to random URLs

When I go to my homepage, http://example.com, I sometimes get redirected to http://example.com/SXKSLW/ or some other random URL along that pattern that yields 404 page. I do not remember doing ...
0
votes
0answers
17 views

Process all virtual sub pages on parent page

My parent page: http://example.com/id Virtual pages are: http://example.com/id/1563 http://example.com/id/john/5896 http://example.com/id/jack-miami/3054 I use shortcode in parent page that gets ...
5
votes
1answer
127 views

Best way to flush_rewrite_rules for custom post type, in a mu-plugins plugin?

I am writing a plugin that instantiates a custom post type (among other things). It is a multisite plugin and lives in the directory mu-plugins. What is the best practice for handling ...
0
votes
2answers
23 views

How to stop WordPress from removing & from URL

So I have a URL which has a tracking link applied to the end. For some reason WordPress is removing the "&" which is causing the tracking to fail. You can see the URL exmaple here: ...
1
vote
3answers
2k views

Can't change permalink url after hitting 'ok' and 'update'

I am trying to change some of the titles of my posts and their respective permalinks. After I edit the title and permalink and click 'ok', the permalink appears to have changed temporarily. However, ...
1
vote
1answer
60 views

permalink independent on the post's name stored in the database

I'm trying to make a custom permalink structure for my posts. something similar to www.example.com / post / %post_id% / %postname% / In this permalink, the post's ID comes first, then the post's ...
2
votes
1answer
747 views

How to display comments on different page

I am creating a reviews site and I want to display the customer reviews (comments) on a separate page from the single-restaurant.php. I'll just have a link that says (Read reviews/ add yours). I ...
2
votes
1answer
4k views

Permalinks: custom post type -> custom taxonomy -> post

I am having trouble working with wordpress' rewrite rules, and could use some help. I have a custom post type called shows. All shows have a single custom taxonomy category show-category. A show ...
0
votes
2answers
35 views

Change permalink structure for custom post type

I have 2 custom post types: software and hardware. For SEO reasons I would like to have the permalinks of single software and hardware pages like: https://domain.com/custom-post-name/ But as ...
1
vote
2answers
23 views

How to have extra permalink for posts

My permalinks are like mydomain.com/post and have to be like that, but because I use non-English characters (which need to be in the URL and make it really long and weird) for posting in social ...
2
votes
5answers
8k views

Category links suddenly started giving 404 errors

My Wordpress blog suddenly seems to have started giving me 404 errors when accessing category pages. For example, http://blog.rtwilson.com/category/tok-related/. Interestingly, this doesn't happen for ...
1
vote
1answer
1k views

404 - Category pagination for custom post type

--Edit I've managed to narrow it down that the paged variable is not working properly here, (get_query_var('paged')) ? get_query_var('paged') : 1; is always returning 0 although maybe it is due to ...
0
votes
2answers
21 views

Why will Pretty URLs not Work?

I have many security plugins setup. Could someone tell me what changes I need to make to my .htaccess file (while keeping as much of my current rule set as possible) to make pretty URLs work? # BEGIN ...
2
votes
5answers
970 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
3answers
1k views

Custom Post Type Permalink Page Not Found

I've been wasting hours and hours trying to solve a permalink issue with custom post types. It keeps returning page not found (404). When I use the default permalinks, it works, but when I switch to ...
0
votes
3answers
73 views

404 error on subcategory pages

I have seen some other questions and answers on this but unable to resolve at the moment. I have some categories setup as follows: Blog -- Sub Cat The Permalinks are currently setup with custom ...
0
votes
2answers
531 views

Remove subfolders from URL

I am having a tough time removing the subfolders from the URL in my WordPress site. Currently, the URL format is: www.mysite.com/subfolder/index.php/category/postname I would like to remove both the ...
1
vote
1answer
922 views

How can a guest view the “Pending Review” Post?

When a user creates a new post it will have "pending" status. So I want the visitor (guest - not logged user) to be able to view "Pending" posts and vote it to "Publish" if enough "X Votes". Google ...
2
votes
2answers
167 views

How to create a permalink structure for posts in a specific category

I am building a single author blog that will include multiple categories. One main category is "Movie Reviews." The author will leave a short review every time they watch a movie - even if they've ...
1
vote
1answer
21 views

Remove base slug in CPT & CT, use CT in permalink

I've come quite far, but can't manage to get this to work. I'd like to remove the base slug from my Custom Post Type review and my Custom Taxonomy brand. The final result should be a URL like this: ...
1
vote
2answers
422 views

WooCommerce change category url and product base

I want to display the url's like this: for Category: /webshop/categories/hoodies/ for products: /webshop/categories/hoodies/test-product how is this possible without giving me 404 not found ...
1
vote
1answer
57 views

Add more structure tag to permalink?

I'm new in wordpress .I wondering is there anyway to get the category id in permalink ? My current permalink is : http:///example.com/%category%/%post_id%-%postname%.html ...
0
votes
0answers
22 views

Changing permalink structure on multisite

I want to change the permalink structure on a couple of the sites I host on my wordpress multisite install from Day and Name and Post name. In order to ensure that previous links are redirected I ...
1
vote
0answers
23 views

How to show custom taxonomy in the permalink?

I used the Portfolio Post Type Plugin to create custom tax and post type. I would like to show the custom taxonomy on the portfolio projects. portfolio/customtaxonomy/project while now is ...
0
votes
1answer
689 views

Passing variable as permalink URL

I've been trying to adapt the rewrite functions described here with little success: Passing variables through permalink structure WordPress permalinks and custom $_GET Variables The structure of ...
0
votes
0answers
463 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 ...
3
votes
6answers
6k views

URL Rewrite + Page + Custom Post Type = Unusual Redirect

Yet another URL rewrite issue :) The Problem I have a URL rewrite rule that should work, but against all logic it redirects without passing the query var. The Juicy Details The site has a page ...
0
votes
0answers
23 views

Correct permalinks and 404-error

I have a paid plugin that creates a custom type categories and posts in this categories. I want to get URLs like site_name/category_name/post_name. This plugin forms links like this: List item ...
0
votes
1answer
13 views

I have to specifiy port otherwise the website doesnt work

For some reason I have to specify fort :80 in the name of the website. Otherwise, nothing works. However, this port is then included in the permalinks and in the sitemap etc. Is there a way to get rid ...
0
votes
0answers
11 views

Unexpected template for different cat name & slug

I just shifted the website from staging to live There is category name = blog slug = blog And a page name=blog slug=blog(given by mistake) using template Blog which show posts from 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 ...
1
vote
0answers
23 views

Trying to use AngularJS with WordPress without any API

I understand one can do this using the JSON RESTful API from WP but I don't want to go that route since it only works with sites on Wordpress.com and not on localhost (at least that's what I was told ...
0
votes
1answer
2k views

Redirect & permalink problems after moving multisite to a new server

I just moved my subdomain multisite to a new server and I'm having some trouble with permalinks & redirects. One difference post-move is that I have moved core WP files into it's own directory ...
0
votes
1answer
28 views

Auto-generated pretty permalink not using title since 4.4 update

I have pretty permalinks enabled. Now when I save a draft and/or publish a post, half the time it just uses the post ID as the permalink instead of the title. This started happening after the 4.4 ...
0
votes
0answers
17 views

Add a URL prefix to permalinks of one category of posts only

I have the permalink structure http://domain.com/%postname%/, which is what I want to keep for most of my posts, however there is one category of posts that I would like to move from ...
1
vote
3answers
2k views

How to remove permalink from images when inserting into post?

In previous versions of WP, we were able to remove permalink from images while we were inserting images into post. But now there is no obvious option to do so. How can it be achieved?
0
votes
1answer
423 views

Point domain to different webhost's subdirectory wordpress

Now there may seem to be duplicates for this question but nothing concise so I'm going to try: I have a wordpress install setup at mydomain.com/subdir - hosted on fatcow. I went ahead and bought a ...
0
votes
1answer
698 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
3answers
477 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' ...
1
vote
0answers
12 views

What would cause a theme to add extra characters to blog post links?

I've been working for the past couple days to figure out why a theme is adding " title=" to the end of a given blog post's URL, resulting in a 404 error. I've authored test posts, same result. ...
0
votes
1answer
1k views

Removing Parent Page(s) from Permalink

Similar questions have been asked before, but no answer suits well. I have: site.com/parent-page/child-page and would like to have: site.com/child-page So I want to exclusively have permalinks with ...
-1
votes
1answer
424 views

404 Error On Custom Taxonomy Pages 2, 3, etc

I've been reading a bunch of posts about this with no luck so far. I can't seem to figure out what is the problem. I have the following: Custom Post Type: Sermons Custom Taxonomy: Series My urls ...
0
votes
0answers
15 views

Can't configuration Permalinks

I installed wordpress on Virtual Box, through environment vagrant. I search for resolution for this problem in here but all the article I found I can't resolve my situation. When I change the option ...
0
votes
1answer
11 views

How to change dynamic link to relevant post

I currently have a theme that was created by another developer and I just need to change a few small things to get it finished. I'm a little stuck on this one point: A section of the home page pulls ...
0
votes
1answer
402 views

permalink and add_rewrite_rule - error 404

I'd like to have comments in a separate page with a dedicated template only for posts in a specific category (slug shops). Example: mysite.com/post-incatshops --> mysite.com/post-incatshops/comment ...
0
votes
0answers
17 views

Change wordpress url permalink structure to show authors posts

Is there a function that change the whole wordpress permalinks structure?, I need the following pattern: domain.com/author/custom-post-type/post I've tried a few but nothing seems to work.
1
vote
1answer
3k views

disable permalink on custom post type

I have created a custom post type, but I do not want it to have a permalink. By default, after entering post title, it creates a perma link. I do not them to be generated. From my reading, it is said ...