View Full Version : Generate static html from Content Management System
I want to utilize content management system to manage my website. But from the front side of website, I hope visitors still see the url like http://mywebsite/page.htm, namely, I want to generate static html file to let visitor access. Anybody knows what the solution is for this problem? Thanks, very much
redcircle
01-16-2004, 04:46 AM
To me it looks like this is just spam to goto an index site.. anyone else??
Electronic Perceptions
01-17-2004, 08:14 AM
redcircle: How can it be spam when it's not pointed to any specific site? The URL in that post is not a valid one, it's simply an example of how they want their site page URLs to display
Yeve: I've had success using mod php for this, but it's not easy, quick or simple to set up. You'll also need a host that supports it.
Electronic Perceptions: Thank you for your replies. Exactly, the URL is a sample. Sorry I am not good at PHP, I use ASP for content management system. But would you tell me the solution how you solve the problem that I mentioned. I mean only html is supposed to be sending to client. You know, usually we use CMS managing website, visitor will see such a link like xxxx.asp?ID=xx&article=xxxx in address box. I hope visitors request a html file from server side. Thanks
Electronic Perceptions
01-22-2004, 12:27 PM
Hi Yeve,
I'm sorry but I've never touched ASP and don't plan to, so I have no idea how it would be accomplished with that... or even if it could.
The mod php that I use takes a URL like this:
http://www.gurugazette.com/modules.php?op=modload&name=News&file=article&sid=102
and turns it into this:
http://www.gurugazette.com/Article102.phtml
I don't have it fully implemented on my site at the moment because I recently screwed things up when changing the design. But the short URL takes you to the same place the long one does. Thus it's much easier to use when sending a direct link to someone, and it's indexed by search engines much better too.
Sorry I can't help more,
Kathy
Electronic Perceptions
01-22-2004, 01:45 PM
Sorry, I just realized some of my previous comments were sloppy. To clarify:
I use a system/tool called mod_rewrite, and that's part of the Apache Web server.
I use PostNuke for my CMS, which is in PHP.
You might ask your webhosting company what the ASP/IIS equivalent of mod_rewrite is.
Hope that helps a bit more,
Kathy
Hi Kathy
I really appreciate for your message. whatever, thanks. By the way, I felt you are good at website promotion after I read your article. I am running a casino site together with a friend of mine. we ever took advantage of Ad google, but it seems not to be totaly efficient. Do you have any good idea about web promotion?
yeve
icb01co2
02-03-2004, 07:05 PM
Hi Electronic Perceptions - I am interested in lerning more about - 'mod_rewrite'. Im very new to all this and not really sure what appache is so i'm sorry if this sounds a little stupid but here goes: -
I've read some tutorials on the 'mod_rewrite' which involves accessing the httpd.config or something?
Well i'm hosting my site on a shared server and haven't access to this file or anything within the appache folder.
Erm, actually i haven't a clue how to even fumble my way through asking this question, i don't know what i need to ask to get me on the right track all i know is that i need to re-write my long URLs.
Can anyone help me? anyone?
Thanks, Chris.
Electronic Perceptions
02-06-2004, 10:02 AM
Guys: I'm sorry for the delay in responding here. Both of your questions can't be covered in a forum like this though.
Online Marketing/Site Promotion: This is a vast topic which would need an entire book just to scratch the surface of. You might find most of the articles at my Guru Gazette site helpful in this area though.
Apache: This is a web server. You'll need to ask your hosting company if they use it or not. Most do, but some use Windows IIS now days.
Mod_Rewrite: This is another topic I can't begin to cover here :( I can tell you though, that you don't always have to modify the httpd config files to use it. Some hosting companies have it enabled for virtual servers, and you simply use scripts and htaccess files instead.
Sorry I can't be of more help,
Kathy