Coding Fix? [Need Help]

PandaDomo

Senior Member
Joined
Apr 30, 2012
Messages
1,115
Reaction score
454
Issue fixed.

Credit to fatboy for helping me out, thanks!
 
Last edited:
So, this is a ridiculously simple fix (or at least what I believe it to be), but I'm a complete idiot with these kinds of things so I have no idea how to fix it.

Currently, I am using HostGator, and lets say my main domain under it is just domain A. I have a sales page that I need to set up, so I uploaded the appropriate images in the public_html root domain, under an "images" folder and I uploaded the .html file as well. This sales page keeps redirecting to domain A however, and I'm not quite sure how to get it fixed.

I have the correct DNS setting I have the domain parked.

Does anyone know what to do to fix this? I tried googling it a few times, but nothing gave me the direct answer I needed.

Make sure the html file is named index.html. Also, the index.html needs to be in the public_html folder. Hope that helps bro.
 
Make sure the html file is named index.html. Also, the index.html needs to be in the public_html folder. Hope that helps bro.

Alright, I'll change the html file name to index.html. And yes, it's currently in the public_html folder.

Edit: Nope, this didn't change anything :/

Second Edit: I included a picture if it helps. I have the current .html file I need highlighted.

Third Edit: Got it fixed, removed picture.
 
Last edited:
Bump, anybody? Still need this fixed.
 
Give me a shout on Skype if you want me to take a look - id is custombot
 
You have wordpress installed in the same folder as your index.html file , wordpress will try to use index.php instead of a html file . Make a new folder your new domain and use that folder for your new domains files.
 
You have wordpress installed in the same folder as your index.html file , wordpress will try to use index.php instead of a html file . Make a new folder your new domain and use that folder for your new domains files.


Good spot that man :)
 
you are uploading html page in your wordpress root directory ? Are you sure ?

can you reach domain.com/index.html directly .

also copy paste your htaccess file
 
Give me a shout on Skype if you want me to take a look - id is custombot

Added, thanks!

You have wordpress installed in the same folder as your index.html file , wordpress will try to use index.php instead of a html file . Make a new folder your new domain and use that folder for your new domains files.

I created a new folder in the public_html (same thing you see in the picture) and uploaded the images in a subfolder as well as the index.html, but it didn't solve my issue :/ I'm pretty sure I did it wrong though..
 
Added, thanks!



I created a new folder in the public_html (same thing you see in the picture) and uploaded the images in a subfolder as well as the index.html, but it didn't solve my issue :/ I'm pretty sure I did it wrong though..

Maby... Try change priority between index.html and index.php in .httpacces
 
Back
Top