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

update all post_name after change parmalink

I change permalinks i my web site , and i have error that when any one open my old link of article , he is see not found. How can i solve this error
0
votes
1answer
24 views

Big arabic permalinks not work

I have error in permalink, I have post that title is big like :- مراجعة : Sony Xperia Z2 و إيجابياته و سلبياته و كل ما تريد معرفته عن الجهاز ! Now when open the post in my site i see permalink like ...
1
vote
0answers
62 views
+100

Wordpress homepage loads but all permalinks are 404 when using nginx & PHP-FPM

I have been trying to resolve an odd problem with my nginx config, which seems to have stopped working shortly after applying a Debian backports upgrade. The landing page of my blog ...
0
votes
1answer
20 views

Issue on Getting Custom post type Thumbnail's URL

I need to get the URL for Custom post type Thumbnail and assign it to the_post_thumbnail('', array('class' => 'group1 img-responsive', 'href' ...
0
votes
1answer
246 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: ...
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 ...
0
votes
0answers
11 views

Custom Post Type Taxonomy question [duplicate]

I am currently working on a WordPress site and I'm using a custom post type named 'project'. The URL leading to this CPT is localhost:8888/wordpress/project. The problem I have here is that that page ...
3
votes
2answers
536 views

Create permalink structure for one taxonomy archive per custom post type

So, I've been going crazy trying to figure this out. Essentially, I've created two custom post types, 'the_case_study' and 'the_video', with respective slugs 'case-studies' and 'videos'. I've also ...
1
vote
2answers
1k views

Include taxonomy slug in url?

I have the following custom post-type and custom taxonomy setup: add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'system', array( ...
2
votes
1answer
353 views

Programmatically adding posts

I'm about to create parser which would be inserting new custom posts. So, it's pretty simple global $user_ID; $new_post = array( 'post_title' => 'My New Post', 'post_content' => 'Lorem ...
1
vote
1answer
313 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 ...
0
votes
2answers
265 views

How to remove category from wordpress url?

I am new to wordpress so i am facing a problem in removing /category/ from wordpress URL http://domain/category/category-name So i would like to know how to remove /category/ from the url. I have ...
0
votes
1answer
22 views

I Need to use Month , year in my all archives and pages of my wordpress site

I need to have month/year in all my pages in my wordpress site . For example : If that the page title is " Online exams " I need to have it like " October 2014 online exams" . I have around 10-12 ...
0
votes
1answer
1k views

Use WordPresss menus with anchors

I have a CPT archive page and I want to create a navigation menu which will jump to anchors in the form <a name="post-slug" http="{the permalink goes here}>The CPT Title</a> I have been ...
0
votes
2answers
328 views

How can I redirect this contact form to a specific permalink

I'm converting a HTML site to WP for a client and they have a simple contact form in place. If the submission is sucessful it currently, in it's HTML form, sends them to thankyou.html but I want to ...
0
votes
0answers
10 views

use root url for every permanent link in permalink structure

I would like to redirect each "view post" or similar button in the backend to the root Page. I now just entered a / in the custom structure of permalinks. Could this give me any issues, with e.g. ...
1
vote
1answer
16 views

Post slugs and images cannot have same name?

If I go to Media Library and upload an image called apple-pie.jpg And then I create a post called www.domain.com/apple-pie/ The link does NOT take me to the post. Instead the link will take me to a ...
0
votes
0answers
21 views

Custom Post Type rewrite permalink

I am trying to rewrite permalinks for my custom post type. The structure I look is: /%custom_post_type%/%custom_taxonomy%/%date%/%postname% Any ideas how can I achieve that?
0
votes
0answers
17 views

Pretty permalinks for subdomain installation

Currently, the only way my posts will appear is if I have Permalink settings set to "Default". I would like to set them to "Post name". When it's set to "Post name," I get a 404 not found error. My ...
0
votes
2answers
47 views

Permalinks when using Custom Post Type with static page for archive

I have created a custom post type called "portfolio" and I use a static page to list my portfolio posts because I need to add content using the content editor. My problem is that I would like this ...
0
votes
1answer
466 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 ...
2
votes
1answer
392 views

How to get pretty URLs with add_query_arg in permalinks

With add_query_arg() it is nice to add additional parameters to an URL and it is also easy to create a rewrite rule. So far so good. But the problem is the URL replacement done by wordpress. When I ...
0
votes
0answers
16 views

URL Friendly for parameter in URL

I have created a rewrite rule for a custom parameter using this code: <?php function add_query_vars($vars) { $vars[] = "cid"; // represents the clinic id return $vars; ...
3
votes
1answer
185 views

Templates for Custom Post Types and Custom Taxonomies

I am working on a custom theme for a network of sites that are deployed under a WordPress MultiSite installation. Within these theme I create 4 custom post types that have two taxonomies added to all ...
0
votes
0answers
20 views

Rewrite rule for parameter in the URL doesn't work

I am working on an existing project that uses this plugin https://wordpress.org/plugins/edit-author-slug/ in order to edit the "base" of an user's path. Actually the urls are something like this: ...
0
votes
1answer
18 views

Check if excerpt is empty at loop-portfolio

I want to check if excerpt is not empty, then echo the excerpt link, if not the echo permalink, like this: if(the_excerpt()!='') echo the_excerpt(); else echo get_permalink() but how can I check if ...
0
votes
0answers
27 views

Subdomains to pages

Hi I have a website on wordpress which have 2 pages which I meant to convert it to subdomain. Eg: Let my website at be http://www.domain.com there are two pages http://www.domain.com/page1 and ...
0
votes
1answer
46 views

Bulk update post slugs through database

Is there a way to bulk update permalinks through the database? cause I have like 20k posts and all I want to do is add a prefix to the permalink. I could just manually update but that's too tiresome ...
0
votes
0answers
6 views

mod_rewrite issue

I am having problems all of a sudden with images not displaying. If I deactivate mod-rewite in .htaccess then images come back but I can no longer access post page permalinks having to resort back to ...
-1
votes
0answers
23 views

Woocommerce add to chart , edit password , view order etc not working permalink is ON [closed]

Hi i am using All Latest Version : thats WordPress and Woo-commerce. UPDATE : 13/10/2014 Admin page > Plugins, find "WP Total Cache" and deactivate it, deactivate ALL other plugins, Temporarily ...
0
votes
1answer
20 views

Enabling permalinks disables custom page template

I have assigned a custom template on a page in wordpress, but it's not working anymore after I enable permalinks. Instead of the custom template, the "post-type-archive-portfolio" template is used. ...
2
votes
2answers
2k views

Remove parent slug for child pages

I'm looking for a plugin/custom function that removes the parent slug of a child's page permalink. Something that automatically changes the permalink for child pages. Example: ...
0
votes
1answer
251 views

How to create a permalink for custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name

I found this link too much helpful. This is what I code so far and got it working for all scenarios except two scenarios. register_post_type( 'article', array( 'labels' => array( ...
0
votes
1answer
397 views

All pages are redirected to homepage if using Permalink Custom Structure

My website http://laptopre.net/ is running on WP 3.4.2. When I changed the Permalinks setting to Custom Structure - /%category%/%postname%/ , all the pages in my site are redirected to homepage. ...
1
vote
5answers
355 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
593 views

placing the media uploads in a subdirectory

Hi I want all my uploads to be uploaded to a subdomain on my site instead of 'wp-content/uploads' I created a subdomain cdn.mysite.com and i want all the uploads to go there instead. I want my ...
0
votes
1answer
39 views

get link of inserted media file of post within loop

inside the loop I would like to retrieve the URL of an inserted media file of each post. My attempt was: <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <a href="<?php ...
0
votes
0answers
13 views

Pretty permalinks to work for lighttpd webserver?

Does anyone know how to set up pretty permalinks for lighttpd web server? I've search on the web, but I didn't find anything reliable. Until now I only tried this which didn't work. Is this method ...
0
votes
0answers
27 views

Fix 404 error after changing permalink structure

hope you are all doing good! I have this problem. I had set "Post Name" as the URL scheme, therefore, I get www.site.com/article-title for blog entries. I've written a few test posts and I realize I ...
0
votes
0answers
34 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
16 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
9 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
28 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 ...
2
votes
1answer
519 views

Change in custom taxonomy permalink cause 404 error for another custom taxonomy

I have created hierarchy based custom permalinks with help of this link. But now it is causing 404 error on another custom taxonomy used in site. Although I want custom permalinks on this taxonomy ...
0
votes
1answer
28 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() { ...
1
vote
1answer
445 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 ...
1
vote
3answers
556 views

How to get url of a post from admin panel

I want to get post url from the back end edit post page, the edit post url is : www.ddd.com/wp-admin/post.php?post=1&action=edit the real post is: www.ddd.com/wp/?p=1 since the user can edit ...
0
votes
1answer
287 views

WP Rewrite Rules - Custom post type & taxonomy

I've been beating my head against the wall for a few days trying to figure this out. I have a custom post type and custom taxonomy and I'm trying to get my URL's to work. Here is the URL structure ...
0
votes
2answers
684 views

Facebook like button disappears after changing the static permalink to dynamic one!

<li class="fb-like fb" data-href="http://developers.facebook.com/docs/reference/plugins/like" data-layout="button_count" data-show-faces="true" data-send="false"></li> The above code ...
0
votes
1answer
14 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 ...