Indexed pages

   (2)
Sun 2005/09/11 11:00
How many pages indexed?
Do I really have 221,000 pages indexed in Google? If I do then its thanks a bunch to the guy who wrote the Apache mod_rewrite module.
Besides making coffee, mod_rewrite can do cool stuff like make the URLS of your website search engine friendly. So for example...
www.dannychoo.com/index/eng/
is the same as
www.dannychoo.com/index.php?language=eng
but "www.dannychoo.com/index/eng/" is much more search engine friendly - especially when you have a ton of variables stuck on the end of a URL.

In general, a search engines robot tries to avoid slurping up too many pages which look dynamic (pages with all those variables stuffed on the end) - this is because a website can generate an infinite amount of pages through the use of scripts.
But what if you legitimately have a website with a few thousand products and want Google to slurp up all the pages?
While I cant guarantee that Google will slurp *everything* up, the use of mod_rewrite will help quite a bit.
I will keep this as short as possible as this is all you need to know to get you started.
I created a file called ".htaccess" and saved it in the root directory of my website and stuck in the following...

RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^index/(.*)/ /index.php?language=$1

Then in my code I have a link like...

<a href="/index/eng/">English</a>

What mod_rewrite then goes and does is look at the rules in my .htaccess file and maps "/index/eng/" to "index.php?language=eng". And that should be enough to get you going.
BTW, you can check how many pages you have indexed in Google using the following query.
allinurl:+www.yoursite.com+site:www.yoursite.com
First time here?
If you are new here, you may want to keep up with more of the same via RSS or Danny's other networks. (dont show again)
AddThis Feed Button

So I read most of the "penultimate-tutorial-to-installing-php-mysql-apache-gd-on-tiger" and you ...(more)
Mon 10/10 06:20 comments (8)
For those of you still on lousy 46Mbps ADSL connections - now is your chance to have a real high spe...(more)
Tue 08/16 03:33 comments (10)
So I was babbling on about how cool google maps was in a previous post but lo and behold Google have...(more)
Sun 07/31 11:01
Up until now I used Mapion for when I needed to look up directions in Japan. Google has recently com...(more)
Sun 07/24 16:27 comments (2)
Danny Choo in Tokyo
Its gone down to 155,000! :-(
(ID #33308) Posted on 2007/01/02 02:35
Marcel in Germany
your gundams are porfect and beautiful... very beautiful!!!! sale you your gundams??? I´m a big fan from gundam wing and loves gundams and your so cool and real.
(ID #33450) Posted on 2007/01/02 02:35
Danny Choo in Tokyo
Its gone down to 155,000! :-(
(ID #75312) Posted on 1999/11/30 15:24
Marcel in Germany
your gundams are porfect and beautiful... very beautiful!!!! sale you your gundams??? I´m a big fan from gundam wing and loves gundams and your so cool and real.
(ID #75454) Posted on 1999/11/30 15:24
I've only been back to the UK a couple of times since moving to Japan and...(more)
Mon 06/16 11:12 comments (271)
Here is the second part of my Akiba 'report' broadcasted last Friday nigh...(more)
Tue 02/13 22:44 comments (34)
Theres never a boring moment in Tokyo – even when you are waiting for t...(more)
Fri 12/15 22:55 comments (36)
Introducing the ZGMF-X42HZ Destiny Haruhi. Until I started to play aroun...(more)
Mon 04/07 11:47 comments (96)
This is the first time I've seen something like this - body inflation where some sort of liquid is i...(more)
Sun 07/05 07:23 comments (94)
In a meeting at Ebisu earlier on this week - everybody has an iPhone ^^; And a closer look at that ...(more)
Sat 07/04 23:07 comments (60)
Tis the rainy season in Japan right now meaning that many house and shop entrances across Japan star...(more)
Sat 07/04 11:31 comments (125)
The Mirai Suenaga Merchandise project has changed gears and is back on the project timeline. I've be...(more)
Fri 07/03 22:16 comments (102)
Subscribe
Subscribe to RSS or get dannychoo.com delivered to your inbox.
Recommended
(refresh)
View advertising info
and site stats here.