I want to show all current permalinks of my wordpress posts in just one page. I don’t want to use archives. I use database to do this, but its showing only guid links.
Means I want to make list like this:
http://www. mywebsite. com/category/post1
http://www. mywebsite. com/category/post1
http://www. mywebsite. com/category/post1
but what I am getting from database is:
http://www. mywebsite. com/?p=1
http://www. mywebsite. com/?p=2
http://www. mywebsite. com/?p=3
Please help me
try this
set your permalink settings to postname first.
Have fun 🙂
You need to set your permalinks to custom structure with this ‘/%postname%/’, without the quotes.
and then do something like this
where 268 is your post id
Use the loop to get the post ids.
http://codex.wordpress.org/Template_Tags/get_posts
If you have moved your application recently, then make sure you have the permalinks settings tab opened and checked once.