I have my HTML file and uploaded it but its messed...
2013-10-17, 03:14 AM,
#1
Okay so I have made my HTML file and brought a domain/hosting and uploaded it but instead but when clicking on the website instead of getting


Niche.com

I will get

Niche.com/niche.html

How can I make it so when I click on Niche.Com I get Niche.com not Niche.com/niche.html
Reply
2013-10-17, 03:24 AM,
#2
I guess you uploaded the site in a folder , remove all files from that folder and upload them directly , i don't know if you get or not

this is what you did : files --> Folder --> Host
And it should be like that : Files ---> Host
Reply
2013-10-17, 03:34 AM,
#3
I uploaded it into the public folder here


http://gyazo.com/11cd434a071aab0a781496fb8e285076.png
Reply
2013-10-17, 03:35 AM,
#4
Make sure you dont have 2 index.htmls
The public_html is the correct folder
Reply
2013-10-17, 03:40 AM,
#5
http://gyazo.com/9db810636828ef47e2d4da1951bb29ae


That's all thats in the public_html folder
Reply
2013-10-17, 04:26 AM, (This post was last modified: 2013-10-17, 04:28 AM by ultras.)
#6
Add this code to your .htaccess file
Code:
RewriteEngine On
RewriteBase /

RewriteRule ^index\.html$ / [NC,R,L]

And your file must be named index.html off course ;D
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Where should I put <script> tags in HTML? Pirata 5 177 2017-12-03, 11:38 AM
Last Post: Pirata
  Folder Uploaded 404 Not Found immart247 8 210 2017-10-12, 10:42 PM
Last Post: ogninjaa
  Adludum file locker link only displaying a white screen? gamertrial1 5 188 2017-08-17, 07:24 AM
Last Post: gamertrial1
  Help with cpagrip URL / File Locker hover Warriorcpa 2 165 2017-08-06, 11:03 AM
Last Post: ultimateCPAian
  S.O.S Newbie need help! cpagrip url/file locker Hektor26 11 1,482 2017-08-03, 10:51 AM
Last Post: naulodesign





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top