Search
  • Software by
  • Christoph Amthor
Search Menu

Redirect URL to Post, Version 0.7: Ignore the Stickiness of Posts

sticky photo

The latest version of Redirect URL to Post improves the behavior when you have sticky posts. By default, WordPress puts sticky posts always on top of all other posts. That means that if you have sticky posts, the redirection always goes to the first of them.

Since users expect sticky posts to behave like normal posts when we determine the target of a redirection, the stickiness of posts is now by default ignored.

If you – for what ever reason – need to prioritize sticky posts, you can use the parameter ignore_sticky_posts with a zero value (“0”) in order to return the stickiness to sticky posts.

Here is an example:

https://www.my-wordpress-site.com/?redirect_to=random&ignore_sticky_posts=0

 

Photo by rawpixel (Pixabay)

Share
  • 1
    Share
Updated: 2018-05-04T12:32:36+00:00

Leave a Comment

Required fields are marked *.