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
1answer
302 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
15 views

How to change page location in Wordpress

I want to change my page location (link address). My blog page location is: http://localhost/wordpress/?page_id=1336. I want to change blog page location http://localhost/wordpress/?page_id=1336 ...
0
votes
0answers
13 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
1answer
101 views

Problem with Custom Post Types, Taxonomy, permalink, Archive

I set up 2 custom post types: beats and tracks. And I set up the taxonomy 'tags' and 'style' for both custom post types. the permalinks for the custom post types are set in functions.php: ...
1
vote
1answer
11 views

IIS 7 Rewrite with parent categories

I have seen quite a few questions on here asking around the same thing but either have been unanswered or slightly different! I have tested the following on a linux machine and all works fine, when I ...
0
votes
2answers
37 views

Why is there a # and other characters in URL for WordPress site?

I have a WordPress site and have re-written the URL for SEO friendly URLs. But I keep getting this at the end of all pages /#.UmNDU_mnqy4. e.g.: www.example.com/contact-us/#.UmNDU_mnqy4 Can this URL ...
0
votes
0answers
45 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
33 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
25 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
18 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
1answer
22 views

Get post title with link

I am using this code to send an email from my wordpress site. It send permalinks of the posts. How can i edit this to have linked titles instead of just permalinks; if(count($ids) > 0){ ...
0
votes
1answer
34 views

Can't make permalink of CPT work

i'm learning how to use wordpress, but i've encountered a big problem. I'm trying to create a custom post type, i've used this code: add_action('init', 'init_realizzazioni'); function ...
2
votes
1answer
80 views

Add specific word to default page permalink

Right now I am working on one of my client's project. Its all about amazon product display. My client wants me to change the permalinks of all posts, pages, serch results, archive pages, ...
0
votes
1answer
353 views

Relative or Absolute Paths for Flash Video Player Files

I have a Flash SWF file working correctly in the root of my website. It is fully embedded, with everything including the player hosted directly on the website (not a YouTube embed). This flash file ...
0
votes
2answers
208 views

404 Error On Custom Taxonomy Pages 2, 3, etc

I've been reading a bunch of posts about this with no luck so far. I can't seem to figure out what is the problem. I have the following: Custom Post Type: Sermons Custom Taxonomy: Series My urls ...
1
vote
1answer
35 views

Custom post types and permalink

I’m looking for a way to solve my problem with permalinks in wordpress. I have 3 post types: news (default), posttype1, posttype2 all 3 uses the standard category. I added 3 categories in it: cat1, ...
0
votes
1answer
22 views

How to get raw unwritten querystring

Without permalink enabled, the urls look like ?p=1 and when permalink is activated it's the postname that appears... question .. isn't this a rewritten version of ?p=1 .. When I use $_GET['p'], ...
0
votes
1answer
446 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 ...
2
votes
2answers
537 views

Get Permalink of Network Blog Post

I am trying to write a function that will allow me to specify a post ID and a blog ID, and then have it return the permalink and title of the blog post. I need this to be efficient because the ...
0
votes
1answer
341 views

Custom Post Type permalink shows wrong page: homepage/index.php

Hello I am working on a project where I need to have custom post types. Creating the post types and making them show up in my admin menu was a walk in the park using the following: add_action( ...
-4
votes
1answer
23 views

Can I have a specific template for products even if they are standard posts and not CPT?

I'm attempting to manipulate a plugin for a client (the plugin author is unresponsive), and I'm wondering if/how to go about doing this. It's an ecommerce plugin, however does not create a custom ...
1
vote
1answer
18 views

How to get correct URLs in network wide menu (Multisite)?

I'm using this function to switch to my main website's navigation and display it on all sub sites in my multisite network. Ideally the links should have the following format: ...
2
votes
2answers
353 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
25 views

Custom permalink structure gives 404

For a Custom Post Type called 'matches' I created a custom permalink structure. The structure shows up just the way I want it, however, I get a 404 everytime I visit the post. I have tried removing ...
1
vote
0answers
21 views

How to rewrite the post URL according to the category?

I have 1000 posts in my website, half of them are in difference categories and another half is in category called "blog". Current permalink structure is: http://xxxxx.com/articles/%postname% - this is ...
0
votes
1answer
18 views

What is with the one month time limit for sub directory installs for multisite network?

http://codex.wordpress.org/Before_You_Create_A_Network If you scroll down to the bottom you see: You cannot choose Sub-directory Install (for a path-based network) if your existing WordPress ...
1
vote
1answer
20 views

Let me choose permalinks

I need to pick a permalink called 'mysite.com/1418', but wordpress keeps adding '-2' to the permalink. Normally this means i already have a page called the same that is in the trash or something. But ...
0
votes
1answer
786 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 ...
-3
votes
0answers
20 views

Help me out with the crazy canonical urls?

Somebody please help me with this. I have been assigned a job by boss to clean the URLS. Say, we have http://asdasdasd.com/self-service/?bv=consumer . We want it to be just ...
1
vote
0answers
25 views

“Post name” permalink returns home page for custom posts

I'm new here. I badly need help on this permalink issue. In my site I've one custom post type 'portfolio' but when I set the permalink structure to 'Post name' it returns loads index.php page not its ...
1
vote
1answer
15 views

Permalink change made author archive vanished

I changed my WordPress blog URL from: http://example.com/%year%/%monthnum%/%day%/%postname%/ into first, http://example.com/%postname%/ and then after many days, ...
0
votes
1answer
21 views

Changing permalink name redirects to another template?

I'm creating a template with a few templates with names page-contact.php, page-portfolio.php and page-blog.php. The problem is that when I select a Defaul Template for a page (I expect it to open ...
1
vote
0answers
16 views

All URLs are having '/blog/' appended to them.

I just made a WP theme, and I'm using a custom page template for the blog and for the home. The problem is that all the URLs now have /blog/ appended to them (which, I believe is the name of the ...
3
votes
3answers
551 views

Hierachical Custom post types permalinks not working

Been looking for someone with this same problem for hours now so I decided to post my own thread. I have a hierachical custom post type called contact-information. Using this I have parentpages ...
0
votes
2answers
291 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: ...
1
vote
1answer
14 views

How to show permalink auto when type text in post tiltle?

My website when type text in post title, it's not auto show the permalink. It only show when me publish this post.How to do it ? Thanks everyone
2
votes
1answer
230 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. ...
0
votes
0answers
23 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
1answer
259 views

Permalinks for Taxonomy and Custom Post Type

Have the following situation here: Custom post type: 'recipes' Taxonomy for custom post type 'recipes': 'receitas' One of the taxonomies slug: 'receitas-whoopie-pie' The permalink structure MUST be: ...
1
vote
1answer
26 views

Rewrite Page with a slug before page name

I am using $wp_rewrite->non_wp_rules I have the following code that works: 'name/(.*)' => 'index.php?post_type=post'; Im able to use a url like http://mysite.com/custom_name/post_name using ...
1
vote
0answers
26 views

Accessing Subdirectories in WordPress Install

I have scripts that are in a subdirectory of my WordPress install folder. They are on the same level as the /wp-content/ and /wp-admin/ folders. I'm running them as form processing but I've got the ...
2
votes
1answer
249 views

Menu Link Redirect Based on Username or User ID

I am building a client portal where my clients can log in and see all their pending projects, completed projects and create new projects. Though I'm stuck at the start. The dropdown menu is called ...
0
votes
1answer
18 views

Setting a permalink for the home page?

I have a static default wordpress home page. As you know if you have a homepage on wordpress you can not set a permalink through the admin options, you can only set permalinks for non homepages. Does ...
0
votes
0answers
21 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 ...
1
vote
0answers
44 views

Relative v.s. absolute URLs: which ones should I use for cross-domain portability?

My question is related to but different from this one I need to make sure that my URLs work across domains like staging.domain.com, localhost:8000 and www.domain.com. I have local, staging and ...
2
votes
1answer
37 views

How is WordPress manipulating the posts like there are folders?

As you know, a WordPress post can usually be seen going to a link similar to this: myblog.com/2014/03/27/sample-post/ There is no folder named 2014, 03, 27 or sample-post in the blog. Until now, I ...
0
votes
0answers
24 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
1answer
27 views

Media/attachment urls don't redirect with fake URL structure

I'm having an issue with media/attachment files and I'm not quite sure how WordPress is returning the URL that it does. I've noticed that I can add anything as a subdirectory structure before a media ...
6
votes
3answers
3k views

Add extra parameters after permalink?

How can I add extra parameters after a permalink, specifically if I'm using a custom post type? For example, let's say http://mysite/album/record-name was the permalink. How can I make ...
1
vote
1answer
34 views

Permalink for custom post type

I have created a custom post type called job. Posts are generated with wp_insert_post(), and that works perfectly fine. My problem is that the permalinks to those posts are either wrong or I have done ...