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

Customize category permalinks

How can I generate URLs like http://example.com/blog/category/Test/? Currently, I have http://example.com/category/blog/Test/.
0
votes
0answers
46 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"; ...
1
vote
1answer
65 views

How to exclude uncategorized from permalink structure /%category%/%postname%/

I'm using a custom permalink structure: /%category%/%postname%/ So that my posts are listed like: mysite.com/widgets/blue-widget This works fine as long as "blue-widget" exists in one and only ...
0
votes
1answer
36 views

Remove multisite “blog” slug from specific custom post type

I have wordpress multisite, by default multisite has the word "blog" added to all post types excluding "pages" How would i only remove it from a specific custom post type. If I go to setting and ...
0
votes
0answers
49 views

Rewriting custom post type permalinks gives 404

I am using this code in my functions file to be able to include a post ID in my permalinks for a custom post type. But I am getting a 404 error when I attempt to preview view any of the posts of that ...
1
vote
0answers
29 views

Filter categories used with Custom Structure Permalink

I'm using a "Custom Structure" permalink setting: http://mysite.com/%category%/%postname%/ However, when the post belongs to uncategorized, or to more than one category, this produces unwanted URL ...
0
votes
0answers
26 views

Normal page, can select named page template, but page.php used instead

In other words, for some pages, I set the named template and update, and the change carries through to the front-end. For other pages, wp-admin shows the changed template name, but that template is ...
0
votes
2answers
200 views

How to redirect non-logged in users to a specific page?

How to redirect non-logged users requesting for a specific page/URL to another page/URL and display a message like "for members only". I know its quite easy to code using !is_user_logged_in() ...
0
votes
0answers
22 views

Base URL missing from post permalinks

My social media sharing buttons on my site don't work. Finally saw something I've never ever seen in WordPress before and am sure this is the culprit. The base (main) URL is missing from the ...
-1
votes
1answer
19 views

permalinks has -2 with post name structure. why?

I have set permalinks structure in my website as post name, then it supposed to come as: http://example.com/newsite/page-name/ but it is coming as: http://example.com/newsite/page-name-2/ I dont ...
2
votes
0answers
18 views

Migration from Squarespace to WordPress: Remove leading 0 from %monthnum% in permalinks [duplicate]

I need my WP permalinks display months without using any zeros in the URL i.e. /1/ instead of /01/ for January. I'm moving my blog from Squarespace to Wordpress and I obviously want to keep all my ...
-1
votes
1answer
36 views

Remove parent page from url

I would like to remove the parent page name from the permalink. At the moment, I have site.com/parent-page/child-page.php and I would like to have something like that site.com/child-page.php
0
votes
1answer
20 views

using post meta data as permalink tags [duplicate]

I have a client who would like their wordpress permalinks to look like this: /%category%/%state%/%city%/%street%/ I can get this information easily enough with custom meta data in the post editor, ...
0
votes
0answers
21 views

Wordpress Pretty Permalinks redirecting to home page on iis7

