permalinks and everything fixed