Dynadot — .com Registration $8.99

Need help with two things

Spaceship Spaceship
Watch

Morbid

Account Closed
Impact
0
Hey guys I just joined and this is my first post.


My first question is how do I change my front page of my site to go to site.com/index/ when I type my site in instead of having to type site.com/index/? When I got to my regular site name without anything I get an Index of / page with my index folder that had my PHProxy in it.


My second question is how do I put ads or images on the front page on my PHProxy? Like googles ads or a banner ad at the top above it and topsite things and/or ads at the bottom. Also how do you take the "PHProxy" text away thats in the header type thing on my page?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
you can redirect "site.com/index.htm" to "site.com/index/index.htm" using meta refresh (google it up).

btw, feel free to edit/reword your questions.
 
0
•••
shockie said:
you can redirect "site.com/index.htm" to "site.com/index/index.htm" using meta refresh (google it up).

I tried that... I tried index.html, index.htm, index.php, home.html, home.htm, and all the others and when I type site.com it still only shows Index of /.


The questions about PHProxy were how do I put images (like for a header) or ads above and below the proxy thing? Also how do I take out the PHProxy from the header (look at the attachment foe the PHProxy text im talking about)?
 
0
•••
Put the following line into your .htaccess:
Directory Index index/index.htm

If it doesn't work, remove the space from Directory Index and make it DirectoryIndex :)
 
0
•••
Morbid said:
I made the .htaccess and put that line in and when I got to my website it gives me "No input file specified." text on the page and only that.

Also I have it in my index.htm file to redirect to my domain which is .net/index/ but itll go and say that no input thing and when I look at the address bar it shows my site .com/index/ instead. Why does it do this?

Well now ive got a different problem, the one above I solved. Before I started messing with htaccess and stuff when I went to mysite.com/index/ it would show my proxy. Now when I go there (by typing it in or the redirect from homepage) all it does is show the index of the folder. I have to go to index/index.php to get to the proxy now. I dont want it to do that.
 
Last edited:
0
•••
Ok, I decided to just drop the whole /index/ folder and my proxy is now at site.com when you type it in. I just need to know how to put ads and text/html above and below the proxy form and how to get rid of the PHProxy text.

Thanks for your help so far guys, rep added.
 
0
•••
it would help if i could see a working version of what you have now, but i *think* you need to put

Code:
echo(' 
[ad code] 
');

in your index.php, above wherever it displays the "PHProxy" text.
 
0
•••
shockie said:
it would help if i could see a working version of what you have now, but i *think* you need to put

Code:
echo(' 
[ad code] 
');

in your index.php, above wherever it displays the "PHProxy" text.

Is the PHProxy text you talking about the one that I want to get rid of? Because ive looked through every single file that came with it and there is no place for me to change it.

Now I refresh my website and it doesnt have my proxy there anymore its just showing my index of crap again. It keeps doing this, my redirects or other changes only last for like 30 minutes and then show indexs.

Ill PM you the site URL since its all messed up and I dont want to post it here.


EDIT: I found why my site messed up so its working now when I type in the URL. Still need to figure out how to remove the PHProxy text from the top.
My site is ShadowBrowse.net if it helps any.
 
Last edited:
0
•••
to put adcode/text/html above the "PHProxy" text, put that code snippet above into the file index.php.

try putting the code snippet in different places in the index.php file, until you've found where you want it. (it should be somewhere in the top half of the file).
 
0
•••
You always find things when you arent looking. I found the PHProxy text part when I looked for over an hour looking specifically for it. Thanks for all your help, shockie.
 
0
•••
lol you're welcome... i just checked your site and it seems to have worked!! :D
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back