Templates and Counters - Search Engines etc

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

Post Reply
bladecatcher
Forum Commoner
Posts: 67
Joined: Sat Mar 12, 2005 12:50 am

Templates and Counters - Search Engines etc

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
bladecatcher
Forum Commoner
Posts: 67
Joined: Sat Mar 12, 2005 12:50 am

Post 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
Post Reply