Why you can’t see file extensions on a PC by default is something I don’t understand. Here is a screencast to show you how to unhide the hidden file extensions (aka: show file extensions).
If you need more info on this topic, please use this Microsoft document as a reference.
Setting up a Virtual Host is confusing at first. It has driven me batty many times. I think I have collected enough info here for you to not have as many problems as I have had.
Here is the post I originally did after reading this great article.
To give you a visual how it works, check out the following screencast I did:
Here are some useful pieces of info from the video:
Where is my ‘hosts’ file?
Add this to the bottom of the file:
If you don’t see the ‘hosts’ file read the following article
Where is the Apache config file?
Add to the bottom of this file:
Note: replace the following configuration with the info relative to how you have your files set up:
Some helpful hints:
- DocumentRoot “C:\xampp\htdocs” – is this where your server root it? (note: it’s the default server root for a XAMPP install)
- ServerName wordpress-wednesday.com – This should match exactly what you entered into the hosts file
- DocumentRoot “C:\xampp\htdocs\wordpress-wednesday” – This and the Directory should match the absolute paths to where you site is on your local machine
Allow from all
I hope it helps. Let me know if you have any questions or can offer an improvements on the method I used.