Hello I have a domain like www.mydomain.com and i have upload in the public_html my files in a folder named files all my web content. As i want to load them from the folder and not upload them to the public_html how i can load the content from there? so every time tha a user goes to www.mydomain.com to view my design from the folder named files? Maybe with .htaccess file and how? Thank you
You can put an index or default.html page in your root directory with the following : <html> <head> <meta http-equiv="REFRESH" content="0;url=http:// www.mydomain.com/files/"> </head> <body> </body> </html> When visitors access http:// www. mydomain. com they will be redirected to directory /flles/ provided that that directory also has an index or default page. Remove the empty space from the URL, it's only in there to break the link to nowhere.
Ok thanks But after that in the browser it will display the path like this? http:// www.mydomain.com/files/ or not? http:// www.mydomain.com/ I prefer the second way if it is possible.