Embed SimpleViewer and site home page

Asked by:
Jujululu
Time:
2012-03-22 3:02 pm
Category:
Website Design
Hits:
673
I am using simple viewer as a gallery. I have it embedded in a div in design.html



So why is the simple viewer showing up as my main page and not inside the div on design.html?

Thank you!

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by Web Hosting Hub staff

0

ChristiNi
2012-03-22 3:25 pm
Hello Jujululu,

I'm sorry you're having trouble integrating SimpleViewer with your website. By default, the server shows pages named index (index.html, index.htm, or index.php) before showing any other pages. This is called the Directory Index. Currently, your index.html file consists of the embed code for SimpleViewer so that is what shows when you go to your temporary URL (since your domain isn't currently pointed to our Nameservers).

SimpleViewer Code

While checking into this, I noticed that the embed code for SimpleViewer in index.html is not the same as the SimpleViewer code in Design.html. I would recommend replacing the SimpleViewer code in Design.html with the SImpleViewer code from index.html.

Your Site's Default Home Page

I see a file named home.html that I think is what you want to show instead of the index page. Once you have moved the code from index.html over to Design.html, you can either edit index.html to match home.html or place the following directive in your .htaccess file:

DirectoryIndex home.html

Please let us know if you have any questions or need any further assistance.

Regards,

Christi N.

You must login before you can post a comment about this answer.

Like this Question?

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Site under brute force attack
  2. URLs in Installation of WordPress Don't Redirect
  3. Choosing a Directory With WordPress

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.