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

Are custom page templates being used to get this permalink structure

There's a website which has page URL's such as http://www.example.com/states/new-york/ If I go to http://www.example.com/states/ I get a 404 error. The site also has ...
0
votes
1answer
2k views

how to create several url aliases for a page

on the root page of a WordPress site we have a custom page template, that also handles some forms and dynamically changes part of the content. Something like this: <form action="" ...
0
votes
2answers
50 views

Permalink for regular posts “/blog/”

I'm trying to figure out how to accomplish the following: http://www.mydomain/blog/my-blog-post/ I'm using the /%postname%/ for my permalink structure, but this eliminates the "/blog/" from all ...
0
votes
1answer
405 views

How to display subcategory articles in the category view?

I have the wordpress category widget installed on my website that lists all categories/subcategories on my site and their hierachy: Watch Accessories (1) - Straps (1) Watch Glossary (5) Watch Guides ...
0
votes
1answer
67 views

wordpress home is gone

i'm new to wordpress AND to php and web coding in general. i've done my wordpress theme in local, and now i like it. then i moved to a host, created the user and the database in the host server, ...
0
votes
1answer
61 views

Custom role can't create permalink

My user post a new custom type "artprim_item" and it doesn't work unless I remove permalinks. The item is created, but the permalink links to "item not found". More importantly, if I open the item ...
0
votes
2answers
619 views

Custom Taxonomy in Permalink of Post

It is possible to use this as a permalink for a post: /%category%/%postname%/ But lets say I've created a taxonomy called "artist". I'd like to use this for my posts: /%artist%/%postname%/ I ...
0
votes
1answer
457 views

Custom post types permalinks not working

Am I declaring my custom post types incorrectly? My permalinks are only working intermittently on my site. I believe I have my server set up correctly; I have a few Drupal installs up along with my ...
0
votes
1answer
36 views

Change posts URL [duplicate]

Possible Duplicate: Permalink: postname EXCEPT for blog I have relented converted my website to wordpress and I have used index.php as homepage and blog.php(template for blog posts), but ...
0
votes
2answers
508 views

Page Navigation is not working with permalink structure

I am displaying a list of employees using my custom plugin. My permalink structure is %category%%postname%/ My page navigation was like http://www.example.com/emp/?page=2, and was working fine until ...
0
votes
1answer
71 views

wordpress permalinks tweeks

I am getting following permalink structure after creating any post... http://domain.com/wp/postname As per Permalink Settings.... Post name: http://domain.com/wp/sample-post/ This permalink is ...
0
votes
1answer
624 views

Rewrite rules for using the same base slug for multiple content types

I'm not sure if this is possible or not, but here is what I'm trying to achieve. I'm using WooCommerce, and I have it setup to prepend a base slug and the product category to my product permalinks. ...
0
votes
1answer
82 views

Permalinks break every day

I have critical problem! My Wordpress Blog has the permalink structure /%category%/%postname%/. The problem is that very often the permalinks break so I get a lot of 404-Errors. I can fix it ...
0
votes
2answers
830 views

get_posts displaying wrong permalink for “continue reading” link

I lifted the "continue reading" link functions from the Twenty Eleven theme and for the most part, it is working (works in RSS feeds). I created a shortcode to display the latest post on the front ...
0
votes
1answer
107 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: ...
0
votes
1answer
77 views

Navigation menu displays permalinks

I am creating a theme from scratch and the navigation menu is disturbing me because it is displaying the permalinks after the menu item name. See this picture http://imagebin.org/212406 Link name ...
0
votes
1answer
190 views

Get permalink for a post from inside Wordpress and route to a related site

