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
2answers
416 views

404 Error on Custom Post Type / Custom Taxonomy

I have a registered post type with 'rewrite' set as slug=>cpt_name, with_front=>true. register_post_type( 'objection_handling', array( ...
0
votes
1answer
376 views

One Custom Post Type two different Templates

I have a custom post type with some metaboxes, for this CPT have his own single-CPT.php where I show his content and metaboxes and url domain.com/CPT. But what I need to know is if posible to create a ...
0
votes
1answer
651 views

Including two taxonomies in a permalink structure

I am trying to get my head around the permalink structures on Wordpress sites, and I'm a bit stuck with what I'm trying to achieve: My current permalink structure: /%category%/%postname%/ I have a ...
1
vote
1answer
1k views

How Do I Programmatically Force Custom Permalinks with My Theme?

I'm making a custom theme. It's a highly specialized theme to make WordPress into like an application rather than a CMS system or blog. For instance, a Dental Office Scheduling System (with CMS and ...
1
vote
1answer
675 views

How to hook custom taxonomies to custom post types and make the permalinks work?

So, I have my custom post type with the slug /news. And I want my category view to be /news/category/CATEGORYID. For that I create my custom taxonomy: add_action('init', ...
2
votes
3answers
2k views

Using only %postname%

So I see everyone's arguements against using this, but that seems like a huge flaw in Wordpress because a domain name as close to the root is crucial to a site's SEO. I want my site which has rough ...
1
vote
1answer
187 views

custom post type parsed as attachment

I have few custom post type, on the single post of which i am getting 404 error page. I think i've tried almost every solutions posted on web but still it is not working for me and i've started to ...
0
votes
1answer
203 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 ...
3
votes
1answer
269 views

Remove unwanted part of permalink custom structure from CPT url?

My site currently has regular posts (in a section called "Trend Watch"), as well as a Custom Taxonomy (called "Region"). My permalink settings have this Custom Structure: ...
3
votes
2answers
2k views

Must slugs be unique?

Is it true that slugs must always be unique, regardless of the rest of the url, or if it's used by different post-types or taxonomies? For example, is it possible to have both of these urls? ...
0
votes
2answers
303 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 ...
-1
votes
1answer
33 views

I changed rightly the permalinks but I get empty pages in the final posts

I changed my permalinks to pretty ones(nameofcategory/nameofpost). The paths and the urls are perfectly formed, and I can see them when I go on the tittles, rolling over, but when I click, the final ...
0
votes
1answer
148 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
2answers
151 views

WP as a CMS menu

I've converted a client website from Joomla to WordPress. However, there is one aspect of the old site I haven't been able to replicate perfectly without modifying core WordPress. The goal is to ...
0
votes
1answer
124 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
2answers
67 views

Will permalinks work if blog is transferred to subdirectory?

How should I transfer my WordPress blog from the root of my domain to a sub-directory? If everything including root in an installment of WP 3.2.1 were moved to a sub-directory, would the default ...
0
votes
1answer
807 views

Custom post type, permalink, add query variables problem

Doing something wrong, can't figure out what..Any help is highly appreciated for sure! I have a custom post type which I want to add query vars to in permalink structure.. So far so good.... This is ...
0
votes
1answer
256 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
177 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
1answer
302 views

Configure WordPress Multisite Pages with Custom Permalinks

I've just created a new WordPress multisite install and am having an issue with custom permalinks (the standard 'Day and Name' option) to the pages for the main site. I'm using the standard config ...
0
votes
2answers
2k views

Subdomains pointing to a permalink URL

I have Wordpress (v3.2.1) set up at domain.org.nz/wordpress with a number of pages set up as domain.org.nz/wordpress/services/example. I want to set up a subdomain, example.domain.org.nz to point to ...
1
vote
2answers
2k views

Permalink to user profile

How can I retrieve the permalink to a user (author) profile dynamically outside the loop by ID? an alternative to the_author_link(), but for outside the loop. Example: get_author_link($user_id);
0
votes
1answer
119 views

enable permalinks in window hosting

I had been developing wordpress sites from last one year but never used window hosting but one of my client have window hosting. Apache module mod_rewrite in collaboration with .htaccess used to serve ...
0
votes
1answer
3k views

Permalinks and pagination are not working in WordPress with WP e-Commerce plugin

I am running WordPress 3.2.1. and WP e-Commerce 3.8.7.2. The problems I am having are: If the permalinks are set to default (example.com/?p=123) the e-Commerce plugin works ok except when I turn on ...
0
votes
1answer
301 views

How to redirect RSS feeds to Feedburner and keep pretty permalinks?

There are many tutorials out there, but all of them give you the same code snippet. I put it into my htaccess file, but the feeds are not being redirected. I don't want to use a plugin. I'm sure the ...
3
votes
1answer
522 views

301 Redirects for Changed Permalink Structure & Category Base

I'm redeveloping a site on a fresh WP install. The old site had the following permalink structure: domain.com/CATEGORY/POSTNAME/ The new site has the following permalink structure: ...
1
vote
1answer
65 views

permalink %year% of pre-written posts to be published next year, in the mysterious future (*)

I am pre-writing some posts that will be published next year. My permalink structure is /%year%/%postname%/ After setting the post title, the permalink says it will be ...
0
votes
1answer
319 views

How can I see a list of all pages my WordPress site has generated?

I would like to be able to to see some sort of list of all the individual pages my WordPress site has generated that would inevitably be visible to a user or a search engine. For example, I know tags ...
1
vote
2answers
2k views

Can't change permalink url after hitting 'ok' and 'update'

I am trying to change some of the titles of my posts and their respective permalinks. After I edit the title and permalink and click 'ok', the permalink appears to have changed temporarily. However, ...
0
votes
2answers
514 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
55 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 ...
-1
votes
2answers
140 views

URL issues with WordPress

I am having some URl issues with WordPress Basically i have different categories and for some reason whenever I have posts with exact same title...even though in "different" categories...I still have ...
0
votes
1answer
418 views

Problem with special character WordPress

I have a WordPress and everything seems perfectly fine but I have this page that has title 77% and it shows error 404 page. How can I fix this? I am kind of sure it is because of the % in the 77%. ...
4
votes
3answers
10k views

Multi-language permalink in qtranslate

I am using qtranslate plugin for my WordPress site to make it a multi-language site. Now I have got a requirement like For English the url should look like www.sitename.com/contact-en For French the ...
0
votes
1answer
419 views

how to create a sub section in posts

i need to create multiple section in my post. for eg: i have a wordpress post called football with the perma: http://mysite.com/football football contains sub section like ...
4
votes
1answer
12k views

How to rewrite URI of custom post type?

The site that I am working on uses the following "pretty" permalink structure: http://example.com/blog/my-special-post But for a custom post type my client would like to avoid having a "pretty" ...
0
votes
1answer
169 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 ...
2
votes
2answers
701 views

Custom post type hierarchical permalinks not behaving as expected for parent/child pages

When you have Pages with children, the permalink structure works something like this: example.com/parent-page/child-page/ All well and good. Trying to go to this URL: example.com/child-page/ ...
2
votes
2answers
4k views

Removing taxonomy base using WP rewrite

I´m trying to create the following URL structure: example.com/attractions <-- post type archive example.com/attractions/taxonomy_term <-- taxonomy archive ...
0
votes
2answers
510 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
49 views

Permalinks: site.com/post-tite vs site.com/post-id/post-title for SEO and Speed

What are the differences, in terms of overall "work" required by the PHP processor to retrieve a page using these two permalinks settings: /%post_id%/%postname%/ vs /%postname%/ The second ...
1
vote
1answer
285 views

Custom permalink structure

I have been digging the code for days and no solution. :( I have a Custom Post Type and two different Taxonomies. It is possible to achieve the following permalink structure (with add_rewrite_rule, ...
3
votes
3answers
3k views

Get page permalink without wpurl

I currently have an ID of a page that I want to use its permalink as the front of a permastruct of a CPT I'm setting up. Now I can use get_permalink() but that returns the full URL: ...
1
vote
0answers
61 views

Problem Keeping Permalink Structure [closed]

I have just set up my WP blog on heroku and have one minor problem. I have set the permalink structure in Settings to be postname (/%postname%/). Whenever I come back to the blog after a while I get ...
1
vote
1answer
975 views

Custom post type Permalinks with hierarchical Taxonomies

I Would use Custom Post Type and hierarchical Taxonomies with same Slug. Fortunately I found a good solution based on post_type_link filter here from TheDeadMedic. ...
1
vote
1answer
38 views

widgetlogic and permalinks

I'm trying to use widgetlogic to conditionally display menus on certain pages. Each menu uses a tag like is_page(array("Page Name", "Page Name 2" ...)), and works perfectly until I try to change ...
0
votes
2answers
2k views

get_permalink() always returns empty

I suddenly have a bug in my plugin, and I don't know what on earth could be causing it. This code is failing because get_permalink() is returning empty at all times: $select = "SELECT * FROM ...
0
votes
1answer
230 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 ...
4
votes
5answers
7k views

How do I get the permalink of a custom post type?

I can get the permalink of a specific post tag or category, but what if I want to get the permalink of a custom post type? I can't find anything in the Codex or anywhere else about how to do this.
1
vote
1answer
328 views

custom permalink's rewrite rule for page id

I am using WP 3.2.1. I try to do permalink like: /en/1/some-string. Structure is: %lang%/%pageID%/%some random string% So I add a rewrite rule: function nw_lang_addRewrite($aRules) { ...