Tagged Questions

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.

I have a custom post type "article" where posts have a permalink structure (www.mysite.com/article/post-name).
I need each post in it to have two different templates according to its permalinks:
the ...

I've got a bit a troublesome issue. In my development site installed at a subdomain http://staging.broadwayselect.com I'm getting 403 errors on all pages except my homepage.
Clicking on 'Discounts' ...

We were changing our wordpress site to use pretty links, but discovered that it broke old links. We tried to revert our changes, but whenever we open up /wp-admin/options-permalink.php (and only that ...

I am looking to create a custom 'directory' page which will link to several thousands of posts. Because of the large number I am trying to limit the number of DB queries. I notice that to link to each ...

I'm having the following dilemma with WordPress: We are hosting several sites under one hosting plan (GoDaddy Deluxe Hosting) and using the "Hosted Domain" feature, which makes domains resolve to an ...

According to the official WordPress docs, when you save your Permalinks it updates your .htaccess file (https://codex.wordpress.org/Settings_Permalinks_Screen).
However, when I make Permalink changes ...

EDIT. I found the culprit causing my issue. I had the following code to change the pagination slug to "sida" to reflect the site language. It works well for blog posts, but it does not work for custom ...

At first, my permalinks and all worked.
My permalinks were in /year/month/post/ format.
Today I found out when I try to open an Anspress question, I get a 404. (that worked too, last time I checked)
...

I want to add image link on wordpress site which redirect the user to the another page of same url but with different prefix. for example
page url is mydomain.com/post1234 when user click the image on ...

I am trying to change the base url for a posts category to /%category%/%postname%/, I have changed this in the permalinks and it works, but wordpress then ignore all my page links thinking they are ...

I'm trying to prefix my permalinks for some backend logic to emulate posts on Multisite.
I have used the post_link filter but unfortunately it didn't meet my needs as it doesn't prefix the permalink ...

I have a bunch of links I need to reference in my custom theme. Since it should be flexible and the page is also translated (using WPML) hard-coded links are not an option.
Right now I use registered ...

I have a customer that started his small business using an url called "firstname-lastname.ch". Since he was lucky enough to grow and now wants a proper URL, he would like to have another URL for his ...

I am using following code in category-20.php, for the pagination through ajax, which is working fine for the defaults permalinks.
But when i change the permalinks to custom, then pagination doesn't ...

I successfully renamed a custom post type registered by my parent theme in my child theme using this method. The problem is, my permalinks haven't changed. So when I change portfolio to homepage and ...

I have a site full of 1000s of newsfeeds. When user clicks on the title, it takes the user to the article page, then the user must click 'read full article' to go to the external url.
Is it possible ...

I've had this problem before but never actually found a solution.
Let's say i have a portfolio category, a drawings subcategory and a my-new-drawing single post, which belongs to portfolio/drawings/.
...