1567 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • India
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
rahulbist says

hi everyone,

one of my client has a hosting package with wordpress feature.

there is a directory “htdocs”, as far I know it is the root directory.

there is a folder named “wordpress” in “htdocs” and all themes are installed in it.

problem is I have added index.html page to “htdocs”, but whenever I go to the domain in web browser, it opens the wordpress theme not the html page.

anyone know why it is happening? the support of company is useless.

any help will be appreciated :)

thanks in advance.

2509 posts Put a Donk On It
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Attended a Community Meetup
  • Referred between 100 and 199 users
  • Contributed a Tutorial to a Tuts+ Site
+5 more
ThemeProvince says

From what you described it is impossible for that to happen. :)

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator says

is there another index.something file in the foot that has taken priority over index.html? for example, index.php? And that file may be redirecting to /wordpress/ or including a file. :-)

3085 posts
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+1 more
Raincutter says
From what you described it is impossible for that to happen. :)

impossible to happen unless wp has been installed in root or as reaper stated if a file redirecting to /wp/ is present.

1567 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • India
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
rahulbist says
is there another index.something file in the foot that has taken priority over index.html? for example, index.php? And that file may be redirecting to /wordpress/ or including a file. :-)

hi reaper,

No, there is no index file :?

is there any possibility that there would be any file in wordpress that is doing the thing?

thanks

3117 posts
  • Sold between 5 000 and 10 000 dollars
  • United States
  • Bought between 10 and 49 items
  • Has been a member for 3-4 years
  • Exclusive Author
chrisakelley says

check you .htaccess it may be pointing to wordpress

1716 posts
  • Microlancer Beta Tester
  • Sold between 5 000 and 10 000 dollars
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
gbs says

It is a hosting with wordpress feature so maybe it has been pre- setup for wordpress ? In that case there might be a redirection command from the hosting side, you should check out .htaccess or contact the hosting service

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator says
is there another index.something file in the foot that has taken priority over index.html? for example, index.php? And that file may be redirecting to /wordpress/ or including a file. :-)

hi reaper,

No, there is no index file :?

is there any possibility that there would be any file in wordpress that is doing the thing?

thanks

Like the above two posts say, it could be a .htaccess file, which is quite likely, probably a hidden RewriteRule (one with no [ R ] or [ R=300 ]) if the address is not changing to /wordpress/

3007 posts
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 100 and 199 users
+2 more
duotive says

change the extension from .html to .php :)

by
by
by
by
by
by