Forum Home
|
Marketplace
|
Articles
|
Blogs
|
Interviews
|
Tools
REGISTER
|
SEARCH
|
MEMBERS
|
F.A.Q.
Register Here
Forum Rules
Webmaster-Talk.com
>
Coding Talk
>
HTML Forum
>
hiding domainname/index2.html
Link Back
Thread Tools
Search this Thread
hiding domainname/index2.html
11-02-2009, 12:02 PM
#
1
(
permalink
)
hiding domainname/index2.html
mwaraitch
Novice Talker
Posts: 7
Trades:
0
Talkupation:
Hi,
Is there a way that I can hide abc.com/index2.html and make it appear like abc.com in the browser while actually abc.com/index2.html is displayed to site visitor and not abc.com/index.html
Last edited by mwaraitch; 11-02-2009 at
12:08 PM
..
When You
Register
, These Ads Go Away!
11-02-2009, 12:13 PM
#
2
(
permalink
)
Re: hiding domainname/index2.html
chrishirst
Super Moderator
Latest Blog Post:
A Simple DHTML Tabbed Interface
Posts: 22,282
Location: Blackpool. UK
Trades:
0
Talkupation:
if you are on Apache put this line in htaccess
[code]
DirectoryIndex index2.html index.html
[code]
__________________
Chris. ->>
Links are
advertising
NOT
optimising
!!
<<-
Growing old is mandatory - Growing up is optional
Code Samples
|
People Counting System
|
Bits & Bobs
11-02-2009, 12:39 PM
#
3
(
permalink
)
Re: hiding domainname/index2.html
weker
Super Talker
Posts: 100
Trades:
0
Talkupation:
You can do this with htaccess.
RewriteRule ^index.html$ index2.html [NC]
__________________
hostgator coupon
hostgator coupon
Webmaster Forum
11-08-2009, 03:39 AM
#
4
(
permalink
)
Re: hiding domainname/index2.html
shaliwahan.pati
Average Talker
Posts: 15
Name: Shaliwahan
Trades:
0
Talkupation:
How to do that with IIS 6.0
__________________
What exactly is Advertising
Learn to make money from blogs/Websites
The Stories behind some Great Inventors and their Inventions
11-08-2009, 05:56 AM
#
5
(
permalink
)
Re: hiding domainname/index2.html
chrishirst
Super Moderator
Latest Blog Post:
A Simple DHTML Tabbed Interface
Posts: 22,282
Location: Blackpool. UK
Trades:
0
Talkupation:
Depends on your access to the server or what control panel you have.
But you add the file name to the list of default documents and move it to the top of the list.
__________________
Chris. ->>
Links are
advertising
NOT
optimising
!!
<<-
Growing old is mandatory - Growing up is optional
Code Samples
|
People Counting System
|
Bits & Bobs
« Reply to
hiding domainname/index2.html
Previous Thread
|
Next Thread
Webmaster-Talk.com
>
Coding Talk
>
HTML Forum
>
hiding domainname/index2.html
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Webmaster Resources Marketplace:
Software Development Company
|
Webhosting.UK.com
|
Text Link Brokers
|
Dedicated Server Hosting
|
Managed Hosting
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
Mark Forums Read
-
View Forum Leaders
-
Contact Us
-
Webmaster Forum
-
Advertise
-
Archive
-
Privacy Statement
-
Top
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Furl this Thread!
Page generated in
0.12049
seconds with
13
queries