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

Change category base based on category

How can I change the permalink based on the category? I would like to change the category base based on its category. I want the output to be like this: /news/category1 /articles/category2 ...
1
vote
3answers
173 views

Title and post URL based on custom fields?

I have custom fields in my custom post type. They should serve as a title and post slug for URL. Basically, whenever I change the content of the custom fields, the title field should react ...
0
votes
2answers
64 views

What happens when permalink settings are updated?

I have to identical copies of the same site on two different webhosting companies (besides the actual domain of course). One of them works all the time with pretty permalinks and the other works fine ...
0
votes
0answers
155 views

taxonomy term names in custom post type permalink structure

I know there has been a lot of times this question has been asked here before, but no matter what method I have tried from here, nothing seems to be working for me. I guess I am sure I am writing in ...
0
votes
0answers
18 views

Wordpress category permalinks won't work

Hi for some reason I am having a problem with my category permalinks. When clicking on the category link, it shows only one post from the category instead of showing all post from the category.
1
vote
1answer
1k views

Wordpress Automatic Update to 3.9.1 breaks Permalinks

Yesterday, WordPress 3.9.1 Maintenance Release May 8, 2014 updated my version from the latest and all of the sudden, my inside pages were broke - no one could reach anything except the home page. I ...
0
votes
0answers
72 views

Tag search not working after permalink structure change

I recently changed my permalink structure from the default one /?p=123 to Post name, /sample-post/. That went well except that now the tag search doesn't work. Previously, when I clicked on the tag ...
0
votes
1answer
28 views

For one linked image per post, override that link with a permalink when on the main page

Is there an existing plugin that allows a person to, in a post, put a link on an image, but when the post is shown as part of the main-page list, have that image link to the post's permalink instead. ...
0
votes
0answers
218 views

Get post id of permalink for a specific custom post type?

I have custom post type called Personnel. I have this code to show a specific post ("details" page for personnel) (resides in children themes folder of Oxygen and is called single-personnel.php) ...
0
votes
0answers
64 views

Slash is being stripped in my post_name when using wp_insert_post

I want a permalink with slashes : e.g. http://mysite.com/keyword1/keyword2/mypage.html I have put it in the param "post_name" in wp_insert_post but the slashes are stripped, so the result is ...
0
votes
0answers
53 views

Only numbers in post-title (four-figure numbers)

im using WP for a book-project - a table as list and posts for details, take a look: http://reclam.brandenfeld.de/. The problem: I only use numbers (part of ISBN) in post-titles, and it works from 1 ...
0
votes
1answer
31 views

Used wordpress built-in permalink to change post url but the page is not found

Used wordpress built-in permalink to change post url but the page is not found. I used the custom url option and appended /%postname%/ to it but it isn't working. What apart from this I have to ...
0
votes
0answers
35 views

Combine category AND custom taxonomy in permalink structure

It seems like this question has been asked not infrequently, but I still can't make heads of it. I followed the Rewrite API Guide to look at how to merge, but I want something like this: Category = ...
0
votes
0answers
36 views

Permalink clashing with Custom Post Type rewrite rule

I have created a custom post type called 'members' which works correctly. I have set the rewrite rule to... 'rewrite' => array('slug' => 'our-members'), I have then added some items to this ...
0
votes
0answers
46 views

Editing the permalink of image in Gallery Carousel plugin

I'm looking to edit the permalink that is displayed when an image loads when using the Gallery Carousel without Jetpack plugin (which is just forked from Jetpack). Currently it looks something like: ...
0
votes
0answers
18 views

pretty permalink for filtered posts

I am working on a personal book store. I have made CPT "Book" and Author as it’s custom Taxonomy, Author. Its just like another book site with usual categories like like Suspense , Horror, Comic etc ...
0
votes
1answer
216 views

Passing variable as permalink URL

I've been trying to adapt the rewrite functions described here with little success: Passing variables through permalink structure WordPress permalinks and custom $_GET Variables The structure of ...
0
votes
0answers
44 views

How to remove .html permalink without every post getting 404?

While there are lots of posts about adding '.html' to your permalinks, I can't find anything about removing it. I changed permalinks from how the previous volunteer set it up ...
0
votes
1answer
57 views

Two custom taxonomies in permalink structure

I'm struggling setting up custom permalink structure with custom taxonomies. I've read many questions/answers here but I can't get it to work (most frustrating is that I don't know of a way to debug ...
0
votes
1answer
48 views

How to link to specific part of a page in wordpress permalinks

I have a one page template(muse theme) which its main menu items link to a specific part of the page in the webpage itself. I want to add # character before post name to go to the specific part of the ...
0
votes
1answer
55 views

Find which Permalink structure is the best

I have the following permalinks structure in mind for a new blog, now instead getting theoretical answers on which is best, i would like to find myself which is best in terms of speed. How can i find ...
1
vote
1answer
27 views

Static Text in Permalink

Can i have a static text in Permalink like this => /%post_id%/sometext/%postname%/ I tested this and works fine, but i am concerned whether it will bring some issues in future. So looking for some ...
0
votes
0answers
21 views

Change only the attachment permalinks to %post_id%

My permalinks are set to /%category%/%postname%/ but I would like attachments to live at photo/%post_id%/ I already have a rewrite function to change the attachment slug from attachment/ to photo/, ...
0
votes
0answers
73 views

Moved my site to new host now getting 404

I just moved my wordpress multisite to a new host and all the pages expect the homepage keep getting the follower error Not Found The requested URL was not found on this server. Additionally, a 404 ...
0
votes
1answer
74 views

echo variable containing html and the_permalink();

I'am trying to echo a vriable, but the permalink does not work as clickable button. The permalink just displayed outside the button. Here is my code: $perma = the_permalink(); $valid = '<button ...
0
votes
0answers
20 views

How to Rewrite Attachment URL when use %category%

When I use permalink structure %category%/%postname%/ the result is: mydomain.com/category/postname/attachment/attachment-title what I want to get is: mydomain.com/category/postname/attachment-title ...
0
votes
1answer
155 views

404 not found problem with URL rewrite custom category

I have category called "us". I am trying to change link structure from : http://www.example.com/us/post-name to http://www.example.com/post-name I have inserted code in functions.php : ...
0
votes
1answer
66 views

Trailing slash at the end of permalink loads faster / better SEO?

Is it true that if you put a trailing slash at the end of the permalink, it would load faster for a single or a multisite WordPress post? Also, is this better for SEO?
0
votes
0answers
27 views

Network created blogs URL

I'm building a blog network where people can register their blogs. As default if my domain is domain.com and if user creates a blog, the URL will be domain.com/mynewblog/ Now I would like that all ...
0
votes
1answer
140 views

Remove the parent name from permalink

I have a problem with the address of the categories in my website. At first, I have to say I checked all the similar topic and question in stackexchange, but none of them solved my problem. Problem ...
0
votes
1answer
29 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
47 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
0answers
38 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
43 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 ...
1
vote
1answer
66 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
0answers
98 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
1answer
39 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 ...
1
vote
1answer
63 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
47 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'], ...
2
votes
1answer
231 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, ...
-4
votes
1answer
29 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
86 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
1answer
138 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: ...
1
vote
0answers
32 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
37 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
0answers
101 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
40 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, ...
1
vote
1answer
22 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
105 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
1answer
24 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 ...