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)

4
votes
1answer
147 views

Making %author% the rewrite slug for custom post type causes 404s on non CPTs

This has been driving me absolutely mad. I created a custom post type which I plan to use to create pretty affiliate/redirect links throughout my site. Here is my register_post_type(): ...
0
votes
0answers
109 views

A link to a page including an anchor doesn't go to that anchor - URL gets changed

My WordPress site is set up with "Post name" permalinks. Now I created an anchor in every page at a certain place: But I find that when I try to link to that page, and its anchor, like this: ...
0
votes
0answers
35 views

Wordpress permalink need taxonomy after postname

I got a problem with wordpress permalink. The site below is using directorypress theme, I need to to show the post url in this format post-name/state/city where country->state->city are in parent ...
0
votes
0answers
27 views

Post permalink not correct

The permalink for my blog post is http://domain.com/blog_post_name. However, I want it to be http://domain.com/blog/blog_post_name instead because I want all of my posts to be found under ...
0
votes
0answers
100 views

Permalinks don't work, Wordpress adds hashtag and postnumber

After moving a Wordpress website from one server to another, the custom permalinks don't work anymore. For example, a (perma)link that used to be /about/ is now /#/4/about, so a hashtag, post number ...
0
votes
0answers
21 views

Using the taxonomy, instead of the CPT slug in the permalink

