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

How do I generate a alphanumeric hash for a custom post type in wordpress?

I have a wordpress website that uses a custom post type, video. I want my permalink for the video posts to generate unique alphanumeric ID like this, http://example.com/video/ha3unq04X similar to ...
0
votes
0answers
40 views

Changing attachment page Permalink

How can i change the attachment page permalinks to http://domain.com/photos/%attachment_id%/%postname%/%attachmentname% currently my permalinks set to Custom Structure ...
0
votes
0answers
34 views

Problem with tags after changing custom post type permalinks

I've follow this post to create a permalink structure for my custom post type and custom taxonomy and it works great. I'm using the Portfolio Post Type plugin to register the custom post type, and ...
0
votes
0answers
19 views

How to add the scheduled posts in existing content link in hyperlink

I am blogging with scheduled publication. Say, I have content "1" (complete and saved already) scheduled to be published tomorrow Now I have another content "2" (complete and saved already) ...
0
votes
0answers
20 views

Add custom dynamic string to permalink structure wordpress

I am adding dynamic string to permalink but the problem is all the pages which runs from page.php goes to 404 whereas the detail page of the post is working fine. Code: add_filter('post_link', ...
0
votes
0answers
34 views

Permalinks not working for post IDs as slug

I inherited a site that has a lot of posts without a title, thus the permalink defaults to the post ID, with pretty permalinks turned on. IE - http://mysite.com/1200 When the permalinks are reset to ...
0
votes
0answers
48 views

Exclude javascript in certain page url and all following url's after forward slash

I'm trying to exclude javascript from a couple of pages. But I want to target all the pages after the forward slash. So I want to to target: www.website.com/page-name/.. So the page-name itself, ...
0
votes
0answers
44 views

How to programatically create a simple HTML page using the permalink of a Wordpress post?

I want a create a simple HTML page (not Wordpress Page) programmatically by using the permalink structure of another already existing post. E.g. Already existing post is ...
0
votes
0answers
26 views

Any way for get_next_post() to use the actual post order instead of publish order?

I'm currently using get_next_post() and get_previous_post() to get their ID so that I can permalink my next/previous buttons for a custom post type. I'm also using a wordpress plugin called "Anything ...
0
votes
0answers
25 views

URL-parameters and RewriteRule gives 404

In Wordpress I have a template (lets call it template.php) that has content on the following page: example.com/template This page should be able to handle URL-parameters like. I got this to work. ...
0
votes
0answers
39 views

When WP_Query only returns 1 post, how do I automatically redirect to that post?

I've been searching around for a few hours now and can't figure out how to do this. Seems really simple. I've seen lots of redundant examples on how to redirect to a single post when a search result ...
0
votes
0answers
33 views

Custom Query String Permalink

I tried to add this at my functions.php add_rewrite_rule('^(biography)/([^/]*)/?', 'index.php?pagename=$matches[0]&actor=$matches[1]','top'); add_filter('query_vars', 'foo_my_query_vars'); ...
0
votes
0answers
26 views

How to add .html to the end of the permalink

How do I add .html to the end of the permalink? I tried changing the permalink structure to /%postname%.html but this did not work.
0
votes
0answers
65 views

On IIS 8.0 wp-admin returns 404, wordpress/wp-admin does not

Settings: we have a WordPress website running on IIS 8.0 in a shared hosting environment. Permalinks are set on Post name. Web.config has been edited on purpose (please find that below). Site root ...
0
votes
0answers
31 views

Is it possible to change %post_id% in permalink by a constant?

I had an assignment of moving Joomla 1.0 content, categories and other stuff to the latest WordPress. Everything went fine, a few PHP scripts, a bit of fiddling with MySQL. But then, unexpected ...
0
votes
0answers
54 views

Permalinks URL not working without index.php

we've just transferred a WordPress site to its domain. The Permalinks settings all have an index.php at the end. This results into URLs such as http://[domain].com/about not working but ...
0
votes
0answers
82 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 ...
0
votes
0answers
114 views

taxonomy term names in custom post type permalink structure

I know there has been a lot of times this question has been asked here before, but no matter what method I have tried from here, nothing seems to be working for me. I guess I am sure I am writing in ...
0
votes
0answers
17 views

Wordpress category permalinks won't work

Hi for some reason I am having a problem with my category permalinks. When clicking on the category link, it shows only one post from the category instead of showing all post from the category.
0
votes
0answers
52 views

Tag search not working after permalink structure change

I recently changed my permalink structure from the default one /?p=123 to Post name, /sample-post/. That went well except that now the tag search doesn't work. Previously, when I clicked on the tag ...
0
votes
0answers
132 views

Get post id of permalink for a specific custom post type?

I have custom post type called Personnel. I have this code to show a specific post ("details" page for personnel) (resides in children themes folder of Oxygen and is called single-personnel.php) ...
0
votes
0answers
49 views

Slash is being stripped in my post_name when using wp_insert_post

I want a permalink with slashes : e.g. http://mysite.com/keyword1/keyword2/mypage.html I have put it in the param "post_name" in wp_insert_post but the slashes are stripped, so the result is ...
0
votes
0answers
52 views

Only numbers in post-title (four-figure numbers)

im using WP for a book-project - a table as list and posts for details, take a look: http://reclam.brandenfeld.de/. The problem: I only use numbers (part of ISBN) in post-titles, and it works from 1 ...
0
votes
0answers
30 views

Combine category AND custom taxonomy in permalink structure

It seems like this question has been asked not infrequently, but I still can't make heads of it. I followed the Rewrite API Guide to look at how to merge, but I want something like this: Category = ...
0
votes
0answers
34 views

Permalink clashing with Custom Post Type rewrite rule

I have created a custom post type called 'members' which works correctly. I have set the rewrite rule to... 'rewrite' => array('slug' => 'our-members'), I have then added some items to this ...
0
votes
0answers
38 views

Editing the permalink of image in Gallery Carousel plugin

I'm looking to edit the permalink that is displayed when an image loads when using the Gallery Carousel without Jetpack plugin (which is just forked from Jetpack). Currently it looks something like: ...
0
votes
0answers
16 views

pretty permalink for filtered posts

I am working on a personal book store. I have made CPT "Book" and Author as it’s custom Taxonomy, Author. Its just like another book site with usual categories like like Suspense , Horror, Comic etc ...
0
votes
0answers
40 views

How to remove .html permalink without every post getting 404?

While there are lots of posts about adding '.html' to your permalinks, I can't find anything about removing it. I changed permalinks from how the previous volunteer set it up ...
0
votes
0answers
14 views

Change only the attachment permalinks to %post_id%

My permalinks are set to /%category%/%postname%/ but I would like attachments to live at photo/%post_id%/ I already have a rewrite function to change the attachment slug from attachment/ to photo/, ...
0
votes
0answers
61 views

Moved my site to new host now getting 404

I just moved my wordpress multisite to a new host and all the pages expect the homepage keep getting the follower error Not Found The requested URL was not found on this server. Additionally, a 404 ...
0
votes
0answers
18 views

How to Rewrite Attachment URL when use %category%

When I use permalink structure %category%/%postname%/ the result is: mydomain.com/category/postname/attachment/attachment-title what I want to get is: mydomain.com/category/postname/attachment-title ...
0
votes
0answers
27 views

Network created blogs URL

I'm building a blog network where people can register their blogs. As default if my domain is domain.com and if user creates a blog, the URL will be domain.com/mynewblog/ Now I would like that all ...
0
votes
0answers
36 views

permalink overwriting after save post

I'm developing a plugin to sell tickets for live courses. Using a shortcode [ticketform] I show a form that takes customer data and if everything is ok --> go to paypal --> thank you page. Within ...
0
votes
0answers
32 views

When editing, my post titles and permalinks revert to the title and permalink used for static homepage

Whenever I add a new post or edit an old post, the post title automatically switches to the same title that's used on my static homepage page. The permalink also changes to the same link, with a ...
0
votes
0answers
39 views

Automatically prepending '#' to slug in child page permalinks

I'd like to have any child page url like http://www.foo.com/fooparent/foochild automatically turns into http://www.foo.com/fooparent/#foochild Could this be done in the htaccess rewrite rules or can ...
0
votes
0answers
80 views

ReWrite Permalink to New Permalink Nginx

I used to have /%postname%/ permalink but something odd happened today, all links that I click suddenly redirect to home. So I changed the Permalink to /%category%/%postname%/ but this is a big ...
0
votes
0answers
44 views

Multiple permalink structure for posts

I 'd like to have more than one permalink structures for the posts. Let my post URLs would be like that: /program/details/%postname%/ /news/info/%postname%/ Could anyone please suggest if this is ...
0
votes
0answers
72 views

URL field in metabox with page links select

I am building my first metabox and I need to add special field when user can write your own link (URL) to outside page (with http://) or select existing page/post. If user selected that he want to add ...
0
votes
0answers
38 views

Possible to hide parts of the slug from get_template_directory_uri and bloginfo('template_directory')

At the moment i am running and building a wp site on a local install with mamp. Additionally i have moved the wp files from the root directory to a folder. i've included files then e.g. with ...
0
votes
0answers
42 views

Issue with permalinks for custom post type

I have a little issue here... When i'm using default permalinks, everything works great, but when I set up %postname% permalink in settings, my template with custom post type is not loaded. ...
0
votes
0answers
27 views

make a post or page permalink based category

I have two language categories on my site, English and Indonesian. How can I create permalink post or page based on category slug such: example.com/en/page example.com/id/page or ...
0
votes
0answers
58 views

Adding 2 CPT with multiple custom taxonomies to permalinks

I have two custom post types with hierarchical custom taxonomies that I'd like to add to my permalink structure. I'd like to achieve this: ...
0
votes
0answers
24 views

How to add rewrite rules adjust to permalink structure

I want to create an Archive Widget for Custom Post Type (product). I let my client to change permalink structure by himself. So, my question is: how to add rewrite rules adjust to permalink ...
0
votes
0answers
11 views

Permalink category + tag and replace

is it possible a permalink structure "category+tag"? Example: www.website.com/CATEGORY-TAG/postname/ I need also replace some tags into the permalink, for example: tag: LAMBORGHINI -> FERRARI ...
0
votes
0answers
32 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
39 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
0answers
17 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
0answers
41 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
46 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
52 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 ...