495642 help - .htaccess modification need
N/A
Teslim sırasında ödenir
I have a site that I tranfered to a new server. The site used the coding below in .htaccess to allow php includes inside of html files. (crazy i know)
AddType text/html .shtml
AddHandler server-parsed .shtml .html
AddOutputFilter INCLUDES .shtml .html .htm
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .[url removed, login to view] file
In the html pages of the site I used the following
<?php include("includes/[url removed, login to view]"); ?>
A page example with the includes not working is [url removed, login to view]
Now I have changed servers and have a whole new site. With this nolonger working the old pages that have brought traffic are declining due to the navigation missing in the side panels. If you can fix this without screwing up my current tube site please bid.
Proje NO: #2241557
Proje hakkında
Seçilen:
This is a 30-second fix. Just add "AddType application/x-httpd-php .html" to your .htaccess file in the directory you want your .html files to interpreted by PHP. Best of luck with it! If you need help I'm happy to be Daha Fazla