Jul 25, 2008

Help With Changing A File - my index.php to cmps_indes.php

Free Web Hosting, No Ads > General > Hosted Members Area

free web hosting

Help With Changing A File - my index.php to cmps_indes.php

dymondgurl
Can someone helpme please because I need to know how to change the default page from index.php to cmps_index.php

Reply

BuffaloHELP
Please use more descriptive topic title next time. I'm editing it.

If you are using FTP, simply click on the file you want to rename by right clicking and just rename, including the extension, and you are all set.

If you are using cPanel, go to your file manager and click on the file. You will see many options to your right and select the "rename" and you'll be all set.

I just want you to know that when you don't have any index (html, htm, php etc) in your public_html folder, your entire content listing will show when someone goes to your website. Be very aware! Okay? And your cmps_index.php will not be the first page that everyone sees for your site.

Reply

dymondgurl
QUOTE(BuffaloHELP @ Aug 31 2005, 11:26 PM)
Please use more descriptive topic title next time. I'm editing it.

If you are using FTP, simply click on the file you want to rename by right clicking and just rename, including the extension, and you are all set.

If you are using cPanel, go to your file manager and click on the file. You will see many options to your right and select the "rename" and you'll be all set.

I just want you to know that when you don't have any index (html, htm, php etc) in your public_html folder, your entire content listing will show when someone goes to your website. Be very aware! Okay? And your cmps_index.php will not be the first page that everyone sees for your site.
*

Thank you very Much BuffaloHELP and sorry about the thread title. But the problem is the forum home page is named index.php and I can't rename it. So i want something to point to cmps_index.php as the home page. I was so sure I saw it before in the cpanel. Maybe I am wrong though.

 

 

 


Reply

BuffaloHELP
QUOTE(dymondgurl @ Sep 1 2005, 12:33 AM)
I was so sure I saw it before in the cpanel. Maybe I am wrong though.
*


Access your cPanel. Go to File Manager. A new window will open. Go and find your file to be renamed. Click on the name. On the top right side you will see list of commands you can perform on that file. Select the rename file option. And you get to rename the file however you'd like, how many times.

Reply

dymondgurl
QUOTE(BuffaloHELP @ Aug 31 2005, 11:37 PM)
Access your cPanel. Go to File Manager. A new window will open. Go and find your file to be renamed. Click on the name. On the top right side you will see list of commands you can perform on that file. Select the rename file option. And you get to rename the file however you'd like, how many times.
*


This is telling me how to rename the default page but I would like to change it not rename it. Sorry if my questions are dumb.

Reply

guangdian
all right , i know your question.

you can do as that.

there is a index.htm or index.php on your dir,yes?
so let's empty the index file just fill it with this code below:
CODE

< META http-equiv="refresh"content="0;url=http://YourURL.com/dir/cmps_index.php">


if this could help me i will be more pleasure

Reply

BuffaloHELP
QUOTE(dymondgurl @ Sep 1 2005, 12:20 AM)
Can someone helpme please because I need to know how to change the default page from index.php to cmps_index.php
*


Oh I see, I'm sorry. When you wrote just this I assumed that you wanted to rename your index to cmps_index. I also changed your title to suit your question. Your question is not dumb just that I'm having bit of hard time understanding what you want to do. You said to "point to cmps_index" but from where? From your forum as a link or when someone types www.yoursite.trap17.com it goes to cmps_index? What you are saying is that when someone types your address it goes to your forum page because the forum was created with the initial filename with index.php?

Reply

electriic ink
Perhaps a quicker way of doing this is to create a file called .htaccess in your forums directory (or edit it if it already exists) and add the bottom this line of code:

CODE
DirectoryIndex cmps_index.php


This doesn't trigger a redirection but instead it changes the index file so that you when you type in http://yourdomain.com/dir/ to the location bar you don't get redirected to but still see cmps_index.php instead of index.php

Reply

kasm
QUOTE(dymondgurl @ Sep 1 2005, 03:20 PM)
Can someone helpme please because I need to know how to change the default page from index.php to cmps_index.php
*


I have question. Is your site hosted in trap17?. I see that your site is from 100 webspace.com. If your site is hosted in trap17. for example http://www.dymongurl.trap17.com then of sure you have http://dymongurl.trap17.com as well. So I have idea for you, put the files related to the forum in one of them and put the normal site in another . The index file in the two group are different. You can keep the old site and redirect it to the forum site in trap17.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. how to remove this file "index.html" and replace it with my own index.html file so i can view my website - 115.67 hr back. (1)
Similar Topics

