attempt at next fix to get path substition for wordpress demo to work