Remove .htm From Web Address

Inked wrote on 7/12/2022, 3:22 PM

Hi guys

I have built a website using xara web designer.

The problem I have is that I need to put .htm at the end of all my web addresses to access them.


For example.

I would like to visit web page:

www.domain.uk/about

But to do this I need to put in:

www.domain.uk/about.htm


Can you tell me what I need to do to fix this?

Thanks

Comments

johnebaker wrote on 7/13/2022, 3:55 AM

@Inked

Hi

. . . . The problem I have is that I need to put .htm at the end of all my web addresses to access them. . . .

HTML is the standard markup language for Web pages and the file must have a file extension to indicate the type of file - this can be .htm or .html - Web Designer uses the former and is following the W3C standards for websites.

To do what you are proposing will break your website - the .htm file extension is a requirement for the website to work, it indicates to the browser that it is receiving a HTML file and then can display it correctly.

Another point to note is that the home page must be called index.htm - this is the name the web server itself requires in order to automatically find the 'entry point' ie home page of the website.

HTH

John EB
Forum Moderator

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

emmrecs wrote on 7/13/2022, 5:51 AM

@johnebaker

Hi John,

Is the absolute requirement to include the file extension when attempting to enter a web site, which I think is what @Inked is asking, not browser dependent?

I can type a web address into my browser, Chrome, and do not need the file extension in order to open the page. I also tested this in the IETab extension in Chrome, same outcome: .htm or .html not needed.

Jeff

Win 10 Pro 64 bit, Intel i7 Quad Core 6700K @ 4GHz, 32 GB RAM, NVidia GTX 1660TI and Intel HD530 Graphics, MOTU 8-Pre f/w audio interface, VPX, MEP, Music Maker, PhotoStory Deluxe, Photo Manager Deluxe, Xara 3D Maker 7, Samplitude Pro X7 Suite, Reaper, Adobe Audition 3, CS6 and CC, 2 x Canon HG10 cameras, 1 x Canon EOS 600D, Akaso EK7000 Pro Action Cam

johnebaker wrote on 7/13/2022, 2:10 PM

@emmrecs, @Inked

Hi

If you are trying to access a site through a specific page that is not the home page (index.htm which it is not necessary to type) then the file extension must be typed irrespective of the browser.

Using the example Inked posted - www.domain.uk/about

There is no indication of what the file type is - it could be for example: .htm, .html, .php, .js, .asp, .shtm or .shtml  the server does not know which type or if it is present on the server without the extension.

The only web page that does not need to be specified in a URL is the home page index.xxx. The web server expects the home page to be called index.xxx where xxx is any of the file extensions above, just using the domain name as the URL it will search for and deliver the homepage.

The web page formats I have italicised are not supported in Web Designer, ie it cannot create a website based on these formats which require server side 'programming', nor can Web Designer connect to or use databases - MySQL and Microsoft SQL Server are the 2 most popular for web sites.

John EB

 

Last changed by johnebaker on 7/13/2022, 3:25 PM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

emmrecs wrote on 7/15/2022, 3:47 AM

@johnebaker

Hi John,

Yes, I think I misunderstood what @Inked was asking!

Jeff

Win 10 Pro 64 bit, Intel i7 Quad Core 6700K @ 4GHz, 32 GB RAM, NVidia GTX 1660TI and Intel HD530 Graphics, MOTU 8-Pre f/w audio interface, VPX, MEP, Music Maker, PhotoStory Deluxe, Photo Manager Deluxe, Xara 3D Maker 7, Samplitude Pro X7 Suite, Reaper, Adobe Audition 3, CS6 and CC, 2 x Canon HG10 cameras, 1 x Canon EOS 600D, Akaso EK7000 Pro Action Cam

Inked wrote on 7/18/2022, 1:48 PM

Sorry for the late reply and thanks for all the replies so far.

 

I think @emmrecs is right in what I mean.

I am unable to visit the about page without putting the .htm at the end.

 

I remember website url's needed things like this many years ago (the same with having to input the www. at the beginning of a URL) but we have moved on since then.

 

For example if we even look at this very web pages URL it doesn't display the .htm or .html at the end.

johnebaker wrote on 7/18/2022, 3:26 PM

@Inked

. . . . For example if we even look at this very web pages URL it doesn't display the .htm or .html at the end. . . . .

It wont, this site is a Content Management System (CMS) driven website, with jQuery scripting and a database at the back end.

CMS software you may have heard are WordPress, Drupal or Joomla, and they are installed on the server, they are very different from Web Designer which produces standard HTML web sites, and also uses jQuery.

John EB

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

Inked wrote on 7/18/2022, 4:37 PM

So there is no way I can give out a URL to somebody without telling them to put .htm at the end if I use Web Designer?

emmrecs wrote on 7/19/2022, 3:53 AM

@Inked

So there is no way I can give out a URL to somebody without telling them to put .htm at the end if I use Web Designer?

Not if you wish to direct them to a specific page rather than the Home page of the site. By the way, this is not a "feature" unique to Web Designer.

Jeff

Win 10 Pro 64 bit, Intel i7 Quad Core 6700K @ 4GHz, 32 GB RAM, NVidia GTX 1660TI and Intel HD530 Graphics, MOTU 8-Pre f/w audio interface, VPX, MEP, Music Maker, PhotoStory Deluxe, Photo Manager Deluxe, Xara 3D Maker 7, Samplitude Pro X7 Suite, Reaper, Adobe Audition 3, CS6 and CC, 2 x Canon HG10 cameras, 1 x Canon EOS 600D, Akaso EK7000 Pro Action Cam

Inked wrote on 7/21/2022, 12:25 PM

I managed to resolve the problem by using a htaccess file 👍