I built a mobile version of a wordpress site and added some PHP code in the wordpress index.php file to detect mobile users and HTTP-redirects them to m.website.com (which is not a wordpress ...
0
votes
2answers
212 views

Permalink for Custom Post Types

I am trying to get a custom permalink style for my custom post types... my current permalink for my post is /%postname%/ but for my custom post types, I am trying to get the custom taxonomy in the ...
0
votes
1answer
134 views

How to use permalink query to go to specific tabs in posts

I'm not really sure how to phrase the questions, but hope it's not too confusing. Basically I've create a plugin which inject custom tabs into the posts content when displaying. For now, just assume ...
0
votes
1answer
180 views

Wordpress custom permalinks, pages are now 404

I've set my permalinks to a custom structure: /%menutype%/%postname%/ This works all right for my custom taxonomy (menutype) and anything that's an archive. Now however, simple pages won't work, ...
0
votes
1answer
98 views

Plugin generated taxonomies' permalinks with custom placeholders

I have a problem with permalinks for custom taxonomies generated with Types http://wordpress.org/extend/plugins/types/, a plugin for creating taxonomies, custom posts and custom fields. The problem ...
0
votes
1answer
247 views

Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)

I update my permalink structure to /post/%post_id%/%postname%, but if someone uses a URL like /post/1234 instead of the full URL of /post/1234/bingo-rulz, WordPress shows the post without giving a 301 ...
0
votes
1answer
248 views

Generate multiple tag query URLs

As we know WordPress supports multiple tag queries (',' and '+'). The only problem with this add_query_arg() doesn't handle these methods if a query param is already exists in the URL. From the ...
0
votes
1answer
483 views

Dynamically change Custom Post Type Template OR Change Permalink?

I have built a plugin that uses a custom post type and a single-.php file for a template. My issue is the custom post type template needs to take on the name of the post type and I need to change ...
0
votes
1answer
1k views

How to prevent WP overwriting my custom htaccess rewrites?

I've used some custom rewrites implemented by the Roots framework. Occasionally they get wiped: certainly if I visit Settings > Permalinks, but also at seemingly random times. My htaccess reads so: ...
0
votes
2answers
146 views

Comparing permalink to url