I have my WP site on iis7[Windows server 2008 R2];have explored a lot to find the right solution but nothing worked :( ...
0
votes
0answers
30 views

Changing the permalink structure with 'with_front' not redirecting old URL

I'm attempting to change the permalink structure of the default post type with the following code: $args = array( 'rewrite' => array( 'with_front' => true, ...
1
vote
0answers
35 views

Plural Category Base Slug On Category Archive Page

I've got a little problem with the category base slugs. Say I have got a category called 'Resources', with the category slug set to 'resource'. So any post in the category resource will appear with ...
0
votes
2answers
40 views

get_permalink() gives a certain page link only. how to solve this.?

the_title('<a class="" href="' . get_permalink() . '"><h1 class="">', '</h1></a>'); anywhere if I use get_permalink() it's just giving myblog.com/about_us eg: the above code ...
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 ...
0
votes
1answer
139 views

Redirect & permalink problems after moving multisite to a new server

I just moved my subdomain multisite to a new server and I'm having some trouble with permalinks & redirects. One difference post-move is that I have moved core WP files into it's own directory ...
0
votes
1answer
27 views

Wordpress Permalink

I need to make my wordpress permalink like the following Permalink For Category: www.mydomain.com/category/%category% Permalink For Posts: ...
0
votes
0answers
12 views

Custom taxonomy category slug not being included in permalink [duplicate]

I'm having difficulty implementing a permalink scheme with a custom post type ('widget') and its taxonomy ('widgetscategory'). Visually, this is the permalink structure that I am after: /widgets/ (a ...
0
votes
1answer
21 views

How to setup a permalink structure for a custom post type

I would like to know the correct way to setup the permalink structure for a custom post type. Is there any attribute I am to set when I run a register_post_type() ? e.g. custom post type: product ...
0
votes
1answer
110 views

How to Force HTTPS on a WordPress and remove HTTPS from permalinks

I have recently secured SSL certificates for my website and I would like to force HTTPS for all visitors. And i want to remove HTTPS From permalinks Like this <link rel="canonical" ...
0
votes
0answers
45 views

Taxonomy to WordPress Permalinks of custom post type

I am searching days now for the answer how to add taxonomy to my custom post type permalink. I've found this article which almost exactly gives the answer but it doesn't work for my custom post type. ...
0
votes
1answer
66 views

Changing permalink settings causes 404

I would like to have permalinks of the form http://localhost/mysite/sample-post/. I tried to achieve this by changing the permalink settings in the admin panel to 'Post name' from default. But this ...
0
votes
0answers
48 views

WP No Base Permalink only works with logged user (admin)

(My apologies for my poor English, I'm french) I just want to have a shorty URL for all page of my WP Site: www.example.com/wordpress-answers-is-a-good-site for my posts insteads of ...
0
votes
0answers
37 views

Issue when showing metabox value on post type permalink?

I want to show the custom post type value on permalinks like yourdomain/metabox_value/post_title. By the below code I achieve the goal but after appling this code only this post type permalinks is ...
0
votes
0answers
24 views

Add custom prefix to search URL

I am using Wordpress to manage a site with both a static page structure and a blog under /blog. I've updated my permalinks to use the custom structure /blog/%postname%/ and all seems to be working ...
0
votes
0answers
28 views

Change link to permalink inside post content

Probably this has been answered before several times.But couldn't find so sorry if it sounds duplicate. I have a post content and in that content I have couple of internal links Now inserting those ...
0
votes
0answers
9 views

Permanent names of attached files required

Simple: How to delete uploaded file ? Secondary: How to replace uploaded file and to keep its filename (inclusive the path) and all links (inclusive on the whole internet!!!) the same?
0
votes
1answer
15 views

new page redirect to old page which had the same permalink

I had a page on /features/ and a newer page on /features-2/ I wanted the newer page to get the more pretty slug /features/ So i did the following: /features/ => /features-old/ /features-2/ => ...
1
vote
2answers
49 views

Posts not working on windows after changing permalinks

I recently started learning wordpress. Out to curiosity of changing settings, I changed permalinks to Month and Name. After that all my posts and pages have stopped working and show me a 404 Error. I ...
0
votes
4answers
45 views

I copied my site to another site but all links point to old site

I copied my site: www.old_site.com to a new address: www.new_site.com All links in new_site point to the old site. What do I have to change so that new site points to new site? Thank you.
0
votes
0answers
38 views

Permalinks not working for subsite

I have a Wordpress multisite install on Nginx. Currently I have site1.com as main site. And I added a new site called site2.com as subdirectory. However, I noticed you can actually click on Network ...
0
votes
1answer
29 views

Some Pemalink problems, probably caused by wrong .htaccess configuration?

I have import on my local webserver a backup of a website made using WordPress but I am finding some difficulties with PermaLink configuration The main problem is that if I use the permalink setted ...
0
votes
0answers
44 views

how do i add posts-page slug before posts slug in permalinks

I have a posts page and the page slug is /blog my current permalink structure is /%postname%/ when i click on a blog post. say for example the posts slug is adrenaline-rush the url is ...
2
votes
1answer
49 views

Permalink Settings: optional settings doesn’t apply to editor

In my WordPress 3.8 in my "Permalink Settings" I've chosen the option "Post name". Then I've added "Optional" for "Category" ( %category%/%postname% ), the URLs works like I wanted - ...
-1
votes
2answers
32 views

After the local installation of an old WP website I can see the homepage but I can't access to the articles, why?

I have import on my local webserver a backup of a website made using WordPress but I am finding some difficulties with PermaLink The main problem is that if I use the permalink setted as Article Name ...
3
votes
1answer
79 views

Prepend meta_value to permalink of post

I have 2 custom post types movies (non-hierarchical) and series(hierarchical). Each post from seriestype has a meta field _movie which contains a movie ID. I want to specify a custom permalink ...
0
votes
2answers
73 views

Main blog page works but title says Page not found

Here's a strange one. I've been developing a site, including a custom template that I originally worked up from the functionality of the Naked theme. The site has no public blog at the moment; the use ...
0
votes
1answer
30 views

How to keep the /blog slug even in single post slug

I have a simple website on wordpress (latest version), assume example.org. I wanna have the user posts at something like example.org/blog/username/posttitle. So I need some levels: 1) ...
0
votes
0answers
55 views

How to make nested custom post type slugs work

I'll try to explain how I want this to work, rather than what I've done so far, as nothing seems to work. I want 3 custom post types: Products Consumables Accessories with the following slugs: ...
2
votes
1answer
34 views

How to find out who handles a permalink?

My previous question isn't faring too well. I guess it may be too specific. Let me approach the problem from another direction. There's an URL within my Wordpress site. It's occupied - sending the ...
3
votes
5answers
151 views

Update URL Snippet to Canonical Permalink URL

My permalinks is in the format domain.com/post-id/post-slug I notice this is a great choice for permalinks as I can share articles with a short URL like domain.com/123 But when I go to this short ...
0
votes
0answers
63 views

URL Rewrite breaks pagination on some permalink structures

i created some rewrite rules for my profile page with multiple tabs. Member and tab names are passed via url to the page template. Everything works fine except for the pagination. When a permalink ...
0
votes
1answer
43 views

How to replace permalinks

I have exported and imported my wordpress project into live server. Now the problem is I have permalink structures as "localhost" format. When I click on any links in my website it redirects me to ...
1
vote
1answer
17 views

Exclude / Blacklist Permalinks

I'm building a website and I was wondering if it is possible to exclude certain permalinks from beings used. For example: if my website has a demo of a project running on www.example.com/demo/ and a ...
0
votes
1answer
18 views

How to display post permalinks instead of pages?

I am working on a website for comics, and whenever you go to it, it should open the latest POST. I have no pages, I deleted them all. All the website has, is posts. So I want that whenever people ...
0
votes
1answer
83 views

Improve Custom Post Permalink Structure

I've created a custom post type, with an easy permalink structure. Now I want to enhance this permalink structure with some extra information. public function custom_post_mission() { $labels ...
0
votes
1answer
40 views

Point domain to different webhost's subdirectory wordpress

Now there may seem to be duplicates for this question but nothing concise so I'm going to try: I have a wordpress install setup at mydomain.com/subdir - hosted on fatcow. I went ahead and bought a ...