Hello and welcome to the Webmasters Forums!. This is the best place to get webmasters resources for free. Get $2 for free today, read more - Make your payment today. Download premium and professional templates for free. Get free web hosting without ads, read more. You can get lot more by simply join with this forum. To gain full access to the forums you must sign up for a free account.
Posts: 995
Group: Forum Team
Joined: Sep 2006
Status: Online
Make money from now. You can make money just for posting on this forum. Every discussions on this community gives you more money. $2 minimum payout. So get your payment today, SignIn with this forum.
First of all, I am sorry if I opened this thread in the wrong section but I didn't knew where else to put it and in my opinion this is some sort of site administration problem.
I tried to install MediaWiki on one of my sites but it gave some sort of wierd php error and now my site can not be accessed by just typing sitename.info or even sitename.info/index.php but only by typing sitename.info/index.php5
Why does it have that 5 at the end?
And how can I make a redirect from my site to the index.php5 page?
Does the files end with the extension .php5? If so, you can simply rectify the error by changing the filename (eliminate the last number, 5). Make sure that your server supported with PHP 5.
You can also rename your requesting URL with the help of .htaccess file if you need so..
Yes, the file ends with 5 but if I'm not mistaken I got an error message that said that my server didn't support php5 but I'm not sure... Didn't pay much attention to it, to be honest.
If so... I guess it won't work by simply eliminating the 5 in the termination, right?
Yes, the file ends with 5 but if I'm not mistaken I got an error message that said that my server didn't support php5 but I'm not sure... Didn't pay much attention to it, to be honest.
If so... I guess it won't work by simply eliminating the 5 in the termination, right?
Does the page index.php5 gives any error?
If not, then I guess the page will work by renaming the file to index.php. You only need to change the index.php5 file. Keep the link to other pages as same. Make sure that the extension file .php5 executing on your server. If not so, you can force them as php file.
No, it doesn't give me any error. The script works fine only that if I access the .info address it won't work. It will show me a blank page. If I access the .info/index.php5 address it works fine. I think I also have an index.php file there but it's blank.
Really? Just that line of code? Wow...
Thanks, Ivenms! I owe you one... again
If the site is redirected there I think it's ok to have it with the php5 termination, as long as the site can be accessed by simply typing it's address.
Really? Just that line of code? Wow...
Thanks, Ivenms! I owe you one... again
If the site is redirected there I think it's ok to have it with the php5 termination, as long as the site can be accessed by simply typing it's address.
Even there is another option to rename your script's file. But then the internal linking structure of your script becomes wrong and you need a big repair to change the script's internal navigation.