Auto page creation

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

Got a question, I have built a framework that loads content from a database to populate the page, the database is broken up into page content areas etc, in short, a variable is passed on each link and the variable script chooses the content on the page based on the variable passed, this also allows me to have associated menus going 3 deep.

ie
default,asp (home) -> default.asp?page_id=contactus(contact us page)
Follow?
anyway this system works perfectly for my content management system but as the page is always default, search engines only rank me on the one page, so at the moment my site has a page rank of 3 and the default page has a page rank of 2 and thats it.

I have read that the more pages your site has the more you can pick up on page rank, hence I have just created a script that duplicates the default page and copys to match the page id's it got automatic checking etc but im hoping that the search engines will look at this as a seperate pages, ie:
default.asp -> contactus.asp?page_id=contactus.

Has anyone tried this? do you think it will work?

Busy's picture

He has: 6,151 posts

Joined: May 2001

Can you use mod_rewrite or anything?
If you can you can leave the page as default.asp but the actual link to it would be something like: default.asp -> d/contact-us/ or just contact-us/ (with or without last slash or even .abc, .html ...)

am not sure what other links you have but you can get creative

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

Unfortuntatly no I dont have access to change me server, and they are pretty strict about it, thought I would use it if I changed servers, I have also looked at a a url re-write function that goes through the globa.asa file, but it looked a bit ruff.

CptAwesome's picture

He has: 370 posts

Joined: Dec 2004

there isn't really easy or automatic way to do it without mod_rewrite (that I am aware of) you can hardcode values like $page_id into seperate pages, and maybe mod the navigation structure of the site.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

dataNdesigns wrote:
I have read that the more pages your site has the more you can pick up on page rank, hence I have just created a script that duplicates the default page and copys to match the page id's it got automatic checking etc but im hoping that the search engines will look at this as a seperate pages, ie:
default.asp -> contactus.asp?page_id=contactus.

Has anyone tried this? do you think it will work?

Yes more pages does affect PR,
but bots also look for relevant pages; not repeating...

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

demonhale - Exactly, thats why I needed the pages to be a different name as they do contain different data.

CptAwesome - I did make the page generator, just wanted to know if any one had experience of it working.
If you go to my site and use the following urls you will see what I mean -
http://www.datandesigns.com.au/default.asp?page_id=choose
and
http://www.datandesigns.com.au/Choose.asp?page_id=Choose
these are really the same pages, but the page generator I made created the choose.asp page based on the default page.

Does that make sense? Im wanting to know if anyone knows if this works with the engines or do they compare default.asp and choose.asp and penalise me for duplication, given that in therory they should not even be able to see the default.asp?page_id=choose, by what I have read.

CptAwesome's picture

He has: 370 posts

Joined: Dec 2004

Don't just totally dupe the page, in the first line of ASP put something like "$page_id = 'Choose'" in the script itself (I don't know if that's proper ASP syntax) then put code in the default.asp that if $page_id == "Choose" redirect to Choose.asp (header('Location: Choose.asp'); in php)

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

CptAwesome, thanks cpt, Yep it does sort of work like that, basically the content loads due to the page_id variable, this gives it different content.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.