473,406 Members | 2,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to change url from index.html to prettier /home

I am a beginner in website building and i would like to know a way to change the urls on my site that have extension .html and .php (for one form) into "prettier" structure, without .html extension, but something like /home or /gallery /contact
etc...

Many thanks for any answer!
Nov 29 '13 #1
5 1658
you have to download htaccess file,but i am not sure??
Nov 29 '13 #2
Ah, so i have to use htaccess and write redirects, i will look into it, thanks for the hint!
Nov 29 '13 #3
Dormilich
8,658 Expert Mod 8TB
essentially, it depends on what server you use. for most classical servers the above said holds true. but for instance a JavaScript server (Node.js) has somewhat built it in.
Dec 1 '13 #4
Exequiel
288 256MB
you can use codeigniter for that kind of problem, you can visit this site http://ellislab.com/codeigniter to dowload it and this http://ellislab.com/codeigniter/user-guide/ for its user-guide. . .
Dec 2 '13 #5
Hi,
If you want to change the .html extension mean you just set the sh404sef plugin other then you edit this .htaccess file cide
Jan 30 '14 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

22
by: Anoop Ghanwani | last post by:
In my public_html directory, I have a bunch of files: index.html x.html, y.html, etc. When a user accesses the domain without a file name, he/she automatically accesses the index.html file....
8
by: Rob | last post by:
I'm sure this must be something incredibly simple but I just can't see what the problem is. I have some webspace which is accessed along the following lines http://site.address.com/subdir/ ...
2
by: Clay Harryman | last post by:
I've found a script that will force-load index.html. It is below: (thanks to the authors!) <!-- Hide script from old browsers // This script copyright 1997, Tom Negrino and Dori Smith. // This...
2
by: John Cook | last post by:
Is there any java script that you can use to name the window when index.html loads? By default when index.html loads it has no name.
0
by: Oleg Ogurok | last post by:
Hi there, In 2.0, is there a way to configure an application to interpret index.html as one of the default pages (e.g. like default.aspx) ? In other words, if I type http://localhost/MyDir/, the...
1
by: giggs | last post by:
hi... can u please help me about, linking a html page which is Index.html to another php page
3
chunk1978
by: chunk1978 | last post by:
hey, i have a SUPER dumb question that i just don't know the answer to... ok... so when you goto a website, like www.oprah.com... the address will change to www.oprah.com/index.html but other...
2
by: tupaqf | last post by:
www.capitalthefilm.com needs an index page that'll redirect browser to capitalholdingsite.swf without changing flash properties can someone tell me what the code should be? thanks!
3
by: sickboy | last post by:
$channels=$_GET; if (empty($channels)) { $channels='blank'; } changechannels($channels); $theatre=$_GET; if (empty($theatre)) { $theatre='splash'; } changetheatre($theatre); $info=$_GET; if...
1
by: Manish83 Joshi | last post by:
I have installed IIS-5.1 but I am unable see my html page even I created Test folder as virtual directory. I can see in IIS-Index.html but when I start IE-8 and address as...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.