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
0answers
39 views

Permalink structure between 2 custom post types and a taxonomy

Ok here is the scenario. I have a custom post type called "Communities", a custom post type called "Community Posts" and a taxonomy under "Community Posts" called "Communities". The idea here is that ...
1
vote
1answer
337 views

Parent & Child Taxonomy slugs in custom post permalink

I've registered a custom post type "book" and a taxonomy "authors" as below: add_action( 'init', 'post_book_init' ); function post_book_init() { $labels = array( 'name' =&...
0
votes
1answer
62 views

How to map a URL to a specific template?

I have a URL like http://example.com/arbitrary/path that I would like to map to a specific template file. At the moment I am achieving this by enabling permalinks and creating the pages "arbitrary" ...
0
votes
0answers
137 views

Page redirect to 404 when set Permalink = “Post Name”

In My wordpress site When I set Permalink structure as Post Name , It redirects all posts to 404. With Default permalink , It works fine. Server Details : Windows Server - IIS Web.Config Code : &...
0
votes
0answers
91 views

Numerical pagination not working with permalink change

I have some issue in numerical pagination. Pagination work when permalink setting set plain but when I change permalink "Plain" to "Post name", pagination not working. When I click on any number it'...
0
votes
0answers
73 views

Custom permalinks for search with extra parameters

I am trying to change default WordPress permalinks for search because I added few parameters to search.php the url now is like: https://www.example.com/wordpress?parameter1=test&parameter2=text&...
0
votes
0answers
27 views

Custom Permalinks for JSON Feed

What file-name would I make to allow the following permalink. Wordpress/Custom-Archive/ID/Title I have created the Custom-Archive with achive-slug.php and the ID seemed to work under that as well ...
0
votes
2answers
60 views

Permalinks for thumbs with get_post_gallery

On attachment page I would like to display all images belonging to the parent post, so there should a thumbnail gallery. Using... $parent = get_post_field( 'post_parent', get_the_ID() ); $gallery = ...
1
vote
0answers
51 views

Wordpress 4.4 old permalink redirect

