Rename portfolio.html to index.html
and place it in a new folder called portfolio.
A call to egor-k.com/portfolio/
will now look for and display
Originally Posted by mstwntd
A couple more questions.
Whould that affect the search engine rankings - having every page named index.html.
And if I have a floder called images would I have to call it like http://www.egor-k.com/images/bg.gif as opposed to me normally doing in like images/bg.gif or is there a simpler way to keep the short links such as that?
Didn't realize you're wanting EVERY page to be like site.com/name/
For me, and what alot of others do is use directory structure for topical use. Such as yoursite/portfolio/gallery1.htm : yoursite/portfolio/gallery2.htm..
This also aids in forcing you to have more content which in the long run will help more with ranking.
As far as linking to images:
/images/bg.gif will take tell the server to go up one level to find the folder 'images'.
Toly, It looks like its used to make server side generated url's more user friendly. Would mod rewrite help with static pages like index.html portfoli.html etc?
Yeah I only wanted the main 4 or so sections to display like that.
So let me get this right if i had a link to my images in http://www.egor-k.com/portfolio/site/site/
whould I have to link to an image like this? ///images/bg.gif or would it still stay as /images/bg.gif?
Also is there a way to see your site locally. When I changed the links to images in dreamweaver they dont take effect but work fine online
/images/bg.gif would be fine because when you put an "/" in front of any directory or file, the server will start looking from the root.Originally Posted by mstwntd
Thanks a lot Toly, Us there a way to view my pages locally like this though?
With dreamweaver..."preview in browser" wont work??
JohnAz I dont think so, I think the / before links makes it go to the root of windows. But I think maybe defining a site in DreamWeaver may solve the problem.
Thanks for all your help guys, always appreciated
If I remember correctly you define your site and then define a local root folder and your images should display when you preview in browser.But I think maybe defining a site in DreamWeaver may solve the problem.
However you can only view one page at at a time like this as any linked pages won't refer correctly when viewed locally through dw.