Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNishant .
Courses Plus Student 264 PointsProblem with the url
Url of my pages and post is always localhost/wordpress/index.php/page or post slug....
Why index.php always appear as it should not be appear with the url?
Is there any way to fix it?
Thanx in advance
3 Answers
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 PointsHi Nishant, While in the Admin area, go to Settings, then Permalinks, check Post Name and then Save Changes. You should be able to change the URL for your site at this location.
Nishant .
Courses Plus Student 264 PointsThanks for helping Dale..
But it is not working without "index.php" in the URL, if I choose 'Post name' as Permalink then it display "Page Not Found" error..
Only Plain Permalink works for me and also custom with mentioning "index.php"..
What is that Problem? Please Help Me
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 PointsI don't know the specifics about that. I would look around and see what specifically applies to your setup. https://codex.wordpress.org/Changing_The_Site_URL