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

Category specific year archive list with desired URL

I am trying to make category specific year archive list. I tried wp_get_archives() with type=yearly arg in which I got year lists with links. 2015 2014 ... and its link looked like this... ...
0
votes
1answer
8 views

Custom post type, permalinks, taxonomies and blog posts

I am creating a custom theme for a bike shop and thought having a custom post type for bikes would be easier for the shop assistant to manage the bikes they would like to appear on their website ...
0
votes
1answer
17 views

Wordpress Rewrite Issue

I created a custom taxonomy, two actually (one tag and one category), for a page that lists a series of community projects. This is the parent URL: website.com/community If you go here you'll see ...
0
votes
0answers
21 views

Custom post type permalink structure without post name

I have a CPT that is called city , in my permalink options panel i've set the permalink structure to /archives/%post_id% notice that there is no slug for post name. but the permalink for the city post ...
0
votes
0answers
16 views

Something changing the permalinks and can't figure out what [on hold]

We have a website on WordPress, using version 4.1.1 running Total theme updated to latest version. Additionally, our website is bilingual translated with Polylang plugin and since recently, using ...
0
votes
1answer
13 views

Wordpress permalink & Nginx Rewrite Rule Not Working

My Server configuration is: Nginx php-fpm5 I setup WordPress and it is working fine with custom permalink 'Day and name'. Now I want to set the rewrite rule in nginx file and it is not working with ...
0
votes
1answer
7 views

Removing Parent Page(s) from Permalink

Similar questions have been asked before, but no answer suits well. I have: site.com/parent-page/child-page and would like to have: site.com/child-page So I want to exclusively have permalinks with ...
0
votes
0answers
12 views

How to fix 301 permalink redirect for funky structure [migrated]

I'm trying to figure out how to redirect the permalink structure for some of my very old WordPress news portals, which are using funky structures that were needed for Google News and old search ...
0
votes
0answers
20 views

Why is the_permalink only echoing the base category?

0 down vote favorite I am running the following code on Wordpress: <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <li><?php the_permalink() ?>,<?php the_ID() ...
0
votes
1answer
19 views

How Can I Use a Custom AccessFileName?

I have a need to have a custom AccessFileName setting in my virtual hosts, however it appears that save_mod_rewrite_rules function assumes that .htaccess is the name for everyone. How can I override ...
0
votes
1answer
16 views

Get link from wpe_excerpt “read more” and move it

I apologize in advance, I'm no wordpress developer, and am having a difficult time transitioning to cms dev from organic dev, so sorry if this is a simple question or has been asked in different words ...
0
votes
0answers
14 views

Need help understanding a rewrite with multi-level taxonomy

I am trying hard to learn how to do rewrites. Not having really any understanding of regex is obviously not a good start. I have a cpt books and a taxonomy book-publishers-series. I have written the ...
1
vote
1answer
30 views

Can't select blog month within archive category

I'm using Wordpress 4.1.1. I have come across a problem with my website archives. If I set the permalinks to default I can click on a category and then click on the date on the sidebar within this ...
0
votes
0answers
17 views

removing index.php IIS 7.5 webconfig

I would like to remove index.php from my permalink. I am using Codeigniter website. I have passed the requirements to use pretty permalink: -PHP Version 5.4.27 Codeigniter -IIS 7.5 -URL Rewrite 2.0 ...
0
votes
1answer
27 views

Would it be possible to route Wordpress Through an MVC Application

I have a slim framework application in the root directory /. I have a wordpress install in the '/blog/' child directory. This is all fine and well as i can easily access the /blog/ folder and any ...
0
votes
0answers
29 views

How can I add a “fake” parent into the permalink?

I have a custom post type of books and a taxonomy of book-publishers-series. I am trying to do a rewrite so that my urls look like: ...
0
votes
0answers
19 views

Permalink Rewrite with Archive - Archive gets 404

I have a custom post type, "toys", with a custom taxonomy, "toy_series". I wanted to get the custom taxonomy in the permalink: domain/toys/toy_series/toy-name I got that working just fine by ...
0
votes
1answer
15 views