I currently have a custom post type called 'businesses', and a custom taxonomy for this CPT called 'businesstype'. In 'businesstype', I have several different kinds of business added (store, zoo, ...
0
votes
0answers
79 views

customize urls displayed by previous_post_link and next_post_link

I am using the below code to display my next and previous links in single.php: <div class="nav-previous"><?php previous_post_link( '%link', '<img height="34" src="' . ...
0
votes
0answers
38 views

Removed and Reinstalled Wordpress, Redirect Broken now

I just removed and reinstalled wordpress, I think something messed up.. Now when I enter URL, such as "test123.com", nothing load.. The ".htaccess" file on root folder is empty. and content of ...
0
votes
0answers
16 views

Customising a permalink page

Can I customise a permalink page in WordPress? I've got HTML in the loop in that is fine for index.php. However, I need to tweak what is actually seen on the permalink page. Is this possible in ...
0
votes
0answers
42 views

.htaccess not working in Wordpress

I'm trying to make use of the post name permalink so that visitors can access the page created by the plugin that I'm using. I've already checked phpinfo() and mod_rewrite is listed under the loaded ...
0
votes
0answers
29 views

Custom Post Type Permalink Below Root Directory

I have wordpress installed in the /blog/ directory on my web server, so the WordPress homepage is at, for example http://www.example.com/blog/ I am creating some custom post types for content ...
0
votes
0answers
76 views

How to create single static page extending another URL

I have existing URL game/ninja-cat-and-zombie-dinosaurs/ which is created by rewrite: game/([^/]+)(/[0-9]+)?/?$ It leads to a custom post type (defined by theme Swatch). Now I'd like to have a URL ...
0
votes
0answers
42 views

Custom post type with custom taxonomy category in url

I have created custom post type with: register_post_type('feature', array( 'public' => true, 'capability_type' => 'post', 'hierarchical' => false, 'supports' => ...
0
votes
0answers
39 views

Double permalinks for custom type post

I have custom type post named 'team' as follows: add_action( 'init', 'my_team_members' ); function my_team_members() { register_post_type( 'team', array( 'labels' => array( 'name' => ...
0
votes
0answers
59 views

Redirect page to first custom taxonomy term archive

Is there a way to redirect a page to the archive page of the first term in a custom taxonomy archive? For example I want the page "Videos" to redirect to whatever term is first (Ordered by it's ...
0
votes
0answers
35 views

Why does my installation default template to index.php when archive.php and category.php exist?

I have set up a theme that started off as a copy/paste of twenty-thirteen, because I'm familiar enough with that theme and would like to build from something I am familiar with. That theme includes ...
0
votes
0answers
42 views

Title as permalink for custom post type

I register new post type and I want its title as permalink to single post's page. Here is my code: register_post_type('video', array( 'label' => __('Videos'), 'singular_label' => __('video'), ...
0
votes
0answers
188 views

WP in subdirectory : redirect loop error due to redirect_canonical

I have a fresh Wordpress install in a subdirectory: /blog/ I visit my Wordpress site like this: http://www.example.com/blog and posts like this: http://www.example.com/blog/category/postname In ...
0
votes
0answers
29 views

I keep getting 404 Error when I attempt to view blog in single view

I'm a newbie to Stack Exchange. Hoping to get some answers now and again and maybe help out as well. My question is, I have (2) blog posts, and for some reason the latest one gives me a 404 Error ...
0
votes
0answers
19 views

Permalinks for website

I have website containing pages like www.example.com/?page_id=50 I wanted to change it to www.example.com/parenttitle/pagetittle/ I made rewrite rules <IfModule mod_rewrite.c> ...
0
votes
0answers
556 views

Adding rewrite rules to Custom Post-type mixed with Taxonomy

I turn to you because I can not find any solution to my problem. I created 3 custom post types "Actualités", "Dossiers", "Vidéos" (I'm french :D) I created 1 taxonomy: "Thématiques" with the ...
0
votes
0answers
167 views

Changing /author/ link to something else: what is a better way?

Is there a better way than this snippet I am using? function change_author_permalinks() { global $wp_rewrite; // Change the value of the author permalink base to whatever you want here ...
0
votes
0answers
81 views

Remove blog slug from WPMU?

i have wordpress MU, everything is fine in child sites , but in the main site in the permalink structure have been changed itself , mean that after the site url it have like http://example.com/blog , ...
0
votes
0answers
57 views

first load of the page gives 404 error

I'm having problem loading the page first time on my browser. For example if I load the page from a link it gives me 404 error but when I refresh the page It works perfectly. Any ideas on how to ...
0
votes
0answers
44 views

Pagination is not working, how to trace it properly?

Suddenly a website of my own started to doing this: pagination links jumps homepage, www.mysite.com/page/2 >>> www.mysite.com Pagination generator works correct, but WP wont show, How to ...
0
votes
0answers
47 views

How to update all permalinks in site

So my client has changed all the titles of pages and posts... but the permalinks have not changed from the original title. I have tried changing the permalink configuration, but when I go back to the ...
0
votes
0answers
112 views

Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links

Problem (Example): I have one custom taxonomy called "portfolios". It is tied to a custom post type called "portfolio". I create a portfolios term called Animals and another called Pets. Then I create ...
0
votes
0answers
116 views

Ignoring slug capitalization on rewrite rule for custom post type archive page

I'm declaring a custom post type 'games' with a rewrite rule: 'rewrite' => array('slug' => 'Games','with_front' => false), So the resulting url for the games archive is ...
0
votes
0answers
32 views

homepage olderposts link showing page not found

I am using WordPress 3.5.1 version, now I had a problem with olderposts link present at bottom of homepage. it is ok with rest of the category pages. I am working on this problem since last two days, ...
0
votes
0answers
83 views

“regular” pages not found after changing permalink

My regular pages with the default theme can not be found, but my frontpage that is a page but it has an other theme works, even my custom post type pages work. In my permalinks settings I have ...
0
votes
0answers
147 views

Empty permalinks settings in .htaccess

Permalinks not working other than set to "Default'. I want to change it to /%postname%.html, and default .htaccess is as follows: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On ...
0
votes
0answers
143 views

Modifying the permalink href for posts with jquery

I Was wondering if there is any way to modify a link to add for example a category that I could use with $_GET. For instance, www.example.com/this-is-the-post/category (or ?cat=category) I've tried ...
0
votes
0answers
196 views

Can't preview custom post - Redirected to home page

When I click on preview in custom post types I get redirected to home page. But when I visit or view the page that have all the Custom posts in I can see all of them. I cant figure out what or why. ...
0
votes
0answers
165 views

uploading Attachments with permalinks based on parent file structure

We are rebuilding a public-interest site centered on civil rights research & document archives. The links in years of published info posts must be preserved in WordPress, and future uploaded ...
0
votes
0answers
71 views

Plus sign in query string to custom page gets 324 server error

OK, so I've created a page (http://justinhealth.com/testsite/error-signing-up). It's a custom error page for iContact. Now, when there's an error in iContact's signup, it actually goes here: ...
0
votes
0answers
49 views

Search points to /search/?s=KEYWORD instead of /search/KEYWORD

I can access my search page and results correctly here /search/KEYWORD but when I click search it points to /search/?s=KEYWORD. I updated my permalinks in the admin.
0
votes
0answers
97 views

Custom Post Type and Taxonomy pagination permalink

I have a custom post type of galleries with pagination for the posts thumbnails. It worked great until I activated the permalinks in the WP admin panel. I saw many posts on this problem but none of ...
0
votes
0answers
85 views

The problem is that it redirects to 404 page

The format of the link is ok, it works. But when I open the post did not lead me to the single-customtypes but the 404 page. add_action('init', 'tdd_add_rewrite_rules'); add_filter('post_type_link', ...
0
votes
0answers
27 views

Pages half/not working.

If someone could please look at our website and have a look it'd be really appreciated. On one of our catergoires (rentals>sconces) page one works fine, but the remaining 3 dont. ive read in a couple ...
0
votes
0answers
31 views

%page%/number didn't return 404 but redirect to /%page%/

I've got page, for eg. /about/ when after slash I put some numbers (not letters) I still get this same page. I really want 404 there. Why? What to do to avoid that? SEO itp...
0
votes
0answers
197 views

permalink and add_rewrite_rule - error 404

I'd like to have comments in a separate page with a dedicated template only for posts in a specific category (slug shops). Example: mysite.com/post-incatshops --> mysite.com/post-incatshops/comment ...
0
votes
0answers
78 views

Permalinks do not work on Event sub-pages

I use the Event Manager Plugin, and I'm having a problem with permalinks. When I set "Post name" option, I get "Page not found". I have an event page: example.com/events/event-1/ This Event page has ...
0
votes
0answers
63 views

TCPDF and permalinks

I am currently using a post to pdf plugin 'Hacklog down as pdf' which works ok. I've used it before in a current working environment. It suddenly stopped working but I have found out that when ...
0
votes
0answers
110 views

Trouble with pretty permailnks buddypress .htaccess custom posttypes

I have a buddypress/bbpress website that also has multiple additional custom post types. After adding each new custom post type I would update permalink settings to correct the 404 not found occuring ...
0
votes
0answers
45 views

How to create link to posts in WP-Markdown

I am using WP-Markdown plugin for writing posts. In one post I wanted to add a link to another post, but since I am using Markdown editor I had to add the URL (permalink using month and name) of the ...
0
votes
0answers
78 views

Include other parameters in permalinks for better management of browser history

In single.php, I have the following items that I manage (create, update, hide) with jquery/ajax: a <select> tag in which I return all website categories. a second <select> tag in which I ...
0
votes
0answers
82 views

standard post with extra parameter brings permalink problem

This problem concerns several rewrite rules, but i'll stick to one, for clarity. In my theme, i use a parameter "parentid" which gives me the page/post/custom post i've clicked on (the parent). in ...
0
votes
0answers
276 views

custom Wp_Query / permalink + wp_pagenavi = not working

Testing it in my WAMP environment (with default permalinks), next/previous/page number(s) (links) pulls up the appropriate information - pushing it to live with a custom permalink structure results in ...
0
votes
0answers
290 views

Use $_GET with permalinks on page

I'm currently trying to use a $_GET to populate a MySQL query with in a URL on another page within a Wordpress site. URL sample: <a href="http://site.com/file.php?alabama">Alabama</a> ...
0
votes
0answers
98 views

After server migration (local server to online server) permalink don't work

I am finding some difficulties with Permalink after have migrate my blog from my apache local server to an apache online server. I have used the Search and Replace Tool on my online server script: ...