?
Solved

.htaccess ??? Possible problem when displaying "html" pages, when "php" pages appear.

Posted on 2015-01-09
1
Medium Priority
?
79 Views
Last Modified: 2015-01-20
Hello,

I am attempting to use a template that I purchased that was coded in html and javascript. The main index page appears now that I converted it from .html to .php. I believe the issue is that either the .htaccess or javascript is causing in compatibilities. When clicking a link, such as the about page, the browser displays the loading/waiting animation, and then jumps back to the main index homepage.

Please help give me an answer to this problem. Is it possible that I could edit the .htaccess file to support html and then use the original web template?

Thanks in advance.
0
Comment
Question by:DumbBoxRox
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 2000 total points
ID: 40541239
You just need to tell the server to parse with php:

AddType application/x-httpd-php .html
AddType application/x-httpd-php .php

in the .htaccess should do it, though you might want to check with the host if that is still a problem and get the sting they require.

Cd&
0

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question