Myweblogin Knowledge Base

Setting Up and managing Your Blog Technical

A Blog on your website can be a very useful tool, there are however some steps involved in order to 

HTACESS

Insert these lines into the HTACESS file.

RewriteRule ^tags/([^/]+)/ /cgi-bin/cart/blog.cgi?category=$1 [NC] 
RewriteRule ^blog/([^/]+)/ /cgi-bin/cart/blog.cgi?display=$1 [NC] 
RewriteRule ^authors/([^/]+)/ /cgi-bin/cart/blog.cgi?authorname=$1 [NC] 
RewriteRule ^blog/ /cgi-bin/cart/blog.cgi [NC] 

Blog Main Settings

Directory Article Root: blog
Tag Article Root: tags
Blog Roo: blog

Below is the blog templates.

Added: 2025-4-04 and last modified: 2025-4-04

Code Snippet

Top
Blog Bottom ~; use DBI; $SQL = "SELECT * FROM blogcats ORDER BY cat"; $Selectq = $dbh->prepare($SQL); $Selectq->execute(); while($Rowq=$Selectq->fetchrow_hashref) { $menus.= qq|
  • $Rowq->{cat}
  • |; } print qq~
    Related Topics