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

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
37 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
42 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
18 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
48 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
49 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
63 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 ...
0
votes
0answers
124 views

Customized author slugs not working with get_author_posts_url method

I really appreciated the solution for the author rewrite rules here: Change Author Base Slug for different Roles The solution worked for me, however, when I now use the get_author_posts_url($id) ...
0
votes
0answers
189 views

page slug and taxonomy slug in custom post type url

I have a strange situation here. I want the taxonomy of a custom post type to be after a page slug, for example I have a taxonomy term "shareholders", i want the url to be ...
0
votes
0answers
659 views

Parent cpt/child custom post type URL permalink relationship

I am attempting to set up a relationship in Wordpress between two custom post types I’ve created and display that relationship within each post type’s permalink URL structure. I have created two ...
0
votes
0answers
83 views

Deep Nested Custom Rewrite and Custom Taxonomy

I'm trying to get my custom taxonomy to nest deep categories, and then also pull up the post. Each post always needs to be three categories deep: example.com/thinger/cat_1/cat_2/cat_3/post_name_here ...
0
votes
0answers
12 views

How would one go about adding a category name to the url of multisite subsite?

How would one go about adding a "category" name to the url of multisite subsite? eg. http://mainsite.com/categoryname/subsite Simply editing site info settings doesnt help. I am trying to make a ...
0
votes
0answers
11 views

How to Change the WordPress Permalinks for some posts

i have this permalinks structure: /%category%/%postname%/%post_id%/ is it possible to apply /%category%/%postname%/ for some categories? Thanks
0
votes
0answers
22 views

Blogger To WordPress Permalink Redirection

Is there any way to redirect following or anything permalink like this: http://www.example.com/2014/02/post-title.html to http://www.example.com/2014/02/post-title/ Any link with a .html in the ...
0
votes
0answers
37 views

Do pingbacks work with ?p=123 permalinks?

From what I've seen wp_extract_urls in pingback() function wp-includes/comments.php does NOT include query vars (ex: ?p=123) with the returned urls. But later in the function wordpress tests if there ...
0
votes
0answers
42 views

Changing Post Permalink redirect

I am curious about something. Recently I changed my post permalink structure in wordpress. It used to be category/postname. I have changed it to postname. It seems that if I type ...
0
votes
0answers
71 views

How to maintain WordPress permalink structure with custom content with URL parameters?

Lets say I have posts, pages, plugins and navigation etc. from WordPress. Then I have a Video on Demand Archive now I want use WordPress (core, plugins, theme) to process and display this content. ...
0
votes
0answers
276 views

Get canonical link

Hi I know get_permalink returns the URL. Some of my posts are redirected and at the same time I update the canonical link to the redirected post URL - (normally relates to post updates). Is there a ...
0
votes
0answers
39 views

Select page/template from the permalink url

I use permalinks like example.com/projects/project1 for my project pages. They use all the same template. I want to access another template with more details on the project by adding /details to the ...
0
votes
0answers
47 views

Permalink broken for pages after adding rewrite rule

