| Post Title | Posted | Description |
|---|---|---|
Parent Directory
|
||
| WordPress (or any CMS) to html files | 2007-06-18 20:37 | Can you host a website made in WordPress on IIS? Or one made in DotNetNuke on Apache? Sort of. |
Can you host a website made in WordPress on IIS? Or one made in DotNetNuke on Apache? Yes! Now I am NOT about the describe how you can run those application where they weren’t meant to run. I’ll just show you how you can have a CMS spit out plain html files – no need for database or server-side scripting.
Yes, I’m probably crazy – I understand that situations where this would be applicable are only a few. That’s because my "solution" will work well (without additional labor) only for "static" websites – no forms (including contact/comment forms). I’ll list a few applicable situations at the bottom of this post.
|
1 |
<code>wget --html-extension --recursive --page-requisites --progress=bar --mirror http://localhost/mywebsite</code> |
|
1 |
<code>find . -type f -exec sed -i 's/localhost\\/mywebsite/www.andrejciho.com/g' {} \\;</code> |
Possible applicable situations:
This website is powered by Wordpress
Leave a Comment