| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Elephantspike
Joined: 26 Mar 2007 Posts: 7
|
Posted: Fri Mar 30, 2007 3:39 am Post subject: Disallow index.php in favor of index.html? |
|
|
Hi,
I un-commented the part in.htaccess to redirect index.php to index.html in the advanced mod_rewrite mod. I also have installed the zero dupe mod. Should I add Disallow index.php to my robots.txt file or not?
I already have my domain root forwarding to the forum index, and I have a portal page in./forum/portal.php.
Thanks. |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
Posted: Fri Mar 30, 2007 11:09 am Post subject: Re: Disallow index.php in favor of index.html? |
|
|
I assume you changed :
to
| Code: | | 'index' => 'index.html' |
in phpbb_seo_class.php
If so, and if you did not already, install the zero duplicate, it will make sure index.html is the only url used for the forum index.
Then, you should wait a bit for bots to acknowledge the update, and once index.html will be cached in Google, yahoo and msn, you can safely disallow it in your robots.txt.
The reason to do so it to make sure the new url is the one used by SEs (thanks to the zero dupe http 301redirections) before you tell them to drop index.php from their indexing. It will make things faster than first disallowing index.php, then, let bot find out about the new url, as with redirection they'd find out about index.html while crawling index.php.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |