Question about HTML URL |
Question about HTML URL |
burkehenry |
Sep 7 2020, 07:51 PM
Post
#1
|
Group: Members Posts: 2 Joined: 27-October 09 Member No.: 10,157 |
I have completed a (very) basic html intro assignment. The current URL is https://studentweb.kennesaw.edu/~hmcgoldr/.
Our professor, however, wants us to complete the assignment to look like this : https://studentweb.kennesaw.edu/~hmcgoldr/2200. My question is how to I resubmit to the server so that /2200 will be included in the url. I know this is probably a ridiculously simple question, but I have tried numerous methods of researching to try to figure this out before coming here. Any help would be appreciated. |
pandy |
Sep 7 2020, 08:10 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
Did your professor really want the URL to be exactly like that, without a trailing slash? Or did he want it to be https://studentweb.kennesaw.edu/~hmcgoldr/2200/ ?
Because the first isn't trivial and it ain't HTML either. It's server configuration. Sounds a little over the top for a basic HTML class. I'm going to assume you want the URL with the slash. That's easy. It's just a matter of creating a new directory inside the one where you have your index.html now and then upload or move index.html there. Each / in a URL means one directory down. Same as backslash in Windows paths. Only the domain bit of an URL is an exception from that. studentweb.kennesaw.edu in your case. But from ~htmcgoldr (even if that could be pointed to a folder with a different name) it's just folders within folders. Like on this domain, this index.html https://htmlhelp.com/tools/index.html is really inside a folder named tools that's inside the main folder for the site. |
burkehenry |
Sep 7 2020, 08:57 PM
Post
#3
|
Group: Members Posts: 2 Joined: 27-October 09 Member No.: 10,157 |
Thank you so much! That worked!
|
Lo-Fi Version | Time is now: 27th April 2024 - 09:15 PM |