Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I rename my main page to a "test page"?


Sharon_U

Recommended Posts

Posted

Hi, I've tried searching the forum for a solution, but not sure what to call it. While I'm still customizing and adding products to my new OS website I don't want it to come up directly - I don't people to see it half finished, etc. How do rename my main page to something like test.php or something that people don't know, and only I can see it by going to it directly...? Keep in mind I'm a newbie and laymen directions would be appreciated.

 

Also -maybe there is a better way of doing this. Can someone please offer their suggestions?!

 

Sincerely,

Sharon

Posted

This should work for you.

 

1st you have to rename the index.php page to whatever you want it to be. Then you will have to take the whole store and do a "find/replace" of every occurance of index.php to the filename you want.

 

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Posted

Hey Kevin (I remember you;*), thanks for chiming in. Your idea sounds great but so "permanent" and I could easily get confused changing the files back. I'm just starting to learn PHP and play with my new site.

 

Sorry to ask again but can you think of something else that is temporary for about a week?

 

Sincerely,

Sharon

Posted
Hi, I've tried searching the forum for a solution, but not sure what to call it. While I'm still customizing and adding products to my new OS website I don't want it to come up directly - I don't people to see it half finished, etc. How do rename my main page to something like test.php or something that people don't know, and only I can see it by going to it directly...? Keep in mind I'm a newbie and laymen directions would be appreciated.

 

Also -maybe there is a better way of doing this. Can someone please offer their suggestions?!

 

Sincerely,

Sharon

 

Make yourself a index.html page that says opening soon or whatever you want and upload to your site. Most servers are set to show the index.html before the index.php file.

 

Or you can install your store to a test folder and then when you are done copy it to the root and change the path in your two configure.php files and you are good to go.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
Make yourself a index.html page that says opening soon or whatever you want and upload to your site. Most servers are set to show the index.html before the index.php file.

 

Or you can install your store to a test folder and then when you are done copy it to the root and change the path in your two configure.php files and you are good to go.

 

 

That is what I wasn't aware of. So, based on the order of how you define your {index/front) page on your server setup, it loads the pages in that order?,.... if it doesn't find the 1st one in the list?..... it goes to the next one in the list. I've had 2 or more index files and I wondered why one index page would load and not the other... although I uploaded the other.

 

Thank you for that info... It is very much appreciated.

 

You learn something NEW EVERYDAY!!!

 

 

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Posted

Hi all again, I just moved my OS files (reluntantly because I'm new at this) to the root to avoid an intro page and hearing that it's better for search engines. As you know with the normal installation I had the "store" folder. In doing this it seems to override the index.htm that is there. If there is a setting in my cpanel that points to the index.htm before the index.php, let me know and I can look at it. Anyways hindsight I should have renamed that to "test" because the shop is live if you type the domain directly.

 

Thanks for all the help!

 

Sincerely,

Sharon

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...