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

How Do I Include The Tag ID And Tag Name In My WordPress Tag Permalink Structure?

I have been searching forever and have come close to finding the answer, but not quite all the way. I have found this plugin: https://wordpress.org/plugins/permalink-editor/ and it allows me to create ...
0
votes
0answers
151 views

Archive pagination causing 404 with permalinks structure

Somehow my archive.php is causing some problems because I'm using /%category%/%postname%/ as my permalink structure. The next_posts_link() redirects to /category/page/2: which causes an 404 error. ...
0
votes
1answer
55 views

Where is wordpress redirecting wp-admin/admin/dashboard to wp-admin and how to turn it off

I mean when we have subdirectory install and /wp-admin/ is not referencing to directory wp-admin, but wordpress stills redirects and not just for wp-admin slug but also for admin and dashboard and ...
0
votes
1answer
24 views

how to goto specific page number including title with permalink

Several pages are subs of main page account. Example: account\service. How to goto specific page number including page title with permalink? I have tried this: $GLOBALS['create_page_service'] = ...
0
votes
0answers
63 views

Search form using POST and permalink

For security reasons I use post type for my form into my search page. The main problem is I loose all permalink (before I had xxx.xxx/?s=Keyword). But now it logically just redirect my search page in ...
1
vote
1answer
165 views

Trouble with numeric permalinks after 4.3.1

Since updating to 4.3.1 we are having an issue with permalinks. Our usual practice has been to have a unique article number serve as the postname, and that would be used in the permalink - for ...
0
votes
1answer
221 views

How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?

I would like some clarification on how to achieve the following structure: Posts & Categories domain.com/blog/ - Blog index domain.com/blog/%category%/ - Blog category archive ...
0
votes
1answer
52 views

Unabled to Change Permalinks - Even Using the “Edit” (Resets to Original Permalink on “Update”)

I have tried everything in every post I have been able to find about changing permalinks for existing posts and pages. I have gone to settings and change the permalink structure in hopes that it would ...
1
vote
0answers
186 views

change default post archive page link

I can't figure how to change the default post archive link. I've got few custom post types (for instance video_news, slug video), if I type www.blogname.com/video I get the archive.php. And every ...
0
votes
0answers
17 views

geting a string containing all the url's of the main menu

I write a simple plugin. Inside it I need to get a string containing all the url's of the main menu(and submenu) items. On the run time, the code doesn't know any details on the main menu of the site. ...
0
votes
0answers
57 views

wrong home url when using subdirectory

On my server, i installed a wordpress. I installed it in subfolder /wordpress. so i have this structure : / index.php index.html <= "message Under Construction" .htaccess /wordpress ...
0
votes
1answer
118 views

Custom Post Type pages are “not found”

I've created two new Custom Post types using code that I've used successfully on other projects without issue. The first is called top_charts, the other case_studies, and both appear correctly in the ...
1
vote
0answers
12 views

Removing taxonomy slug from URL but keeping post type [duplicate]

As the title says, I want to remove the taxonomy slug from URL. Instead, I want to keep the post type slug. For example: I have a post type called "Books" (rewrite_slug = books) and a taxonomy called ...
0
votes
0answers
51 views

Change permalink structure and keep old one

I have a site with permalink structure "/category/post_id.html" and I would like to change it to a structure "/category/year/month/date/post_id". I know the best practice for permalink is to include ...
0
votes
1answer
47 views

Getting the permalink to the latest post from a category

What's the best way to get the permalink to the latest post of a chosen category? I have a page that I want to have several links to the latest post from different specified categories. Simple ...
0
votes
1answer
83 views

permalink to single page

I have a certain post displayed and each post i click go to single page which shows more details of the post. But i have different templates for the post details which will be shown in single page. ...
0
votes
0answers
43 views

How to make variables in custom page URL look like the permalink structure?

I am using wordpress and in that i am using permalinks post name but in project manager plugin on click of one of one project i get this url which i want to make user friendly as the name of the ...
0
votes
0answers
13 views

Limiting Comments Displayed to posts posted by particular author

