made urls based on content directory not wordpress directory