View Full Version : subdirectories
Kgirl
11-22-2005, 10:42 AM
Hi everyone, I was wondering if you could help me. I created a website and want to know how to set the code so that each page has it's own url such as www.mydomain.com/home; www.mydomain.com/jazz; etc. Right now all the pages just show up with www.mydomain.com on every page and if you hit refresh, it takes you straight back to the start page. How can I fix the code so the pages have their own addresses?
PsychoticDude85
11-22-2005, 11:08 AM
Make them seperate files and link to them like this:
<a href="file2.html" title="Description of the Link">Page Title</a>
Terminator1138
11-22-2005, 11:11 AM
You have to make sure you link properly just like what PsychoticDude gave an example for.....when you hist refresh, you must not be linking propertly.
Kgirl
11-22-2005, 11:27 AM
Thank you so much! ok so I just want to make sure I have this clear. Say for example my page title is "homepage." I would put the code on that page that you posted psychoticdude85, and replace "file2" with "homepage.html" ? and the title = "Homepage of the site" ? and this way it will show up as www.mydomain.com/homepage?
Kgirl
11-22-2005, 01:31 PM
I tried, I must be doing something wrong with this. What am I missing?
PsychoticDude85
11-22-2005, 04:34 PM
If you have uploaded the file homepage.html then yes, replace file2.html with homepage.html and it should work... If it's not reply with a link to your site so I can see what you are doing.
PsychoticDude85
09-23-2006, 10:14 AM
Right, lets ignore the fact that this was in 2005. :/
And just so you know - title tags are for added accessibility as well as SEO, like alts on images. It's a good coding practice, so I try to spread it - not using it is pretty pointless if you ask me.
Terminator1138
09-25-2006, 06:04 AM
Yes, I agree with Alex, you (kaabi) seem to hate meta tags and title tags! and without proof of concept, I'm going with years of experience and what others have stated. Why else do you think they are therefor? If you are going to contradict Kaabi, you might start showing proof so that others might learn what is going on when you state things like that. Otherwise, its your word against so many others.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.