Posts Tagged ‘.htaccess’

Problem: Sometimes the Joomla developer face a problem on their server.The problem is like that:

Solution: Try adding the following line to your .htaccess file, should help.

DirectoryIndex index.php index.htm

The key is to have index.php early and allows the server to accept the index.php file as the start page.

If this does not work, ie: Your host will not allow it, create a blank index.htm page, and put the following code it.

<html>

<head>
<title>Redirecting.....</title>
<meta Http-Equiv="Refresh" content="0;url=http://www.yoursite.co.nz/index.php">
</head>

<body>&nbsp;</body>
</html>

If necessary, you could do a similar one in the admin folder too, but add administrator/ before the index.php

Thanks.

Advertisements

Well, there are few windows tricks dealt here. You know how to make completely hidden folder or rename multiple files. This one is little geeky and not related with everyone who use windows. This would be useful for those who run a web server software or install wordpress on PC. The normal way we create a htaccess file is that we make a name.htaccess file, upload it to server andrename it there with our ftp softwares. Here is how you can do it on windows.

Try to create it the normal way you do for any other file on explorer. Yeah, I mean the right click > create > rename method. It wont work and you will be popped up with a warning “You must type a file name“. Now, you can’t make it name.htaccess and rename it.  😦

 

In this case, open notepad. File > Save As.

In the file name type .htaccess, and in type make it to All Files. Click Save. You are done! That’s it  🙂