Forum Moderators: martinibuster

Message Too Old, No Replies

URL Channels for Dynamic Pages?

         

shafaki

9:05 pm on Jun 5, 2005 (gmt 0)

10+ Year Member



AdSense url channels allow you to figure out the performance of a bunch of pages in a directory, a subdomain or a domain (or a single web page).

How about if the bulk of your site relies on a single dynamic page (PHP page) that fetches content from a database and only changes a number after the "?" in the url. (ex: www.example.com/page.php?id=1 .. /page.php?id=2 ... /page.php?id=3 ... etc)

So, who to separate all that content in different url channels if they all come from a single dynamic PHP page?

It seems impossible right now with Google's current URL channels. Perhaps they can do something in the future to help solve this dilemma.

nanotopia

4:10 pm on Jun 6, 2005 (gmt 0)

10+ Year Member



Assuming you use categories for your content, you could (at the very least) have your content show up in dynamic categories that are within the URL.

95% of my website is dynamic, and runs off only a few page templates. However, depending on the category it's in, the page appears to display within a unique category folder -- even though all of the page templates are at the root level on the server.

Article 1: domain/category1/17/
Article 2: domain/category2/23/

If this is still confusing, click on my profile and browse around my website - you'll get the point quickly of how it works. It's basically a trick that outputs a more defined url. That way, I'm able to set up channels based on which categories my article are in. Plus, each article has it's own unique url (without funky strings), and I can set up channels on those if I desire (which I don't, because I have hundreds of articles).