i have a question for you and i hope you can help me out. I have a site with over 500 broken links due to an old permalink i changed 3 year ago. I know i could use a plugin for that (if you recommend ...
1
vote
1answer
52 views

WordPress Permalink 404

I have a problem with Permalink since from version 4.4, from frontend when members try to insert post shows 404 when click submit button, can't insert post only show 404, When i changed to Plain in ...
0
votes
0answers
49 views

Post's URL changes automatically to category's URL. How to solve?

When I create a new post, I edit its URL to be something I like, let's say "My Post". I put this post in a category, say "Cat1". After I publish the post, the post itself is accessible from its ...
0
votes
1answer
724 views

WooCommerce return 404 on category pages

I am trying to set up WooCommerce permalinks to get something like: example.com/shop/ => Shop page listing products example.com/shop/category-name/ => Category page listing products from a category ...
0
votes
0answers
40 views

Custom URL Rewrite Rule Based on Post Title

I have a Custom Post Type with two Custom Taxonomies attached to it. I've been able to get the URLs to work with both taxonomies but I need the URLs to handle another custom piece in the url that will ...
0
votes
1answer
40 views

retrieve permalinks of posts inside custom post type by using post ID

I have these custom post types registered as shown in the image below - In each of these custom post types, there are many posts. I have the function to retrieve the post IDs of each posts inside ...
0
votes
1answer
38 views

How to change URL structure for pagination pages?

Hi I'm new to WordPress hence if my question was simple or stupid I'm sorry, but please someone tell me how to change URL for pagination pages. Currently I'm having URL for pagination pages as: www....
0
votes
0answers
68 views

remove slug in the permalink for more than one type of custom post type

I trying to remove all the slugs that wordpress generates when you set a custom post type. Like when you have a custom post type called 'new_releases', for example and your permalink looks like this: ...
0
votes
1answer
479 views

Change the url of Projects in Divi Theme

I use the Divi Theme for a Wordpress website. At the moment, everything in Projects Custom Post, have the same url in the following format: www.mywebsite.com/projects/project-name What I tried to do ...
1
vote
1answer
28 views

Custom theme navigation

I am creating a theme from scratch and have a problem to understand how to link the pages in the navigation. The pages are written in plain html. And I have "About me", "Contacts", "Blog", etc... ...
3
votes
1answer
92 views

Dashes instead of slashes as permalink structure separator

I have a weird problem created by a bad requirement. (I say this because a lot of comments telling me this is a bad thing to want to do are not helpful. I know. I don't want to do it.) Is it possible ...
2
votes
1answer
52 views

How can I make sure attachment pages require a base url?

If I upload an image with the filename 8.jpg then the permalink becomes http://www.example.com/8 -- which I really don't want. How can I make attachments use their mime type as a base for the url? ...
0
votes
1answer
44 views

Stymied by 500.5 error for WordPress on IIS 8 / Windows Server 2012

I'm running WordPress on an IIS test server. mod_rewrite is enabled and I've modified my web.config to support permalinks. c:\windows\temp has been modified to allow Modify access to both IUSRS and ...
1
vote
0answers
23 views

how to change permalinks format for pagination?

Sorry if my question was basic or stupid. Please help me how to do this in wordpress, i m new to wordpress. I have permalinks for pagination page like this www.website.com/customtaxonomy.html/1 www....
0
votes
0answers
33 views

Can a post use a subdomain or different permalinks at the same time?

The design on the website I am working on includes the users being able to pick the location of their website. To me it's like a glorified profile page, but one user can have many websites, and they ...
0
votes
0answers
34 views

Wordpress Multisite htaccess redirect loop

I have a multi-site instance of Wordpress setup for a series of related websites. These work on a sub-directory approach (e.g. domain.com/team-events/). Within one of the sites, I have created a ...
0
votes
1answer
57 views

Top level Pages redirecting to homepage!

For some reason after setting the permalink to any other structure apart from default. The top level pages will start redirecting to the home page. I have disabled all the plugins and change theme to ...
0
votes
1answer
80 views

Different Permastruck Between Ajax Request & Normal Request

i create new post type and the slug can be changed from backend ex: register_post_type( 'job', array( 'rewrite' => array( 'slug' => $slug ); )); $slug is variable that i ...
0
votes
0answers
11 views

How can I add slug/category to portfolio permalink? [duplicate]

My portfolio URL currently looks like this: sitename.com/portfolio/ I would like to add the category slug after so it reads: sitename.com/portfolio/slug/ so that if I go to a portfolio item of a ...
0
votes
1answer
155 views

404 with post name permalinks

So, I have a pretty common problem - I recently upgraded to Ubuntu Trusty Tahr from Precise, and I had to upgrade apache as a result. Now, my wordpress site is accessible, but I am unable to access ...
0
votes
0answers
24 views

Permalink Setting Changes From Post Name to Default After Changing The Page Name

I had to change a page name through theme folder like /currentTheme/ page-eyeglasses.php to ---> page-eyeglasses-1.php to make the page not temporarily not accessible. But after returning the ...
1
vote
2answers
36 views

Replace taxonomy permalinks

I have this permalinks settings: /%postname%/ I have a custom taxonomy issue. I want replace all my taxonomy links (site.com/category/wordpress) to (site.com/category/wordpress/issue/any-child). ...
0
votes
1answer
65 views

Custom Permalinks with meta value not working. Why?

The following code is supposed to work, but it does not (no Plugins activated). In the backend the permalinks are correctly shown for the custom post type, but if called in the frontend an incorrect ...
0
votes
0answers
13 views

Use Post's subcategory in title tag

I changed my title to: %%subcategory%% %%sep%% %%title%% But WordPress doesn't seem to recognize %%subcategory%%, in the end it simply displays - My title How should I change the title to ...
1
vote
1answer
24 views

get permalink and append it

I have product pages which need a button to link to the related appointment booking page. So for example I'll create a page called 'glass-product', and I want to code its template so that there's a ...
0
votes
1answer
110 views

Custom post type and taxonomy permalinks - Structure

Been trying to get a nest of custom post type and taxonomy working (even took a look here) but couldn't get it working 100%. Here is the thing, I created a custom post type texturas_temp and a custom ...
0
votes
0answers
33 views

How to identifty post from its URL in 404 page?

Why GUID is such unstable? Some of the post's GUID are pretty permalinked, but most of them are default. I's using Pippin's function to get the post_id from its GUID, but it's not working if my site ...
1
vote
1answer
77 views

Why can posts never have a number as the link?

Here's something interesting I noticed today - it is not possible to name a post a number - no matter what theme you use, and even if you name a post a long number that has no tag or post-name or ...
0
votes
0answers
16 views

Error Nice url (permalink) ( 'ể' cannot create url 'e' )

Before a long time, i never get this error. Link image error: . When i type the title has my language => wordpress auto create a permalink very nice ( dont have Diacredical Marks ). But update 4.3.1 ...
8
votes
1answer
220 views

Best way to flush_rewrite_rules for custom post type, in a mu-plugins plugin?

I am writing a plugin that instantiates a custom post type (among other things). It is a multisite plugin and lives in the directory mu-plugins. What is the best practice for handling ...
0
votes
1answer
34 views

Can't access WordPress site in subfolder possibly because of .htaccess redirect from root installation?

I currently have one Wordpress installation in the root directory. I have now uploaded an entirely different (and second) Wordpress installation in /beta/ - connected to a second and separate ...
0
votes
0answers
74 views

.html and pagination for custom post type and category

I have a problem. I stand on the site of wordpress and I need to keep the URL. On my old site at the end of pages, of records, categories were .html extension. I have default permalink in wordpress /...
0
votes
1answer
61 views

Link to the post displays ID instead of slug

I've met a strange error on my page. After I do an internal link in my site, like that in the page editor <a href="/page-name"> then in the page source code it displays <a href="/?...
0
votes
2answers
203 views

404 error on subcategory pages

I have seen some other questions and answers on this but unable to resolve at the moment. I have some categories setup as follows: Blog -- Sub Cat The Permalinks are currently setup with custom ...
0
votes
1answer
205 views

Hide uncategorized when no category set

I have the following permalink structure: /%category%/%year%/%monthnum%/%postname% I'm using the code I found here to get rid of the "uncategorized" slug when I don't set any category. URLs are ...
0
votes
1answer
59 views

Search only working on front page (index) , not working on other pages

I'm currently building a custom WordPress template and I've run into a problem with the search box. When I use the searchbox from the homepage, it works as intended. It also works as long as ...
0
votes
1answer
34 views

Get Posts Based on Tag Matching Page Title

I have the following written to retrieve a list of posts that match the title of the page, by their tag. The problem is it does not play nicely with tags that have multiple words (and perhaps special ...
0
votes
1answer
15 views

Permalinks not working in Wordpress

In wordpress I've chosen "Day and name" for permanlinks but I am getting 404. The modrewrite module is loaded, the .htaccess is -rwxrwxrwx 1 www-data www-data 274 nov. 23 13:10 .htaccess i have ...
0
votes
1answer
35 views

All my Post don't show, only show headline on Hompage

I'm new to wordpress. I host my site on Godaddy. Recently, last night, all my post stop showing when clicked. Works fine on homepage, but when click it would respond "Error 404"... Please Help me out! ...
0
votes
1answer
73 views

add_external_rule - rules deleted when visiting permalinks page

In my plugin, I have the following function hooked to register_activation_hook. The rules are added correctly. public function add_rules(){ global $wp_rewrite; $wp_rewrite->...
1
vote
1answer
93 views

Rewrite rule to prettify two $_GET variables while in a new endpoint from a page

I'm trying to create a permalink rule which is a few levels deep. I have a basic page /page-slug/ - I'm appending to it a new endpoint: /page-slug/my-endpoint/ - from here I need to nest one id and ...
0
votes
1answer
65 views

Add URL Rewrite Rule To Wordpress

my link http://localhost/abm/?ct_city=la-jolla&search-listings=true i want to this http://localhost/abm/USA/la-jolla Could you help please.. htpaccss file # BEGIN WordPress <IfModule ...