I need to rename the original index.php, but I'm finding more than one. Which one do I change?

Asked by:
MTPockets / 54 Points
Time:
2013-08-22 9:33 pm EST
Category:
Billing
Hits:
388
I have an age verification page that I want to use that is named index.php In order to use it the way the code is written I need to rename the original index.php to something else. The problem I have is which index.php do I change? I have found several on [...]

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

johnpaulb-whh2
Staff
9,026 Points
2013-08-23 10:25 am EST
Hello MTPockets,

Thank you for your question. We are happy to help, but it is difficult to say, because it depends how your site is structured.

Your /public_html folder corresponds to your website: domain.com

For example if you create a file called test.php in the /public_html folder you can access the file at:
domain.com/test.php

If you need to change the main index.php file, it is most likely in the root of your webpage (the folder it was installed in).

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.