Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
hiding domainname/index2.html
Old 11-02-2009, 12:02 PM hiding domainname/index2.html
Novice Talker

Posts: 8
Trades: 0
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..
mwaraitch is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2009, 12:13 PM Re: hiding domainname/index2.html
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
if you are on Apache put this line in htaccess

[code]
DirectoryIndex index2.html index.html
[code]
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-02-2009, 12:39 PM Re: hiding domainname/index2.html
Extreme Talker

Posts: 185
Trades: 0
You can do this with htaccess.
RewriteRule ^index.html$ index2.html [NC]
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
weker is offline
Reply With Quote
View Public Profile
 
Old 11-08-2009, 03:39 AM Re: hiding domainname/index2.html
Average Talker

Posts: 15
Name: Shaliwahan
Trades: 0
How to do that with IIS 6.0
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

shaliwahan.pati is offline
Reply With Quote
View Public Profile
 
Old 11-08-2009, 05:56 AM Re: hiding domainname/index2.html
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to hiding domainname/index2.html
 

Thread Tools Search this Thread
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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23528 seconds with 12 queries