1 sccshawn1983 Apr 02, 2007 18:30
3 afwas Apr 02, 2007 18:42
Rename froudblog.php (the stub file) to Account_Scandal.php. Put this stub in the http://www.executivefraud.com directory (probably something like the www folder on your server) and tell the blog you are using another stub file (in the backoffice go to Blogsettings)
Good luck
4 sccshawn1983 Apr 03, 2007 01:25
I think I'm getting what you are saying to some degree but then how do you manage all the different stub files.....fraudblog.php is my main one....then i want fraudblog/category_name
each category will have several different articles name_article_etc
Where do I need to change things so that the categories don't come up...
fraudblog.php?cat=35
5 afwas Apr 03, 2007 01:29
OK, I didn't read properly: you want the fraudblog in between. That's possible: move all your stubfiles to the subdirectory /fraudblog and next tell the backoffice where you have put them.
6 sccshawn1983 Apr 03, 2007 02:48
Dumb question....how do you tell the backoffice to go to the stub instead of the category? I realize how to do it for the main stub but when you get to having a bunch, I'm a little lost
7 afwas Apr 03, 2007 13:53
No the stub is 'just' a php file that is called by your browser. The php file directs the viewer to the correct blog (and or category).
8 sccshawn1983 Apr 06, 2007 07:54
I've been working with this for awhile now and am still having trouble....I have reduced the problem to an annoying yet possible fix of taking the category Accounting Scandal at:
http://www.executivefraud.com/Fraud_Blog.php?cat=35
and created a stub called
http://www.executivefraud.com/_Accounting_Scandal.php
Now both are working but I want when someone clicks on the category for it to go to the stub. How do I do that? I've tried redirects using .htaccess and have not had any luck.
sccshawn1983 wrote:
A static file is not the same as a stub file. You can generate a static file (html) in the backoffice and tell .htaccess to use the .html rather than the _main.php. This gives a time advantage when the .php file needs to generate a lot of items.