Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Getting rid of News.php at the end of the domain name

Quote

james1990 wrote:
why you offer help if your bieng rude ? all this does for me is provide me with a blank page, i want to keep my original index.php i just dont want the news.php to show evertime someone vistis the URL so i want it to be www.mydomain.com and not www.mydomain.com/news.php


Sorry M8 for being rude, I was in a bad mood yeasterday.
Plz try my example you dont have to delete anything. just make the file index.html and use the iframe tag to make a mirror at your site. it works.
The only thing you see is your domainname.com and nothing else.

The best of all is that you dont have to hack your phpfusion script.
;)

Quote

Rawhead wrote:

Quote

james1990 wrote:
why you offer help if your bieng rude ? all this does for me is provide me with a blank page, i want to keep my original index.php i just dont want the news.php to show evertime someone vistis the URL so i want it to be www.mydomain.com and not www.mydomain.com/news.php


Sorry M8 for being rude, I was in a bad mood yeasterday.
Plz try my example you dont have to delete anything. just make the file index.html and use the iframe tag to make a mirror at your site. it works.
The only thing you see is your domainname.com and nothing else.

The best of all is that you dont have to hack your phpfusion script.
;)


Allright ill give it another try :D

edit: i got this again http://boomshaa.net/file/467.jpg
Ok whats our domainname? so I can fix the file for you.
Do you have phpfusion in a separate dir folder? if not make a dir and put your phpfusion scripts there. The index.html file schuld be in your root dir.
CodeDownload  
<head>

<link rel="shortcut icon" href="/favicon.ico" >

<link rel="icon" href="/animated_favicon1.gif" type="image/gif" >

<title>The Tech Portal Online Support Community</title>

</head>

<body scroll="no" leftmargin="-0" topmargin="-0" marginwidth="-0" marginheight="-0">

<div align="center">
<iframe src="http://thetechportal.co.uk/Name of your phpfusion dir here"
       height="100%"
       width="100%"

       scrolling="auto"
       frameborder="0" >

</iframe>

</div>

</body>

its in the root directory so shall i just remove the /phpfusion?.

Ok i did it without /phpfusion and got the same result
strange.
Install your site in http://thetechportal.co.uk/php-files/
Then put the index.html in http://thetechportal.co.uk.
Change this tag to
CodeDownload  
 <iframe src="http://thetechportal.co.uk/php-files/


good luck and godnight
i dont wanna loose all my content basically need to do <?php include("news.php"); ?> dunno were though
Hy

user look and me on php-fusion ROMANIA discovered a way to solve the problem

On index.php
CodeDownload  
<?PHP require ('news.php'); ?>



and in Control Panel/System Admin/Main Settings/Site opening page:

don't put anything, and save
why not just use a vhost redirect?

i.e in Vhost container:

Redirect / /www.somesite.net
i used your method of using the require news thing and added it to my code but notw instead of my site being mysite.com its mysite.com/index.php
You did that?

CodeDownload  
and in Control Panel/System Admin/Main Settings/Site opening page:

don't put anything, and save



and i discover is better to put a slash / because otherwise the center panel will display on all pages

Sorry for late response
Thread Information
Author
Replies
31 posts
Views
7,855 times
Last Post
Last updated on 12 years ago
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.