HTML - How Do You Mask A Url Html File Extension?
Hello all,
I want to know how to mask a url address I hope this is the correct lingo. I want people when they type www.mysite.com/page1 it goes to www.mysite.com/page1.html but I want to not have the html extension file name so basically www.mysite.com/page1 is really www.mysite.com/page1.html but when users type in just www.mysite.com/page1 on their address bar it goes to www.mysite.com/page1.html is there a way to do this? also where to i put the code if any? thelion~ Similar TutorialsOk, I'm completely new to this and would really appreciate some help. I'm trying to remove the .html extension at the end of my site pages. Example: My pages currently looks like this: www.example.com/about-us.html and I want them to look like: www.example.com/about-us My hosting is on godaddy shared windows. Whenever I try to manually change it to "http://www.example.com/about-us", I get a 404 error. I have tried to use .htaccess with no success, can it be used on a windows based server? D: Please let me know how to fix this problem or if you need any more info and thanks in advance. I want to mask the URL displayed on the ADDRESS BAR how can I do like that? Say.. I want to redirect the domain name ABC.COM to say XYZ.COM but I want to show the URL ABC.COM on the ADDRESS BAR instead of XYZ.COM. Plase help me... ___________ Affordable Home Insurance bedroom furniture Hi I've tried to search for this but no luck so far I've been trying to hide the real location of my page I have a domain that's being redirected into a folder of a hosting I have the domain is something like www.*mydomain1*.com where really is being hosted is www.*mydomain2*.com/mydomain1 well, if I go to www.*mydomain1*.com the address bar switches to: www.*mydomain2*.com/mydomain1 I would preffer to hide mydomain2 and show only www.*mydomain1*.com in the address bar I don't mind if that gets fixed and doesn't reflects the page I'm browsing Thanks Regards GQ Okay...so here's a tricky situation that I cannot find ANY examples of how it can work...IF it can even work. I'm trying to create this without the use of flash...Thanks for any help! Seriously! So...I'll try to explain this in the best way that I can as I don't have an example to show... There's a fixed background image. On top of that image is another image (exactly the same as the one below but a different color). There is a horizontal scrollbar below that controls the visibility of the image on top. Naturally, I thought a mask would be the best idea...but can a mask be scrolled. The image itself would not scroll at all....just the visibility of the image on top, think of it as a scroller that highlights a specific "strip" of an image and can be moved from side to side without the actual image scrolling... Man...I really hope this makes sense! Thanks for helping a girl out! hi everybody, I am working in a html. I defined a functiion in a html file.(first.html) I want to call that function in another html file.(second.html) How can i call that function in second.html file? give some sample code Thanks in advance.... Hi guys i have downloads site if you click on download button you will redirect to other web page in new window to download the file i want address bar in this other web page still viewing my url site (mask other web page url) this is my download button code, what code that i need to add to do this Quote: <a href="downloads.php?do=file&id={$file['id']}&act=down" {$target}><img src="$stylevar[imgdir_button]/download.gif" alt="{$vbphrase['ecdownloads_download']}" title="{$vbphrase['ecdownloads_download']} {$file['name']}" border="0" /></a> please share your knowledge Hi, I'm trying to include one HTML file in another. I tried iframe and was displeased with the results, I want the size of the frame to change dynamically and not just scroll. Fair warning, my knowledge of JavaScript is non-existent >_> . Basically, I have a document written in HTML (please don't suggest a wholesale re-write, that's simply not practical) and the idea is to have one file where it makes sense to include it several times. One thing to mention, this document is not meant to be shown on a web-server, but in a browser while you're reading it off your hard-drive. Here's what I have so far. main.shtml Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>test</title> </head> <body> <center> <h1> This is only a test! </h1> </center> <p> Still testing!!!!! </p> <!-- #include file="included.html" --> <p> Even more testing!!!!! </p> </body> </html> included.html Code: <!--<html> <head> <title> asdfasdfasdfasd </title> </head> <body>--> <p> <h4> foobar </h4> <br> <br> <br> <br> <h4> boofar </h4> </p> <!--</body> </html>--> Not sure what I'm doing wrong, help appreciated! Hi ,I am new in html.Hope you can guide me step-by-step on this. I want to import my .txt file into the html form and the html form can add new item then to be add in to that particular .txt file too as well. can this be done? For example: (fruits.txt) 1.apple 2.banana 3.orange Can this fruit.txt be impoted to fruit.html page and show it at fruit.html page, at the same time, the fruit html page allow to add in new fruit, and once user add in new fruit, the fruit.txt file will be updated as well. Thanks for your guidiance and help. :-) I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. Hi, i got drop down menu from Dynamic DDM, however, there is only 1 level down. Anybody knows how to make another level down? This are the code: Code: <div id="bluemenu" class="bluetabs"> <ul> <li><a href="#" rel="dropmenu1_b">Administrator</a></li> <li><a href="#">Member</a></li> <li><a href="#" rel="dropmenu2_b">Testing</a></li> </ul> </div> <!--1st drop down menu --> <div id="dropmenu1_b" class="dropmenudiv_b"> <li><a href="#">admin1</a></li> <li><a href="#">admin2<a></li> </div> <!--2nd drop down menu --> <div id="dropmenu2_b" class="dropmenudiv_b"> <li><a href="#">test1</a></li> <li><a href="#">test2</a></li> </div> Hi guys I want to add some php files into my frontpage html files, please let me know how to do this. I tried many things but fail. Please guide me. Thank you GCS Most people are familiar with the basic extensions that web pages have such as HTML, HTM, or PHP, but the extension SHTML is not seen as frequently and it is important to note it when you see it. Today's web browsers can inform you whether or not a web page is secure, which means that any information that you enter cannot be intercepted, so it is a good idea to see whether or not you are on a secure web page. As you might have guessed, SHTML would stand for Secure HyperText Markup Language or Secure HTML. This type of page format would not be important for a typical video or content site, but if you are on a web page where you need to enter sensitive financial information then it is important to know that your information is secure. ... I am having issues with a flash intro and decided to try and just place it on a separate page when visiting my father's website - www.raymorteam.com. So I took all of the code currently on his homepage and created a copy of the page - http://www.raymorteam.com/files/35241/Main_Page.html However, I only want the copy page to show www.raymorteam.com in the addressbar. How do I go about doing this? I've seen it at www.ch131.com. Take a look at that page - any link you click will only show the parent web address in the address bar. I want my father's page to do that for this specific page. Thanks. Hi all, I'm working on a project to make my job a little easier. A brief description is that I have to write up case notes and when I am finished with the notes I submit them. What I am looking for is a code so when I hit the submit button on the tool I created, it will create a log file and save my case notes to that log file. The tool that I created is html based and it's on my local computer. I would also like for it to create the log file on my local computer. Is this possible? A good example is like a messenger service like msn or yahoo IM. When you are done talking to someone it creates a log file of the conversation. Im looking for something like that but that creates a log when I hit the submit button. Any ideas? Best regards, Kris Hi all! I've got a very strange problem with a webpage: If you type http://www.varbanovsoft.com/ images are not correctly displayed but if you type http://www.varbanovsoft.com/index.html they appear!! Any idea? I'm completely lost ... Thanks!! T I'd like to have a html file where i can pass over the variables from another html file i.e. title = "Image 01" Image = image.jpg description = "image 01 description test" then with a link open the html file with this variables. thanks. Okay, here is my example. www.whatever.com/blah.html Where blah.html is the html file. Is there a code that each time someone requests blah.html off the server, www.whatever.com/blah.html won't come up in the address. Is there a code that will make it have a different file name each time in the address? I found this script I like and want tou use. But I want to move the CSS from the the HTML file to it's own CSS file. Hi, Im trying to make a jsp page but dont know how to let the user select a file from their home directory using HTML. Something similar to the JFileChooser in java is what im hoping for. Any ideas? |