Hi,
I have a question how do I make redirection to index.html instead of index.php ?
Thanks guys
Hi,
I have a question how do I make redirection to index.html instead of index.php ?
Thanks guys
what u mean redirection to index.html ? what u wanna do exactly redirect a page to another page or to another link?
Depending on how it is programmed website but if you do it just for directions to the index and must try through .htacces where you add this
Then, all inbound connections to redirect index.htmlDirectorylndex index.html
Remember that the PHP file you can write HTML elements but HTML file does not support PHP.
Thanks ! Screenshot by Lightshot which one should I modify? :) well i made it index.php and it works fine but then I can't open the real index.php i named it "index2.php" and here the picture what it says Screenshot by Lightshot
He says that you have no right to see this script!
Is it wrong set .htacces, you can open it in Notepad and send screen and paste it here so we know where is the mistake?
- - - Updated - - -
.htacces Need to change the root directory.
If you are using XAMPP so you can be found in htdocs
- - - Updated - - -
Hey, I do not TeamViewer.
What website do you use?
Still, there are several ways to achieve what you want.
Separated website into a separate folder in the root directory and you would then have index.html or .php a folder with a Web site.
After visiting the user is redirected to the site.
Or create subserver webserver and then save your site.
(You must have access to the DNS settings)
Or ideally name your file that you want to access, for example, initially firs.php. Beware of changing file access to the site and leave his name index.php.