Forum Moderators: phranque

Message Too Old, No Replies

Automated Cross-linking Within Large Site?

Dynamic links

         

erika1959

9:32 am on Jul 11, 2003 (gmt 0)

10+ Year Member



I have sites which are built using a PHP template page (.php) and mod_rewrite, so that main site pages use the extension.html, with index, and link pages ending in .htm. These sites have .html pages which number from a few hundred to several thousand.

I have a site map, link category pages, and all pages link back to these, but I would like to have the .html link to each other, the primary purpose of this being to have search engines find and index them more readily.

I'd like to have a formula which allows me to add 3-5 links to each page, preferably by placing something on the .php template page which will produce random links for the .html pages.

I've looked everywhere for a simple formula, including these forums, but haven't found anything that appears to suit my needs. Anyone got any ideas?

Mike_Feury

6:09 am on Jul 12, 2003 (gmt 0)

10+ Year Member



I haven't done this Erika, but the thought which popped into my mind when I saw your post was "URL Rotator". Perhaps a modification of that technique would do the job?

Mike.

lazerzubb

6:11 am on Jul 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would just like to point out, it may hurt your visitor quite a bit, i would be very confused if i saw a lot of links which was totally irrelevant for the page.

If you really want to do it though, i suggest using a spider/404 program, which will index all your pages, and then put out the url in a database, then you use a "Random selection" and boom there you have your link.

erika1959

7:32 am on Jul 13, 2003 (gmt 0)

10+ Year Member



Thanks guys.

I'm keen to make sure any links on the page are entirely relevant. I've been speaking with a few people who are doing similar stuff and have come up with a php script which does things in a similar way to that you descibe Lazerzubb!