WordPress Installed But Not Showing Up! [on hold]

I successfully installed WordPress on my domain. I FTP'd and installed it manually. But, something very strange is happening. Whenever I visit my website, the default WordPress Sample Post page is not ...
0
votes
1answer
53 views

Custom Post Type + Category archive

I have created a WP stack with 3 post types: 1. Post (default) 2. Event 3. Place These 3 post types share the same taxonomy, that being the default WP category, here are some example categories: ...
0
votes
1answer
13 views

How to hide slug numbers with htaccess

Is there a way to do an internal redirect from /product-category/brand-2 to /product-category/brand and still display brand-2 products and sub-categories?
4
votes
1answer
96 views

Combining Multiple Taxonomies in one URL

I'm creating a complex site with a product catalog with two custom taxonomies. They are Brands and Types. Brands - Canon - Toshiba - HP Types - Printers - Scanners - Multifunction I need a page ...
0
votes
1answer
21 views

How to get a page url by a page id?

I tried to use get_page_link('page-id') and get_permalink('page-id') but the error below occurred. Fatal error: Call to a member function get_page_permastruct() on null in ... How can I get a ...
1
vote
1answer
162 views

How to change custom post type pemalink Hierarcy

When we set permalink as Post name and go to wordpress any default post Like "Testing 123" single page its link looks like this localhost/foo_articles/testing-123 Now i when we change our permalink ...
0
votes
1answer
15 views

Removing /author/ slug from URL gives 404

After hours of searching and trying different functions, I've finally successfully removed the /author/ from all of our users profile URLs. So its just /username/ However, when new users register ...
0
votes
0answers
33 views

Redirect/Route every broken link to 404 page

I have a wordpress site. It was transferred from another CMS now. And WP doesn't want to route non existent links to 404 page. For example, http://betall.ru/aisi-316-analog/234524/ routing to ...
-1
votes
0answers
25 views

Permalinks not working in nginx webserver

I am unabelt to set the permalinks on the nginx webserver. (Wordpress 4.0) right now i am not using any setting in the nginx.conf file. i am also using the permanlinks for the custom post types. we ...
0
votes
0answers
25 views

WP Admin Bar not showing with custom permalink structure for pages

I'm getting a weird behavior from the wp admin bar when logged in. Let me explain. My project has a custom permalink structure with a string before the post name (like custom-string/%postname%/) set ...
0
votes
0answers
19 views

Custom Post Type with /%shop_name%/gallery/%gallery% permastruct?

I have created a custom user meta = shop_name in User Profile and custom post type gallery I want my permalink to be in form of /%shop_name%/gallery/%gallery%. Every user has a custom user_meta = ...
0
votes
0answers
30 views

WordPress Permalink Problem

I have a blog with 3,000 post permalink using the "% postname%" now I want to change it and make it into html "% postname% .html". Everything works except for the old link on facebook and in the ...
1
vote
1answer
32 views

How could I change my Permalink from blog to custom structure? [closed]

When I install multi wordpress site I have a problem that my default site permalink goes to http://site.myurl.com/blog/post-name/ I want to change it so that it goes to a custom link like this: ...
0
votes
2answers
52 views

Dynamically generate child-URLs for posts or custom posts

How can I have a post (or custom post) with a definite URL: www.test.com/category/post-name and a child-URL referring to a specific section of that post www.test.com/category/post-name/sub-url ...
0
votes
1answer
9 views

How do I get a link to a WP page within a loop?

I'm trying to get a link to Page A within a loop on Page B. Normally I would use <?php echo get_page_link($mypage->ID); ?> but the loop is causing this to always return a path to the current ...
0
votes
1answer
19 views

Change the permalinks structure

I have decided my structure of permalinks from /?p=125 to /sample-page. I have tried some methods, but anyone works. I have changed the structure in settings/permalinks and I have tried with some ...
4
votes
3answers
97 views

Stop WordPress from reserving slugs for media items?

