static pages
static pages
Hi!
I have php-wcms 1.2.5 dev on my website.
It is possible to create static pages with phpwmcs?
For example:
/index.php?id=7,22,0,0,1,0 -> /7,22,0,0,1,0.html or similar
Thanks
PS: sorry for my bad english
I have php-wcms 1.2.5 dev on my website.
It is possible to create static pages with phpwmcs?
For example:
/index.php?id=7,22,0,0,1,0 -> /7,22,0,0,1,0.html or similar
Thanks
PS: sorry for my bad english
Hallo DarkJ,
rename _htaccess to .htaccess
Switch at config.inc.php:
$phpwcms["rewrite_url"] = 1; //whether URL should be rewritable
http://www.phpwcms-docu.de/index.php?create_level
http://www.phpwcms-docu.de/index.php?ebene_erstellen
Aus: http://www.phpwcms.de/forum/viewtopic.p ... rewriteurl
or please use the search function for: htaccess or/and rewrite_url.
Gruß Knut
rename _htaccess to .htaccess
Switch at config.inc.php:
$phpwcms["rewrite_url"] = 1; //whether URL should be rewritable
http://www.phpwcms-docu.de/index.php?create_level
http://www.phpwcms-docu.de/index.php?ebene_erstellen
Aus: http://www.phpwcms.de/forum/viewtopic.p ... rewriteurl
and have a look at this: http://www.phpwcms.de/forum/viewtopic.p ... rewriteurlHi
also normalerweise funkrioniert das rewrite-Url ohne dass man am Code der index.php rumbastelt.
es muss in der conf.inc.php eingeschaltet werden
die _htaccess muss in .htaccess umbenannt werden
die .htaccess muss evtl. angepasst werden, wenn das System in einem Unterverzeichnis liegt
für die einzelnen Strukturebenen müssen Aliasse vergeben werden
das ist alles Idea
_________________
Horst
or please use the search function for: htaccess or/and rewrite_url.
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
But not recommended if you have other html files in the install folder...DarkJ wrote:and is it possible change the .phtml format to .html format?
http://www.studmed.dk Portal for doctors and medical students in Denmark
1. rename '_htaccess' to '.htaccess'DarkJ wrote:well.. but how i can change the format from phtml to html?
thanks
2. open 'config/phpwcms/config.inc.php' and enable rewritable url's: $phpwcms["rewrite_url"] = 1;
3. open .htaccess file and replace the '.phtml' extension with '.html'
4. open include/inc_front/front.func.inc.php and replace the '.phtml' extension with '.html'
Have you tried with index.htm
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!