Articles of permalinks

Getting an ID from a URL, why can WP do this itself, but none of of the functions provided get it right?

I have a set of absolute URLs that have been used to refer to my site (they come from redirects in an old .htaccess file in this case). All of these URLs do resolve to some page or post on the site. In other words, when I use them in my browser, they work. Many […]

All my posts don't show, only the headline is displayed on the homepage

I’m new to WordPress. I host my site on GoDaddy. Last night, all my posts stopped showing when clicked. Works fine on homepage, but when clicked it would respond “Error 404″… Please Help me out! My Pages work fine… My site is

Custom rewrite rule for hierarchical custom post type

Working on a client site I’ve encounter my worst enemy… WP URL rewrite :(. I actually can’t figure it out and after many days trying and searching, I can’t make it work. What I’m trying to get is a permalink like this regardless of the /parent/child/ nesting depth. I do need the functionalities of […]

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 any pages within my wordpress site. So, for example, works fine, but gives a 404 […]

How to use Specific URLs for some posts

I’m using the below format for permalinks in my blog: Now I need to host a giveaway on the same blog and want to make a permalink structure like this: I don’t want to use categories or tags in all my post URLs. Is there any way I can do that without errors?

Protect Post Permalink From Copy

It is possible to protect my post permalinks to get copy from other users or bots ? Let’s say the post permalinks that tagged with tag “A” to get encrypted and all post to show in browser with: Post title (1)permalink => Post title (2)permalink => Post title (3)permalink => Post title […]

Ideas on how to organize a project

I know that questions that are mainly there to be discussed are not liked very much, but I still hope that you can think with me and give me some ideas. So thanks in advance to those of you, who are willing to help 🙂 I’m very new in WordPress Development and I am facing […]

Add archive slug to default post post type

I want to add /post/ to the default post post type url. I have tried it by register the ‘post’ post type as follows: function fdm_register_post_types() { // Get post post type object $object = get_post_type_object( ‘post’ ); // Set rewrite argument $object->rewrite = array( ‘slug’ => ‘post’, ‘with_front’ => false ); // Reregister post […]

Make custom post available under main domain directly?

i have a custom post type called project. The shortlinks are all i want to change that to someone knows what I have to change in, i reckon permalinks settings, to be able to do that?

“-2” Being added to end of URL (no duplicate pages, no pages in trash)

I have a page called “Orlando” and for some reason the page url is /orlando-2/. I have never made another “Orlando” page on this site and there are no pages living in the trash. There is also no other page with the word “Orlando” in it. I know this happens when you have multiple pages […]