Keywords : changing file index php cmps indes php

  1. Question About Changing Domain Names. - (8)
  2. My File Manager Is Working - (2)
    I tried to change the html for my site in file manager but it just has the default page - the one
    when you activate your site. /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' />
    How do i change files?...
  3. File Manager Not Working - (2)
    When I goto upload files using the file manager(legacy mode), the files do not upload correctly.
    Every time I try to upload a file, it takes the time to upload it, but the file always comes out
    being 0kb so it does not upload the file. Why is this happening?...
  4. Issues Uploading A File [resolved] - (3)
    Hi there. I have been trying to upload a zip file only about 2mb to my account through CPanel.
    First I tried uploading it to a new folder in public_ftp. Then i tried to put it in the main part
    of public_ftp. I also tried the same thing in public_html. It shows the file being uploaded, and i
    get 100 %, but alas, when i look in the folders nothing is there. Is there a restriction on .zip
    files? I have had no problems as of yet uploading htm and html pages. Please let me know ASAP.
    Thank you....
  5. Unable To Replace .png File In Directory - Can't even delete it using Cpanel (7)
    I can't delete a little file using file manager in Cpanel. I'm trying to delete a .png
    image, actually, I'm trying to replace it. The response comes back as a success, but when I
    reload my site it's still there. Then I go back to the file manager and go up a level, then back
    and WOOP! There it is! I'm beyond frustrated here. What is going on?...
  6. How Do I Make A (video) File Smaller? - (11)
    Ok, I want to host a video that I have in my computer, but the problem is that the video is too
    big, 790MB. My host can't handle a file that huge so I was wondering if there is any way I can
    make the video file in my computer smaller? I don't want to mess up the video and make it
    smaller, I was wondering if I can keep the current 790MB video that I already have but copy only
    about 10MB of the video into a new file that I can use for hosting. Anyone know?...
  7. Cannot Delete Folder After Lost Ftp Connection - permission not given to delete file (7)
    hello, well i had created a subdomain and was transferring files into the folder i was disconnect
    from the server many times while uploading the files via ftp once when i reconnect, i saw a file
    with an unusual name something starting with preftp... i tried deleting the file, but it said that
    permission was not granted to do that i tired deleting the complete folder and also tried deleting
    the subdomain from the cpanel but it was of no use can anyone help me with this? thx for your time
    Modified topic title. ...
  8. Changing Dns Records - How to change my DNS records? (5)
    I need to change my DNS records, that is, to add several CNAME records... Now, I registered my top
    level domain (.net) through my ISP, and they in turn registered my domain at some other registrar...
    Now, my ISP doesn't give me CPanel to update my DNS info, if I don't buy their hosting plan
    (which is pathetic compared to Trap17 free account)... I had them change my nameservers to Trap17
    servers, and now, they tell me I need to edit CNAME records on Trap17 nameservers... I must admit
    I'm not really familiar with how all that DNS administration works, so I want...
  9. Ftp Problem - zero file-length? (8)
    I'm using FileZilla right now, and trying to upload a second copy of WordPress onto the account
    to use as a comic repository. For some reason, a lot of the files are missing, and when I look into
    the folders, I see that a lot of the files have a filelength of 0. What gives? Could someone
    please help me out?...
  10. Changing Trap17 Domain? - (2)
    Hello. I think I've heard about this somewhere or another on this site, but am not sure.
    Currently, my domain is http://sherwoodinfo.trap17.com ...is there any way I can get it changed to
    http://sherwood.trap17.com , I checked and it seems that is available. Thank you!!...
  11. /tmp Folder In File Manager - (4)
    I know awhile back there was a question brought up about the /TMP folder taking up space, and if
    anyone remembers that topic do you remember if TMP was an acronym for temporary, and can you safely
    delete the contents in that folder? Right now I am cleaning out my hosting account and the files in
    that folder are the only ones taking up space at the moment....
  12. Got A Great Phpbb File With Mods Already Installed? - If you do put it here. (3)
    As the name implies, I think it would be a good idea to giving those who aren't really "mod
    savvy" a chance to look at what phpBB's could look like with some regular mods installed. If
    this thread is innappropriate I'll be glad to delete it away or rather, I give permission to
    have it deleted if it isn't appropriate....
  13. Changing Domain Name Without Losing High Traffic To My Site - Need Answer From Admin (13)
    I have a doubt to do what i want, so i am going to the point, m ysituation is that i have a trap17
    free subdomain where i have my free flash clocks website, and its link is
    http://free-flash-clocks.trap17.com . Recently i bought a domain name, its link is
    www.freeflashclocks.com , and what i want to and i am not certain if i can is that i want to,
    redirect all the visits of my free subdmain to my new domain, just for 1 or 2 months, if that is
    possible, i apreciate it if it is not but you allow it because i have thousands of visitors a day
    (~7000/day) and it is growing...
  14. Changing Domain Names Question - (1)
    i know where to go to change my domain name for 15 credits, but before i do, i need a question
    answered my subdomain on trap is wildcat-exotics. i just recieved my free domain
    name(wildcatexotics.com) and used it as an addon domain. i don't wish to do this. i also have
    another addon domain to my trap account called petsxpress.info for a total of two addon domains to
    my wildcat-exotics account. my question is, when i change domains from wildcat-exotics.trap17.com
    to wildcatexotics.com, do i need to change anything or delete anything in my cpanel? how will my
    addon d...
  15. Question About Changing Hosting Type. - (5)
    I was wondering if it is possible to do the following thing with my trap17 account. Since school
    has come by again I keep finding it harder and harder to keep my credits up because a lot of nights
    I don't even get to look at the computer. I also have noticed that I am not really using trap17
    for hosting a lot of websites but more files and such not. I was wondering if I am able to
    downgrade my account for the time being to the account with the "One text ad" version. But a
    question on that, that I have is: if I host an image with my account that way and put the ima...
  16. File Permissions And Umask Question ?help Pleases - file permissions and umask question ??help pleases (2)
    when i create new file using ftp or the file manger the file get the default permission of (rwx-r-r)
    when any php script create file it gets the sam permission right but i cant edit any new file crated
    by the php script i cant even Chang the permissions for it i have to delete the file and create new
    one why ???? and if the new file was a folder i cant edit any thing inside of it and how can i fix
    this??? I'm fumler with the file permissions cause i use Linux debian /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> i just don...
  17. File Transfer From Angelfire To Trap17? - P.S. I use my Wii. (1)
    I'm wondering, how would I do this. Also, how would I install IPB or PHPBB3. I just have those
    questions....
  18. File Manager Problems - (3)
    Alright, I figured out the edit html windows need to be refreshed each time opening them for them to
    show the last updates so you don't just work off the old, un-updated version and mess everything
    up (which really should get fixed). The problem that most annoys me though is when I try deleting
    files and the File Manager doesn't delete them. I try uploading updated files over them and it
    doesn't update them, but just keeps the old ones there. It's getting really annoying. And
    when I try deleting stuff from the Trash Can, it never deletes it. Sometime...
  19. New Issue - File manager (4)
    First of all, thank you a lot for resolving the password issue. Today I encountered a new one once I
    tried to upload a file using cpanel file manager - the window refreshed, but the "upload status"
    frame remained unchanged, and the file did not appear on the list. What could be a reason for that?...
  20. Site Management Tools: Look Before You Leap! - The danger of using Index Manager and other .htaccess altering tools.. (3)
    A few minutes ago I was looking at site management tools section in my Control Panel. The tool
    "Index Manager" caught my eye. If I used it, then I wouldn't need to create placeholder pages in
    my folders with no index pages /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" /> What I had forgotten is that I already had an .htaccess file in my site.
    Needless to say, enabling this option took down my whole site instantly and displayed an "Internal
    Server Error" message. How stupid of me! /wacko.gif" style="vertical-align:middle" em...
  21. Index - (1)
    Okay, that might be a stupid question, which it probably is. I apologise in advance, but I
    couldn't find answer to it in the manual. I hava a website basis that I've already uploaded,
    but I cannot access any of the pages on it - when I go to http://studentunion.trap17.com/ I get
    the screen with congradulations, not my starting page, although I followed the instructions on the
    page. When I manually try to access the index.php file through the address bar - it says that the
    file does not exist although I gave all the necessary permissions for anyone to view it. H...
  22. Help With A .rar File In Ftp Server - Cannot unrar the file. (4)
    I uploaded a .rar file into my FTP but I cant unrar it. I have uploaded it before in zip format but
    I think it got curropted so I reuploaded again. is theren a way to unrar this file? I am concerned
    about this because it took me quite some to manage to upload it using a very slow internet
    connection. I need help here please,....
  23. Making Changes To Subdomain Name - Changing the bit before"trap17" (2)
    I have read somewhere in the forums it is possible to change your subdomain (i.e. the part of your
    name that comes before 'trap17.com'). I have not found anywhere how to do so, however. So,
    sorry if it was already posted somewhere and I missed it, but could someone let me know how this is
    done? At the moment I have vlaanderen-flanders.trap17.com, how could I change the
    'vlaanderen-flanders' bit? All help will be much appreciated. ...
  24. Can't Edit Index - in file manager (3)
    when i open my sight, www.blockwars.trap17.com i get Parse error: syntax error, unexpected T_STRING
    in /home/khalilo/public_html/index.php on line 6 I don't even have an index.php file O_o I have
    a index.html its coding is: CODE <html> <head> <title></title>
    </head> <body bgcolor= black> <font color=red>welcome</font>
    </body> </html> but why isn't it being opened O_o?...
  25. Php Nuke Index Shows Blank Page - php nuke problem (2)
    hey i have just get hosting a few days ago but what is this problem i uploaded nuke 7.6
    r3load.trap17.com/index.php but i cant able to see any thing in explorer how can i fix this problem
    is there any security on by default .... please told me i am new here... ? Topic title modified. ...
  26. Error Trying To Edit File Using Cpanel Filemanager - Can't save any changes (8)
    Okay, I am having trouble saving changes to a .css file using the cpanel filemanager. Basically it
    worked for me a couple of times (trying to edit "compiled.css") but now it just throws this error at
    me every time I click save!! I cannot delete, move, rename or edit the file at all using an
    ftp manager or even the cpanel. I have been forced to take my site offline until I have access to
    update the css... Please help! QUOTE open compiled.css failed: Permission denied at
    cpanel.pl line 444 Carp::croak('open compiled.css failed: Permission denied...
  27. Question About Accesing Site After Changing Domain [resolved] - Anyone have answers (2)
    Just wanted to make sure that I didnt screw up things. Either way i just currently had the domain
    name changed here on Trap17. So I have made that change as well as I also pointed the servers for
    my domain to trap 17. So now my question is to i need to wait until the servers read my domain..
    beore i can access anything or should I be able to already do taht. Reaso is Now once i go to my
    domain I see the default page from the domian company i bought from. But I can access the CPanel
    for my hosting here. and it shows it made the change on the domain, but I cannot ...
  28. Problem Changing Domain - Cannot Use my own domain, possibly ecause of qupis (4)
    I have a problem reverting to using my domain www.projectjim.co.uk after putting it up for hosting
    by qupis. I would like to use this on my hosting plan instead of the subdomain of trap17 I currently
    have. I used the domain change script, but it fails each time I use it. I have tried this multiple
    times and on two different computers, one at school and here at home. But it still guffs out on
    me! I have changed my nameservers back to (ns1 & ns2).trap17.com Although even after a couple
    of days for the n.servers to switch back, my site hosted on qupis (and nowhere else...
  29. File Manager In Cpanel Doesn't Work With The Browser Konqueror - (1)
    The version of Konqueror that comes with Knoppix 5.1 doesn't support the file manager in the
    cPanel. I've included a picture. However the File Manager works just fine with
    Iceweasal, the equivelant browser to Firefox. ...
  30. Changing Index\main Page [resolved] - The default index wont go away (5)
    My default index from trap17 wont go away. I went to file manager and replaced the index.html file
    with my own index.html, but the main page wont change. What am I doing wrong?...



Looking for changing, file, index, php, cmps, indes, php

Searching Video's for changing, file, index, php, cmps, indes, php
Question
About
Changing
Domain
Names.
My File
Manager Is
Working
File Manager
Not Working
Issues
Uploading A
File
[resolved]
Unable To
Replace .png
File In
Directory
Can't
even delete
it using
Cpanel
How Do I
Make A
(video) File
Smaller?
Cannot
Delete
Folder After
Lost Ftp
Connection
permission
not given to
delete file
Changing Dns
Records How
to change my
DNS records?
Ftp Problem
zero
file-length?
Changing
Trap17
Domain?
/tmp Folder
In File
Manager
Got A Great
Phpbb File
With Mods
Already
Installed?
If you do
put it here.
Changing
Domain Name
Without
Losing High
Traffic To
My Site Need
Answer From
Admin
Changing
Domain Names
Question
Question
About
Changing
Hosting
Type.
File
Permissions
And Umask
Question
?help
Pleases file
permissions
and umask
question
??help
pleases
File
Transfer
From
Angelfire To
Trap17? P.S.
I use my
Wii.
File Manager
Problems
New Issue
File manager
Site
Management
Tools: Look
Before You
Leap!
The danger
of using
Index
Manager and
other
.htaccess
altering
tools..
Index
Help With A
.rar File In
Ftp Server
Cannot unrar
the file.
Making
Changes To
Subdomain
Name
Changing the
bit
before"t
rap17"
Can't
Edit Index
in file
manager
Php Nuke
Index Shows
Blank Page
php nuke
problem
Error Trying
To Edit File
Using Cpanel
Filemanager
Can't
save any
changes
Question
About
Accesing
Site After
Changing
Domain
[resolved]
Anyone have
answers
Problem
Changing
Domain
Cannot Use
my own
domain,
possibly
ecause of
qupis
File Manager
In Cpanel
Doesn't
Work With
The Browser
Konqueror
Changing
Index\m
ain Page
[resolved]
The default
index wont
go away
advertisement



Help With Changing A File - my index.php to cmps_indes.php



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE