Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
"<#-- include" doesnt work hihidavid msg:4155212 11:19 am on Jun 19, 2010 (gmt 0) hi, I placed both <!--#include virtual="sample.html" --> & <!--#include FILE="sample.html" --> in my html file, SSI is shown enabled in Control Panel, and I dont see any content added should I update any file?
g1smd msg:4155219 11:31 am on Jun 19, 2010 (gmt 0)
File extension needs to be
I believe. Look also at PHP includes. They are a lot more versatile.
spander msg:4155220 11:36 am on Jun 19, 2010 (gmt 0)
Apache has to be set up to allow includes. Check that first. hihidavid msg:4155221 11:37 am on Jun 19, 2010 (gmt 0)
thanks! I am going to build up a online shop and selling some products, If i changed all my html files to php files, i would like to hide the filename of the name, e.g. from www.mysite.com/mp3/list1.php to www.mysite.com/mp3/ how can i do? thanks:) g1smd msg:4155234 12:51 pm on Jun 19, 2010 (gmt 0)
A Rewrite can do that. There are more than ten thousand previous examples of related code right here in this forum, as it is a question that is asked several times each week. I'd suggest that the published URL not have a trailing slash so that the pattern matching can look for URL requests without trailing slash and without extension and know that they are extensionless URLs for pages.
jdMorgan msg:4155585 3:10 pm on Jun 20, 2010 (gmt 0)
Extensionless URLs [ webmasterworld.com] Jim