My posts are accessible by anyone that uses the url of my website + a date path.
How can I disable this feature, so that the only way to access my posts are using the slug?
Example – https://www.carreirafinance.com/goals-to-set/
My current setup for Settings -> Permalinks -> Common Settings -> Post name
I am trying to disable the fact that when someone goes to my website, she/he can access articles using a date in the url.
2
Answers
Login to WordPress admin.
Go to
Settings
=>Permalink
=>Common Settings
and then select option Post nameHere is a simple plugin which can disable listing posts by date. just upload it to your
wp-content/plugins
, and enable it at admin portal.disable-date-path.php