Website redirect help
8 posts
Page 1 of 1
I have a problem with a website...
does anyone know how to redirect from something like this:
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
--edit--
is there a way to make it so when someone types ".../asdf" into the address bar, the webpage shows ".../asdf.html"?
does anyone know how to redirect from something like this:
Code: Select all
to this...www.website.com/asdf
Code: Select all
Thanks www.website.com/asdf.html
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
--edit--
is there a way to make it so when someone types ".../asdf" into the address bar, the webpage shows ".../asdf.html"?
Well, when you type ".../asdf", the browser will navigate to a folder named "asdf", and if an html file is found (depending on the settings you've set) it will navigate to it. However, if you don't have such a folder, you'll get an error.
What settings do I change to make it show the webpage?
I think you just have a file inside the folder, nothing else but having an html file :? I dunno
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image](http://mc2.ownagehosting.com/index.php?r=status/19.png)
I found out how to do it.
You need to make a file named ".htaccess" in the map directory. Inside this file, you have the text:
You need to make a file named ".htaccess" in the map directory. Inside this file, you have the text:
Code: Select all
DirectoryIndex map.html
yah #Cheatmasterbw i have seen .htaccess when i logged into my hosting account . Without .htaccess website doesnt work i had the same problem once .
Find my programs on Softpedia
I think it depends on the platform your server is running. I have a Windows server, no .htaccess, but a Web.config file.
8 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023