I'm trying to compare the permalink with a url and then output stuff depending if they match. At the moment I have the code below. On the page it's visibly showing that the permalink and the url (i.e ...
0
votes
2answers
58 views

Why do I have “category” in my permalinks?

I added two category pages to a site I am working on and I found out the permalink in the url is wrong. I set the permalink as /%category%/%postname% and I created two categories "News" and "Offers" ...
0
votes
1answer
431 views

Post custom permalink results in 404 for archive page

I have set the following custom permalink structure (for my blog): /news/%postname% When I browse to /news I was expecting for the archive.php template to be served up, unfortunately, I'm presented ...
0
votes
1answer
287 views

Is get_permalink also the canonical URL?

The question says it all. Does permalink equal canonical URL? Or is there another way to get the canonical URL?
0
votes
1answer
102 views

Stop Attachment image names from taking top level permalink

I don't know why but images uploaded to my site in posts are getting a top level permalink. So if I upload an image into a post called "Apple" then it gets an attachment page at mysite.com/apple and ...
0
votes
1answer
251 views

How to include first assigned category in the post URL?

What are the options for creating URLs like: site.com/category-name/post-name Where, "category-name" is the first category that the post was assigned to (in the event that the post is assigned to ...
0
votes
1answer
322 views

Change permalink in wp-property

I have set default property page so in the property url it shows /lima-investments/property-name. But I want to remove /lima-investments from the url. I want to change following url ...
0
votes
1answer
1k views

Custom permalink with child taxonomy terms

This may ressemble other questions, but i'm posting my own as I couldn't find a conclusive answer that worked for me. What you need to know I have a custom post type (products), with a custom ...
0
votes
1answer
83 views

How do I hide posts in a category from all listings but still allow the posts to be viewed?

Let's say I have a category named "Hidden". I'd like to prevent all posts in "Hidden" from appearing within The Loop on the main blog listing page. Also, I'd like to prevent those posts from ...
0
votes
2answers
1k views

remove permalink trailing slash

I need to use the_permalink() in order to construct a simple link from each post . the link should be like http://www.mysite.com/category/year/post-name?output=something.. I use ?output=something" ...
0
votes
1answer
169 views

Custom Permalinks for Posts only

I'm using a page as my blog archive, ie http://mysite.com/blog I'd like to list the posts under that url: http://mysite.com/blog/untitled/hello-world/ I've added Category base "blog" and now my ...
0
votes
2answers
284 views

How to remove index.php from a tag or archive page URL in the root blog?

I'm developing a Multisite where the root site is an agregator (using the mu-sitewide-tags plugin). I created a custom widget to show tags across all sites, but when I click on the tag page on the ...
0
votes
1answer
135 views

Getting the Posts' permalinks from XLMRPC

I'm new to WP and I must fetch pages/posts from a blog in another subdomain. I'm using ZF to do this. I've recently found out the getPages doesn't get me what I want (posts; duh!). I didn't see any ...
0
votes
1answer
121 views

Permalinks without subdirectories

Today I use: permalink_structure: /%postname% This gives me URL like this on my pages: #http://www.mypage.com/page1 #http://www.mypage.com/page1/page2 #http://www.mypage.com/page1/page2/page3 ...
0
votes
1answer
218 views

Rewriting permalinks with custom posts

I've created a custom post type, let's call it 'product'. The site is also bilingual, without any plugins, where I place localised pages under parent language pages, such as: English Page 1 Page 2 ...
0
votes
1answer
163 views

Search results highlight breaks my read more link

I am attempting to add highlighting to my search results in the theme that I am coding. I found the way to do it on this thread: How to highlight search terms without plugin and it worked ...
0
votes
2answers
462 views

Custom post type permalink structure

I've browsed tons of Q/A on stackexchange, google, wordpress forums... but haven't found yet a definitive answer to what looks like to be a common issue since the introduction of custom post types. ...
0
votes
1answer
51 views

custom data in url

Inside a WordPress site I load a external xml file parse it and show some links. The link looks like this: domain.com/prof/vac/item?guid=1234&title=foo This works, but now i would like the url to ...
0
votes
2answers
157 views

How do I use CPT and permalinks with a mobile theme?

We have a live site that is using one theme. Then I've got Wordpress Mobile Pack installed to enable a mobile theme which has different functionality and look. The problem I'm running into is that the ...
0
votes
2answers
424 views

How to use different domains for different blogs hosted in the same host in subdomains with .htaccess

Background i have a website running on wordpress and all its files are located in public_html of my host. Within it i created a sub domain "phantomomaga" and redirected an other domain to that sub ...
0
votes
1answer
211 views

Multisite: should /blog go to a 404 page?

I have a WP multisite installation. All the posts for the default blog are in the subdirectory /blog. All those URLs are fine, all the category and archive links work well. However, visiting the ...
0
votes
1answer
113 views

How to shorten the Permalink after WP>WP blog import?

We've imported a blog from one domain to another and the permalink thats been created for category archives is: domain.com/category/graphic-design-blog/tips-for-artist/ where ...
0
votes
1answer
331 views

Ugly permalinks stopped redirecting to pretty URLs

I have a WordPress 3.2.1 site hosted on a DreamHost shared Debian/Apache server. Since I set up the site two years ago, it's been set to the /%year%/%monthnum%/%postname%/ permalink structure. It was ...
0
votes
2answers
162 views

Change permalinks for posts but not custom post type?

I want my permalink for my standard posts to be www.mywebsite.com/photoblog/name-of-post So I've written the custom structure as: /photoblog/%postname%/ However, my custom post type 'projects' ...
0
votes
1answer
124 views

How to get Wordpress to NOT alter the permalink structure when adding a static page?

This is driving me nuts and I'm hoping someone knows of a way around it. Say I have a permalink structure of /%postname%/ and I have URLs like www.domain.com/blog/post-name/. So I go about linking ...