Page 1 of 1

Templates and Counters - Search Engines etc

Posted: Mon Mar 21, 2005 7:18 pm
by bladecatcher
G'day All,

I'm pretty set on using a *simple one page* php template to generate pages for my site. However if all pages are included via "template.php?dir=xxx&page=yyy" then my page counter will not count properly and would require a complex rewrite. Are there any simple answers to this problem?

Also I'd suspect a few search engines may have problems with this too. Correct?


A silly work around would be to have a pagex.xml and a pagex.php for every page which includes the template.php, bit messy :(

Thanks in advance,
bladecatcher

Posted: Mon Mar 21, 2005 8:06 pm
by feyd
Why is this in UI?

How does your "page counter" work? Maybe if we knew how it worked, we could offer other solutions. :?

Some search engines used to have issues with query strings, but that's pretty much in the past. You may want to research mod_rewrite along with path_info though.

Posted: Tue Mar 22, 2005 4:45 pm
by bladecatcher
G'day feyd,
Thank you for your reply.

> Why is this in UI?
Cause I couldn't see anywhere else and was going to post it to my "Simple Structure" thread but thought it was a bit OT, so I started a new thread so it could be moved if required. Sorry if I stuffed up.

> mod_rewrite

I think you've answered my vague question rather well, I'm reading about this now.

Also this may be useful too "http://www.zend.com/zend/art/scriptcaching.php"

Thank you again,
bladecatcher