I have been trying to migrate an old blog from wordpress which has permalink structure as
- Categories - http://www.website.com/category-name
- Posts - /post-name.html
- Pages - similar to categories without url extension
i’ve used a wordpress-migrate plugin found on github and created 03.folder3, o4.folder4 etc for each category.
All posts have been migrated to respective categories. I used append url extension as .html
so all posts urls look okay.
But …category.html is seen in menu which ideally should be /category
how to disable append url extension on each folder but keep it for individual pages inside each folder ?
Also i need to add pages (as in wordpress) without .html extension and also run custom insert php code to make them display content dynamically.
The insert php code will insert content from text files which are changed daily (like a daily tip which changes at 12:00 am midnight).
Also page title (for SEO) should change dynamically at 12:00am to show current date.
These pages should be excluded from .html extension.
I’ve so far migrated only 2 folders (categories in wordpress) with 70-80 pages (posts in wordpress) each.
Hoping that Grav can handle total 1000 posts and about 60 pages.
I’ve a 2 cores cpu, 2 gb ram litespeed server