I am on Page review. I have introduced custom permalink variable - author_id. Lets say i get the permalink variable in $perm_author_id. I want to compare $perm_author_id and comment_author( ...
-1
votes
2answers
238 views

How to hook into permalink when publishing-saving post?

I want to know how I can change the structure of the permalink to my desired one before saving or publishing my post in Wordpress? For instance, when I add the title like the wordpress blog in my post ...
0
votes
1answer
37 views

“post-name” Renders Using page.php, but “post-name-2” renders with single.php

Page One is rendering using my page.php template. Page Two, set up exactly the same as the previous one, is rendering using my single.php template. I want Page One to render using the single.php ...
0
votes
2answers
194 views

How to solve this custom post type goes to 404 page?

I have a custom post type called dramas /******* DRAMAS BEGIN *****************************************/ register_post_type('dramas', array( 'label' => 'Dramas', 'show_ui' => true, ...
1
vote
1answer
38 views

Do changes to Wordpress permalink custom structure affect old urls?

Will changing WP permalink custom structure affect old posts URL? For example. I have a large group of posts that follow this custom structure: /blog/%category%/%postname%/ I want to change it to ...
0
votes
0answers
36 views

Rewriting URI of custom post type

This is a follow-up question to this thread: How to rewrite URI of custom post type? I'm using WooCommerce on one of my customers' sites and we use the following permalink structure: ...
0
votes
0answers
38 views

Redirection of custom post type

I have the following custom post types on my old site which have that structure: http://example.com/cpt-name_a/post-name http://example.com/cpt-name_b/post-name i've created only one custom post ...
0
votes
0answers
29 views

Removing Permalink Title from page

I have a question regarding permalink titles. I inherited a website which already has pages published. However when I tried to create a new page (adding a new page), the permalink title appears on ...
0
votes
2answers
126 views

Move Wordpress to subdirectory, keep ALL URLs

I currently have a website at site.com and have WordPress installed in me website's root folder. My website includes pages like: site.com site.com/page site.com/2015/10/01/post.... site.com/login ...
0
votes
1answer
28 views

Permalink for Author's Posts in a Category

I want to display posts from a particular author has posted in a category. For example: mywordpresssite.com/john/improvement or mywordpresssite.com/improvement/john In the above "John" is the ...
0
votes
0answers
41 views

How to create custom Permalink tag?

As you know there are permalink tags like %category%, %postname%, etc. I want to create my own %custom_tag% that I can use in permalinks. Can anybody point me in the right direction? Thanks in ...
0
votes
0answers
17 views

Category-dependent custom permalink

My website uses a custom permalink structure of the type: /blog/%year%/%monthnum%/%day%/%postname%/ Now, I created a new post category, which needs to have the permalink: /guide/%postname%/ In ...
0
votes
0answers
74 views

Wordpress keeps giving me the wrong permalink

Permalink: http://www.ccdalink.com/team_member/rf-johnson/ is the name of the permalink But after I exit and save changes. Another team_member's page and picture show up in place, and I only ...
0
votes
1answer
121 views

Rewrite url without flushing the database?

Is it possible to create a rewrite in WP dynamically such that no flushing is required? For example, not storing the rewrite in the database but rather defined in my plugin code?
2
votes
3answers
1k 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 ...
0
votes
1answer
46 views

Custom Post Type with Configurable Sidebar via ACF

I am using a custom post type (CPT) trainings on one of my client's sites. I've also added a CPT called sidebars, which can get linked into trainings or pages via the "relation" field type. To get an ...
0
votes
0answers
29 views

Custom Post Type Url with Custom Fields

I have basically the same issue as in this question: Using Custom Fields in Custom Post Type URL But can't seem to make this working for me. What I have: A custom post type called 'hebergements' ...
1
vote
1answer
200 views

Custom taxonomy & post slug permalink

I have a custom taxonomy and a custom post type. I'm aiming for the following permalink structure: {custom taxonomy}/{custom taxonomy term}/{custom post slug} Or, at the very least, {custom ...
0
votes
0answers
44 views

Why is this “blog” keyword automatically added in permalink settings?

Check the image attached here. I want to remove this "default" blog category which is my site's default permalink settings. From the google search that I did, I couldn't find much.
0
votes
1answer
151 views

changing permalink gives 404 error for old links

I have changed the permalink from Post name to Custom Structure. Earlier my blog links were like www.website.com/blog-post-link i want to change that to www.website.com/my-articles/blog-post-link so ...
2
votes
1answer
92 views

Disable Single Post View for Specific Taxonomy on Custom Post Type

we have a somewhat unique problem with a specific Custom Post Type that was developed for a client. It basically boils down to a need to disable the single post view for any posts that have been ...
1
vote
0answers
202 views

Permalinks stopped working after migration with WP all-in-one migration plugin

I've used a plugin called WP all-on-one migration to migrate my website. I've also saved the permalinks twice, as instructed after the importation. The default permalink setting works fine, but any ...
0
votes
0answers
14 views

how to add custom post types archives for authors?

I am using custom posts types ui and wordpress latest version. When i click in custom post types posts author link, it's permalink set to all posts of author. see screenshot. Can i set it to custom ...
0
votes
1answer
105 views

Pretty permalinks (again)

I'm trying to enable pretty permalinks in my WordPress site. But every time I try to change to any permalink option besides default the links to the posts go to 404. If I change it back, it works ok. ...
0
votes
1answer
54 views

How to remove the link of an image on WP 4.2

I'm using Wordpress 4.2 and I'd like to remove the links from some images. I've seen that I could use this : The problem is I don't see that on my interface : Where can I find the same ...
0
votes
2answers
176 views

Editing Pages Give 404 Error After WordPress Upgrade in Admin Panel

I'm getting a "Not found, error 404" message when editing a page. This started happening after upgrading to the latest version of WordPress The pages are there and they display fine on the site but ...
0
votes
0answers
36 views

Give 404 error on links and on forums links

I am working on the site where except home page every other page gives error on links (Not for default).I installed the bbpress and its generates links like this ...
1
vote
2answers
126 views

How to handle broken links created by permalink/slug changes?

If I create a page with the slug "exams" and then need to change the page's slug from "exams" to "tests", any other pages in WordPress that link to the original permalink now have broken links as ...
0
votes
1answer
112 views

the_permalink() leads back to homepage

I am trying to create my first wordpress theme. But I have run into som problems. When I click the link (the_permalink()) it leads back to the homepage. I get the right URL but the URL is showing the ...
0
votes
0answers
39 views

Custom taxonomy term in post type url 404 problems

I'm trying to create a custom url structure in wordpress. I have a custom post type called "vakanties" and a custom taxonomy for that post type called "vakantie_categorieen". I want the following ...
0
votes
0answers
174 views

Add custom parameter to permalinks

I have a WordPress page that I would like to use SEO friendly query parameters with. Let's say this wordpress page is accessible by going to http://www.example.com/test and its short URL is ...
0
votes
1answer
91 views

single.php being ignored, going straight to attachment.php

All of a sudden, for no reason I can tell, my single.php template is being ignored and falling back to using attachment.php If I switch permalinks to use the ?p=123 style, then it works perfectly. As ...
0
votes
0answers
28 views

Category Archive Permalinks

So my blog has been running well since last time i asked a question here. But now, i've got another question, i'm having problem with the category archives permalinks So my category tree looks like ...