Redirect URL to Post

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)

Check Out My Plugins:

Organize your tags in coherent groups and tidy up your tag cloud! Display your tags under tabs or in an accordion.

You will never want to go back to the times when your tags were all over the place.

FREE

Supercharge your tags! Tag your posts on two levels with tag groups. Filter your posts on the frontend. Let your visitors search in real time by tags and groups.

Go directly to your first, latest or a random post just by adding some magic words to your site's URL. Search posts by author, or category, or something else. Or combine a time frame with search parameters.

FREE

Leave a Reply

Your email address will not be published. Required fields are marked *

Christoph