Add static text to post URLs

if i good understand your problem, you should to go: Dashboard -> Settings -> Permalinks and in “Common Settings” section select checkbox “Custom Structure” and here paste: /my-blog/%postname%/ and save changes. Now refresh your page and go to random post and your url should be like: https://example.com/my-blog/this-is-the-article-name Good luck!

Pagination in single.php

Custom loops do not produce pagination like that. You have two options: Use custom archive page and provide custom php template for that (i.e. archive-my_name.php), in this custom template you could provide all other necessary content. Then you could use standard built-in pagination functions https://developer.wordpress.org/themes/functionality/pagination/ Continue in the direction you started, with single.php, but you … Read more