/    Sign up×
Community /Pin to ProfileBookmark

First page of site

I know no one that can answer this….I hope you can.

I have a client that wants the opening page of their website to be an image. The page cannot be called ‘index.php’ because that is their home page. When you click on their domain name, they want it to go to say image.php. They can then click hotspots on the image to click through to the index.php page….their home page.

Can it be done?

to post a comment
Full-stack Developer

5 Comments(s)

Copy linkTweet thisAlerts:
@DamienMar 06.2003 — Are you hosted on an apachy server? Your hosting provider would have to edit configuration in httpd.conf file.

This file says what is opened when the domain is called, most providers would have index.html, index.php, default.htm in there.

I have never tried it with an actual graphic. If you host cannot do this, then put the graphic on index.html and remove index.php form the httpd.conf file
Copy linkTweet thisAlerts:
@milneauthorMar 06.2003 — I think I got it. I will point my DNS using a redirect to the page say in /web/index.html.

Then when they click through, it will go back to index.php. It would be easiest I know to change the content of index.php but I am using PHPNuke and I think that would be too much effort.

Thanks for the input.

Yes, it is Apache but where it is hosted it would screw up everyone else they say.
Copy linkTweet thisAlerts:
@jeanneMar 08.2003 — You know, I didn't really understand that . . . could you come again with it?

I have just put in a page with browser-redirects and a bandwidth redirect, the first is index.htm (well, ok, it isn't php.........) so where should I put the metatags? It's very confusing. Plus, when they go back (though I've renamed index to index1 on the references inside the site, or honestly, should have and am about to) they'd have to get the few seconds of bandwidth testing again if they go back to index.htm, although a cookie could help that..............

Hope you don't mind me tacking this question on here, as it seems related. Didn't know you could DO a whole site in php with indexes and such (know nothing of it . . . )

Anyone who could give ideas on this problem.....?
Copy linkTweet thisAlerts:
@DamienMar 09.2003 — Hi Jeanne,

Let’s do a quick crash course on how servers work. When you type any a url into a browser, it’s a request to view pages within a certain folder on a webserver. There maybe many pages inside this folder(s) therefore the software needs to know which file to open first. The httpd.conf file on the server handles this.

The default value (linux) is index.html, If the index page is not there, then you get an error 404 page.

However, by editing the httpd.conf file entry for that particular site, you could nominate a number of pages such as default.html or index.php or all three of the pages we just mentioned.

Nearly all modern servers (linux) have index.php inside their httpd.conf already, so if your uploading a site which is entirely in PHP , like phpNuke , postNuke or osCommerce then there is no need for html pages at all.

If your site does not open in index.php get your host to add it, it’s only 30 seconds work.

P.S. Search engines do not like meta refresh tags. Have a look at some of the articles on it at SearchEngineWatch.
Copy linkTweet thisAlerts:
@jeanneMar 09.2003 — I thought the search engines LOVED them and . . . maybe everyone overdoing it was why they got tired of the darling little tags.

Well, onward & upward! I've heard of SearchEngineWatch, will check it out!

Thanks for the links!
×

Success!

Help @milne spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...