I am experiencing some odd behavior, that apparently happens "out of the box" with WordPress. If I upload a file through the media manager called: services.jpg; then go try to create a page with the ...
1
vote
0answers
36 views

Wordpress can generate numeric permalinks, which then 404

I know why setting a numerical permalink for a post would mean Wordpress confuses page name and number. However, I notice on the site I am working on (Wordpress 4), that you can edit the permalink to ...
1
vote
1answer
17 views

How do I create a permalink structure with 2 taxonomies

I would like to create permalink to a search for a custom post type that has 2 taxonomies in it. Here are a few appropriate examples: /root/%taxonomyA%/%taxonomyB% ...
0
votes
1answer
18 views

Would it be wrong to save the permalinks as a postmeta and regenerate it on save post? [closed]

I was wondering about the permalinks. They are built on the fly but they are pretty much always the same. It seems like a waste of processing time and databse queries on every request. Why not store ...
-1
votes
1answer
51 views

problem in the author permalink

1 - register like this http://ahmed.d.pr/19Poz 2 - register a new user like this http://ahmed.d.pr/1eExL 3 - choose permalink >> Post name >> /%postname%/ 4 - the link in the browser must be like ...
0
votes
1answer
56 views

Wordpress Page Not Found if Permalink Settings is Postname

Uploaded code on staging server. in localhost everything is working well but on staging I can login to admin pabel but can not see any page on frontend. When any page is accessed it says The requested ...
0
votes
0answers
25 views

Prepend Taxonomy slug to post

How do I add a custom a taxonomy slug to posts like abc.com/bangalore/post-name-title and incases where I don't have a taxonomy (say 'city'), I want this to be abc.com/post-name-title ? My ...
0
votes
0answers
37 views

404 Page not found error - what messed up the permalinks?

Today I encountered an interesting problem on one of my WP blogs. Everything was working fine, until URL broke. The main page was loading correctly, as well as the admin dashboard. The problem was ...
0
votes
1answer
22 views

Posts in Page - How to customize the URL?

I have a "normal" WordPress install. Blogposts are displayed on the homepage an there are a few pages. Now I want to display the posts of a specific category on a page, so that I can add some ...
0
votes
0answers
62 views

Uppercase vs. Lowercase page slugs

We are migrating a site to WordPress from another platform. An issue came up with the URLs--some are uppercase, some lowercase. I allowed uppercase using this solution: How can I make Capital letter ( ...
0
votes
0answers
16 views

Redirect imported blog posts using my permalinks settings

I have imported all of my blog posts from a different CMS to a local WordPress setup to test things out before going live. Here is the layout of the posts from the old CMS: <PublishingArticles> ...
2
votes
1answer
44 views

Categories' hierarchy in URL

The posts in the website I'm currently working on have multiple hierarchical categories applied to each of them. For instance: Source - Books -- Moby Dick -- Sherlock Holmes The permalinks are set ...
0
votes
1answer
73 views

Add .html to Woocommerce permalinks

I'm redesiging a site for a client using Wordpress and WooCommerce and I need to add .html to all the woocommerce permalinks so they don't lose any SEO ranking when we go live with the site. Does ...
0
votes
0answers
18 views

Is it possible to output breadcrumbs with a custom esc_url( the_permalink() );?

Specifically when listing search results on a page, I would like to output esc_url( the_permalink() ); as: Breadcrumbs > linking > to > page I've seen lots of articles, plugins etc referencing the ...
0
votes
0answers
41 views

2 loops with pagination on a single loop

On a page I want to always show the most recent post on top with a different layout, and have the rest of the posts listed below. So I created a template page with these 2 loops. But I cannot figure ...
0
votes
1answer
29 views

How to: change permalink by category?

i'm have 2 category: News & Games How to change permalink by category as: if is category News permalink as: domain.com/news-%postname% if is category Game permalink as: ...
0
votes
0answers
17 views

Permalinks for categories…making sure that you get the right link in a Category Archive

I recently completely a site with a lot of categories and sub-categories. And in many cases, a post might go in multiple categories. Of course, I know how to do that by simply checking off multiple ...