BlueIce
New Member
- Messages
- 113
- Reaction score
- 0
- Points
- 0
Hi,
I have searched the forum regarding this matter, but haven't found any thread that hits my question 100%.
I'm a novice in this webhosting, and last week I made my website to: mysubdomain.x10hosting.com/directory . Now I want a cleaner URL for my website, so I want to redirect the /directory files to mysubdomain.x10hosting.com .
I've read threads about creating an index.php file and paste the link I want to redirect to, but I already have an index.php in my folder that contains different php code.
So, I check my cPanel and found that I have features like Subdomain and Redirect. I went to Subdomain I tried to put my files document root to mysubdomain.x10hosting.com but, all I can do is add a subdomain. Failed with Subdomain, I went to Redirect.
I have redirected my mysubdomain.x10hosting.com/directory to mysubdomain.x10hosting.com but unfortunately, it shows the index.html .
I know that this may annoy everyone reading this, but is there a way where we can redirect my files to my main directory? That way, visitors can access my site with a shorter link. If an admin can do it manually, I will give them my website's information.
Cheers,
BlueIce
I have searched the forum regarding this matter, but haven't found any thread that hits my question 100%.
I'm a novice in this webhosting, and last week I made my website to: mysubdomain.x10hosting.com/directory . Now I want a cleaner URL for my website, so I want to redirect the /directory files to mysubdomain.x10hosting.com .
I've read threads about creating an index.php file and paste the link I want to redirect to, but I already have an index.php in my folder that contains different php code.
So, I check my cPanel and found that I have features like Subdomain and Redirect. I went to Subdomain I tried to put my files document root to mysubdomain.x10hosting.com but, all I can do is add a subdomain. Failed with Subdomain, I went to Redirect.
I have redirected my mysubdomain.x10hosting.com/directory to mysubdomain.x10hosting.com but unfortunately, it shows the index.html .
I know that this may annoy everyone reading this, but is there a way where we can redirect my files to my main directory? That way, visitors can access my site with a shorter link. If an admin can do it manually, I will give them my website's information.
Cheers,
BlueIce