After adding these rewrite rules: add_rewrite_rule( '([^/]+)/page/([0-9]{1,})?$', 'index.php?author_name=$matches[1]&paged=$matches[2]', 'top' ); add_rewrite_rule( '([^/]+)?$', ...
0
votes
0answers
14 views

Rewrite rules for changing a custom page permalink with author details

I have the following page with permalink: http://mysite.com/custom_page/custom_var/author_name and I want it like this: http://mysite.com/author_name/custom_page The custom page conatins some ...
0
votes
0answers
93 views

Learning rewrite rules and custom permalinks. Paging not working

I am just starting to learn rewrite rules and custom wordpress permalinks. I have made a custom endpoint called autor with the following code: function my_query_vars($vars) { $vars[] = "autor"; ...
0
votes
0answers
259 views

Rewriting custom post type permalinks gives 404

I am using this code in my functions file to be able to include a post ID in my permalinks for a custom post type. But I am getting a 404 error when I attempt to preview view any of the posts of that ...
0
votes
0answers
38 views

Normal page, can select named page template, but page.php used instead

In other words, for some pages, I set the named template and update, and the change carries through to the front-end. For other pages, wp-admin shows the changed template name, but that template is ...
0
votes
0answers
42 views

Base URL missing from post permalinks

My social media sharing buttons on my site don't work. Finally saw something I've never ever seen in WordPress before and am sure this is the culprit. The base (main) URL is missing from the ...
0
votes
0answers
88 views

Wordpress Pretty Permalinks redirecting to home page on iis7

I have my WP site on iis7[Windows server 2008 R2];have explored a lot to find the right solution but nothing worked :( ...
0
votes
0answers
64 views

Changing the permalink structure with 'with_front' not redirecting old URL

I'm attempting to change the permalink structure of the default post type with the following code: $args = array( 'rewrite' => array( 'with_front' => true, ...
0
votes
0answers
57 views

Taxonomy to WordPress Permalinks of custom post type

I am searching days now for the answer how to add taxonomy to my custom post type permalink. I've found this article which almost exactly gives the answer but it doesn't work for my custom post type. ...
0
votes
0answers
81 views

WP No Base Permalink only works with logged user (admin)

(My apologies for my poor English, I'm french) I just want to have a shorty URL for all page of my WP Site: www.example.com/wordpress-answers-is-a-good-site for my posts insteads of ...
0
votes
0answers
51 views

Issue when showing metabox value on post type permalink?

I want to show the custom post type value on permalinks like yourdomain/metabox_value/post_title. By the below code I achieve the goal but after appling this code only this post type permalinks is ...
0
votes
0answers
54 views

Add custom prefix to search URL

I am using Wordpress to manage a site with both a static page structure and a blog under /blog. I've updated my permalinks to use the custom structure /blog/%postname%/ and all seems to be working ...
0
votes
0answers
70 views

Change link to permalink inside post content

Probably this has been answered before several times.But couldn't find so sorry if it sounds duplicate. I have a post content and in that content I have couple of internal links Now inserting those ...
0
votes
0answers
9 views

Permanent names of attached files required

Simple: How to delete uploaded file ? Secondary: How to replace uploaded file and to keep its filename (inclusive the path) and all links (inclusive on the whole internet!!!) the same?
0
votes
0answers
97 views

Permalinks not working for subsite

I have a Wordpress multisite install on Nginx. Currently I have site1.com as main site. And I added a new site called site2.com as subdirectory. However, I noticed you can actually click on Network ...
0
votes
0answers
147 views

how do i add posts-page slug before posts slug in permalinks

I have a posts page and the page slug is /blog my current permalink structure is /%postname%/ when i click on a blog post. say for example the posts slug is adrenaline-rush the url is ...
0
votes
0answers
131 views

How to make nested custom post type slugs work

I'll try to explain how I want this to work, rather than what I've done so far, as nothing seems to work. I want 3 custom post types: Products Consumables Accessories with the following slugs: ...
0
votes
0answers
103 views

URL Rewrite breaks pagination on some permalink structures

i created some rewrite rules for my profile page with multiple tabs. Member and tab names are passed via url to the page template. Everything works fine except for the pagination. When a permalink ...
0
votes
0answers
130 views

WooCommerce get query string problem with permalink

i using WooeCommerce for my site. This is my custom loop product in woocommerce.php located in my theme folder: if(isset($_GET['product_cat'])){ // list products by category } When permalink set ...
0
votes
0answers
51 views

Permalinks not working when bootstrapping from parent directory

I am trying to use WordPress from a subdirectory but access it from its parent. This is on order to try Capistrano deploys. I have the following directory structure index.php .htaccess /wordpress ...
0
votes
0answers
52 views

exec JavaScript using add_action when publish_post

How can I execute some Javascript code when an user publish a post I want to do something like this before publish a post: add_action ( 'publish_post', 'custom_links' ); function custom_links() { ...
0
votes
0answers
151 views

Change permalink based on post category

I am looking for a way to change the permalink structure based on the category a post is in. If the post is in the "blog" category I would like the permalink to be /blog/%postname%/ and if it is any ...
0
votes
0answers
23 views

Endpoints help with permalinks

I'm trying to do the following, and I believe its done with endpoints, but I'm not entirely sure. I have 2 different CPTs. Let's call them "Movies" and "Music." The music is always from movies, but I ...
0
votes
0answers
82 views

Custom Post Type Permalinks Problem

looking for some help with a permalink structure problem. I am using this code here http://pastebin.com/QfgAMkfV as a plugin with hopes of creating a structure like so /films/ /films/film-name/ ...
0
votes
0answers
76 views

?posts_type=xxx not rewritten

After some more testing and tweaks my main problem seems to be the order rewrite rules are applied, and the second is canonicalization. I'm using this in function.php makes year archives work: /** ...
0
votes
0answers
31 views

Problems with custom post type and hierarchical permalinks

I have a custom post type "films" and a hierarchical taxonomy "genre" (terror,drama, action) I would like to obtain this urls: www.domain.com/films ----------------------------------> all the ...
0
votes
0answers
97 views

WordPress Custom Permalink Structure with Custom Post Type and Taxonomies

I searched for a solution everywhere, using plugin and without but I can't reach my goal. I have a Custom Post Type called "services", an associated Custom Taxonomy called "service-categories", and ...
0
votes
0answers
155 views

Only homepage working correctly, 404 error on everything else

I've been developing wordpress based websites for some time now, and i built one for my company's own brand, it worked with no problem at all for ages, but now for some reason, i can only get the ...
0
votes
0answers
23 views

create a permalink based on a post type

I want to create a permalink based on a post type. I am using twitter bootstrap nav walker file. In this way: example.com/#home example.com/career example.com/#testinomial example.com/contact i am ...
0
votes
0answers
71 views

How to update permalink on the fly?

So, Wordpress automatically generates the slug/permalink on the fly based on the post title after you click away from editing the title. Is there an action/filter hook for me to change those on the ...
0
votes
0answers
67 views

Why not working /%postname%/ with ajax serverinterval?

I use ajax server interval for load new entries, and if I use this method the function return 404 in 30 second. If I use default link strukture,work fine. The mod_rewrite is enabled on my server... ...