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.
1
vote
1answer
25 views
How to use all tags in post permalinks
My site with pictures is set up so that the posts do not have a title and have only tags.
I would like to know how to use all tags in permalinks settings?
1
vote
1answer
25 views
Default permalink changes
I need to use in my permalinks same titles for different post types and as far as I know the slug must be unique so the permalinks cannot be:
custom-post-type-1/hello-world
...
1
vote
1answer
178 views
Make post slug have priority over category slug
I have a wordpress site where the category base is stripped from the url.
Now, when a category has a certain slug that's similar to a post slug, the category is shown.
I would like to show the post ...
1
vote
1answer
127 views
Does WordPress consider a post name unique if that same post name is in multiple Post Types?
I have a situation that I thought WordPress handled, but I seem to have a misunderstanding about how it works.
Posts of the same name, under different custom post types, are auto incrementing.
I ...
1
vote
1answer
52 views
Change Post Permalink
I want to let my users submit links to my website something like reddit and digg. I added a meta_key 'syndication_permalink' which contains link to this post. How could I change the post permalink to ...
1
vote
1answer
59 views
permalinks issue and archives
I have an issue with a site running on WP 3.3 where when we make the permalink anything by "/%post_id%/%postname%/", the archive pages break and become 404s.
After some research, I came to understand ...
1
vote
1answer
71 views
Permalink options page corrupts web.config file
Whenever I got to http://example.com/wordpress/wp-admin/options-permalink.php my config file at http://example.com/wordpress/web.config instantly gets corrupt and I have to delete the config file. ...
1
vote
1answer
178 views
wordpress custom post types and permalinks
I have a custom post type called Content, that has a capability type of 'page' and is set to 'hierarchical' => true. I have two pages with the same name "Children", but they have different parents. ...
1
vote
1answer
194 views
Do the permalink settings apply to pages as well as posts?
I want to have all my blog posts have the structure http://mysite/blog/blogarticle1 but I want the pages to have the structure http://mysite/page1 (no "blog" in there). I see how to include "blog" in ...
0
votes
1answer
15 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 ...
0
votes
1answer
15 views
Update permalinks after domain change
I installed my blog in a free hosting webpage, the hosting gave me a free domain and I used that domain in my blog, then I did buy a .net domain, I changed the URL in Settings->General of my ...
0
votes
1answer
52 views
Post archive pages bringing me to a 404 page
When I try to use next_posts_link() and previous_posts_link() in my archive posts page I got a 404 error page.
I'm using this permalink setting /%category%/%postname% and working well for all pages ...
0
votes
1answer
28 views
default permalink works but Post name won't work
My WordPress Project is in fatcow. Here Post name parmalink, is not working. But Default is working. In many options are in google. But i need simple and cool way. Any one help me. Please
0
votes
1answer
30 views
Link categories to last post
I am using wp_list_categories() to show all my categories. But I would like that the child categories link to the last post of that category. For example:
<ul>
<li><a ...
0
votes
1answer
32 views
How to change pagination base from slash to query form?
Can this function...
function custom_pagination_base() {
global $wp_rewrite;
$wp_rewrite->pagination_base = 'p';
$wp_rewrite->flush_rules();
}
add_action( 'init', 'custom_pagination_base' );
...
0
votes
1answer
31 views
Changing permalink of custom category
I've tried reading up on past posts here but my head is just spinning.
My problem is I'd like to change my permalink structure for a custom full width posts under a custom category.
For example, ...
0
votes
1answer
21 views
WP Custom Permalink Filter
I've got a custom filter which appends the image #ID to the end of the image href, however it returns 2 x url's.
Can anybody see what i'm doing wrong?
function modify_attachment_link($markup, $id, ...
0
votes
1answer
107 views
how to remove products-page from url wp e-commerce
How do I remove "products-page" from the URL?
Currently, my URL is www.example.com/products-page/accessories. I want www.example.com/accessories.
How do I that in WP e-commerce?
0
votes
1answer
46 views
Dynamic Custom Permalinks
I have a scenario in which the intention is to make custom permalink that can be changed dynamically, for example:
If a country information is showing up then the URL should be ...
0
votes
1answer
147 views
Custom Post Type nest under a normal WordPress Page
EDIT Again, nope it's not impossible, just nasty. Solution below.
Trying very hard to get this working. Have tried numerous suggestions here on stackexchange/overflow
My goals are to simply select ...
0
votes
1answer
24 views
What is the issue with our links? It creates a loop
On behalf of the university's radio station, I am trying to solve the issue with our links.
When you go to our site http://brookesradio.com, if you click one of the nav bar or header, twice or go to ...
0
votes
1answer
57 views
redirect old pages by .htaccess
i want to redirect pages from www.sitename.com/sitename/pagename.html and www.sitemap.com/sitename/?page_id=213 to
www.sitename.com/sitename/pagename
how i can do that by using .haccess file
i ...
0
votes
1answer
20 views
Text in permalink
I've this kind of permalink for post type : /widgets/%category%/%postname%/
And the problem is that when going to /widgets url (http://mysite.com/widgets) a not found page error (404) is displayed. ...
0
votes
1answer
73 views
Removing parent slug in hierachial custom post type
I need to remove the parent slug in the permalink of a child post. The child post is of a different cpt than the parent post. So I get:
example.com/parentcpt/parent-post-name/child-post-name //which ...
0
votes
1answer
65 views
Rewrite rules for custom posts types
So I created a new post type 'quote'.
Basically I want to change all quotes URLs to domain.com/quotes/ID since as it as right now (/?quote={xxx}) could get pretty long, and since this post type is ...
0
votes
1answer
48 views
permalink structure for single-{post-type}.php in wordpress
I have tried many ways to display my custom post type as single-{post-type} and finally it works nicely once i used:
'rewrite'=> false,
before that, i used
'rewrite' => array( 'slug' => ...
0
votes
1answer
136 views
Create custom links for excerpts with php dynamically
Good Day
I am using excerpts in my wordpress theme. Now in wordpress's documentation, they say wordpress does not automatically add links for the excerpts, you have to manually add them like this:
...
0
votes
1answer
61 views
Permalinks in Multisite not working
I'm using a subdomain multisite and I receive a 404 when trying to visit posts. The main domain works, but the permalinks aren't working. When I use the default permalinks, they work, but when I use ...
0
votes
1answer
36 views
Overwrite URL on blog posts
I would like to overwrite my URL on single blog posts.
At the moment my posts are displaying as www.mydomain.co.uk/post-title, however I would like them to be as
www.mydomain.co.uk/blog/post-title ...
0
votes
1answer
55 views
Permalinks of New Pages and their Parents
I am running into a new issue where when I attempt to create a new page, the permalink is not being auto generated.
For instance
On the 'Add New Page' page, I select 'Our Club' as the parent (which ...
0
votes
1answer
32 views
Use .htaccess to redirect homepage to its permalink
How can I get WordPress to preserve my permalink that I have set for the homepage?
I would like the homepage's URL to be www.example.com/homepage-title, not www.example.com. Its permalink is already ...
0
votes
1answer
32 views
Leverage permalinks with AJAX
I'm trying to implement some AJAX to my theme, but there are a few things I cannot get my head (or Google) around.
I have a custom post type named "Faculty" and a page displaying the featured image ...
0
votes
1answer
48 views
Custom post type - permalink
Is it possible to change the permalink of a custom posttype?
I have a custom post type called "events", I have made a page called archive-event.php and this is reached by /event.php
is it possible ...
0
votes
1answer
42 views
Only default permalink is working
I'm getting trouble with another permalink setting then the default permalink setting.
I want to use the post name of a page/article but when I activate "the post name", all of my pages, except the ...
0
votes
1answer
125 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
54 views
Custom permalink to make a page respond properly
I've built a complete MVC framework that integrates perfectly well into Wordpress. This framework also provides a simple to intermediate implementation of a ReST interface (the real one with ...
0
votes
1answer
142 views
Wordpress on Ubuntu 12.10: permalinks problem
I am running a backup of my website on Ubuntu 12.10 (apache+mysql). I can see properly admin and home page, but permalinks are not working (so urls like this are failing: localhost/page/.../).
What ...
0
votes
1answer
44 views
Appending a variable to RSS link url
I have a rss feed for my demo blog here.
http://clickquickcash.com/feed/?user=john
It passes the 'user' variable 'john' into the feed posts.
I need to add the 'user' variable to the link.
Note - I ...
0
votes
1answer
61 views
Performance and styles not working fine after changing permalink structure
Fist I was using default option of permalink and everything was fine (speed is ok, my own created theme is working fine) but now I change default structure to post name structure of permalink now I am ...
0
votes
1answer
23 views
How can you preserve URLs when moving posts to a custom post type?
I am working on a site where they want to break up the content into custom post types (right now everything is broken up by post categories) but they want to be able to save their URLs to preserve ...
0
votes
1answer
63 views
Hyperlinking images on posts to permalink
i have this site with only one image in each post.. how do you turn the posted image to hyperlink to the permalink? Most images are from an external source and is just automatically embedded on each ...
0
votes
1answer
22 views
URL to an image in a post is changing when permalink is set to custom. Can I avoid this?
I have a buy-button image set in all posts on the entire site. When permalink settings are default the URL to that image file is www.mydomain.com/images/buy-button.gif. When permalink settings are ...
0
votes
1answer
86 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.
...
0
votes
1answer
145 views
Define permalinks for custom post type by taxonomy in WP 3.4
I want to create canonical permalinks for products and product types. I have the custom post types and custom taxonomy figured out, but I don't know if its possible to define permalinks with ...
0
votes
1answer
133 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 ...
0
votes
1answer
70 views
Linking from a list of custom post type items to a single - get_post_permalink not working correctly
I have created a custom post type of Case Studies, and created a list page which gives an overview of each. Some have a link straight to the case study in PDF form and some have a link to a single ...
0
votes
1answer
100 views
Using pagination with multiple loops causes it to break
I'm have two loops on my index page. One fetches the latest posts from the 'work' category and the other fetches the latest from the 'blog' category. (see below)
I am also using a plugin called ...
0
votes
1answer
63 views
Wordpress sub-posts and permalinks
I'm thinking about one problem... There is a set of regular posts. Just posts in categories.
I need to add for some of them a sort of subposts, posts which will be related to parent-post.
This ...
0
votes
1answer
246 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(
...
0
votes
1answer
70 views
Page content doesn't display when published but does when previewed as draft?
I have a page called ecommerce which is published. It's not private or password protected. When I view the page I only see the page title in the body none of the content. If I preview the published ...



