Question: How can I make a link on my webpage so that I do not have to type in “.htm” or “.html” after the page name…?
How can I make a link on my webpage so that I do not have to type in “.htm” or “.html” after the page name when I type it in the address bar?
For example, I have a page called “sources” and I want to type www.something.com/sources but instead I have to type www.something.com/sources.html. How do I get rid of the “.html”?
Thanks in advance!
Answer:
Answer by juliepelletier
There are at least 2 ways to do this: Apache configuration or creating a folder.
Creating a folder is definitely the simplest solution. You just need to create a folder in your web root called sources and move sources.html to sources/index.html
Question: My website will only show my website with “.html” at the end of it?
how can i have my website show properly with only showing my domain name (ex www.mydomain.com/) only, instead of have a file name following.html after it (this is what is the only way it can be seen (www.mydomain.com/test1.html)). I am using NVU website editor which requires i have a filename and “.html” along with it. Do i need a new web editor that doesn’t requires it. help. thanks
Answer:
Answer by Colinc
If your pages are not on a web server they will require the full url to show. On a server with properly configured domain information a page will show if it is called index.html. Any other name requires the full path and filename.
Question: Is it possible to delete the “.html” part of a web address in dreamweaver?
I have a copy of DW CS4 and want to start building static websites.
I want to ask whether you can remove the “.html” part at the end of each page you create within your website.
For example:
Instead if www.mydomain.com/testpage.html you would just have www.mydomain.com/testpage
Therefore the .html tag gets removed.
I know I can create a folder called “testpage” then just have an index page within it, but its not really convenient if I want to set up a number of pages.
Are there any solutions?
Answer:
Answer by The Josh
Read through the HTML coding and delete what you dont want….
solution get GoDaddy web hosting and install wordpress easiest web solution!
Question: How can I automatically redirect a web page without using the “.html” tag?
I’m trying to help out a friend who printed a flyer, but did not have the .html tag on the end of the web address she sent out. I know to use the
Question: In vb 2008, help how can I get this to work? Dim test As String (nl) test = TextBox1.Text – “.html” + “.png”?
(nl) = Next line
The + “.png” works but I need – “.html” to work
Answer:
Answer by Ratchetr
There is no minus operator for strings in VB, but there is a replace function.
This should do what you want:
test = TextBox1.Text.Replace(“.html”,”") + “.png”
Question: How do you remove the need to add “.html” ?
I’m trying to figure out something which is baffling me…
when i’m trying to access a certain page on my website you have to add
“.html” on the end of the address
for example:
http://www.domainnamehere.com/anotherpage.html
I want to be able to have people just type:
http://www.domainnamehere.com/anotherpage
without having to add “.html” at the end – if you try to do it now – it can’t find the page unless you add the ending.
How can i fix this?
Answer:
Answer by clayjar_azn
You can’t. When you access a specific html page, it must have the html ending.
What you need to do is create a folder in your web server and put that page in there. And then name that folder any name you like.
Question: When writing HTML code, is it always necessary to put “.html” on the ends of urls in the tags?
tags WILL WORK WITHOUT the “.html” on the ends of the url but I just want to make sure that all browsers will be able to read it. Just wondering if there were any instances that it is absolutely necessary to put “.html” at the end of urls when writing HTML.
Answer:
Answer by stefen h
yes its always necessary to put the html. if u dont, internet browsers will not know what to do with that file. i dont even think the browser will open, and if it does, no page will be shown
Question: How to hide “.html” extension in address bar of browser?
I’m a novice Web designer, and for the life of me I can’t figure out how some Web sites hide their file extensions. In other words, how do I make it “www.example.com/blog” NOT “www.example.com/blog.html”?
Are there multiple ways to do this? What are some of the easiest ways? Does it involve advanced scripting? I have a basic understanding of JavaScript but not much more. (I do have a solid grasp on HTML, of course)
Answer:
Answer by grawity
There are a few ways.
The most common is to use mod_rewrite – if the web server is running Apache, then mod_rewrite is often available.
Create this file in your public_html or similar directory, and name it .htaccess (don’t forget the dot).
# .htaccess starts here
# (All lines starting with # are ignored by Apache.)
RewriteEngine on
RewriteRule ^(.+)$ $ 1.html
# .htaccess ends here
NOTE: This might work – or it might not. I don’t have any place to test it.
Question: How do you change a files association from, say “.html” to “.rar” using windows vista?
I have a file named SCIIBeta.part02.rar.html but i want it/need it to be just a .rar file and i dont know how to change it using Windows Vista. Please help me =)
Answer:
Answer by Splash Log
Right click it>Properties>Opens With>WinRar>Apply>Ok.
Tags




