Slug

3.97K viewsUpdates
0

Hi!

If I choose the front page as the base page, the creation of question does not work – ask Slug does not find such a page – http://forum.fedorovskoe.com/ask/. And if I create a page Questions and choose it as a base, then everything works – http://forum.fedorovskoe.com/questions/ask. What is the problem?

0

Its how AnsPress works by default. But you can easily make rewrite ask page to http://forum.fedorovskoe.com/ask/, have a look at this code:

https://github.com/anspress/anspress/blob/master/includes/rewrite.php#L81