Jump to content

[SOLVED] Search engines and apache rewrite


LamivNahdus

Recommended Posts

Hai,

                    I want to know how search engines will tackle with a site in which apache rewrite module is used. Consider a dir in which there are three php files named a.php,b.php and c.php which handles the redirect operation. These files will execute according to the the url parameters passed to the dir.

 

for example,

www.example.com/dir/images/ will be handled by a.php

www.example.com/dir/videos/ will be handled by b.php

 

so www.exaple.com/dir/videos/239244 will be handled as b.php?id=239244 by the Apache.

 

 

  Now consider that a search engine is crawling our site. Whether the php files (a.php and b.php) will be visible to the search engine or not?

  or if a person search for 'site:example.com a.php', whether the php file a.php will be listed out in search results page or not?

  Whether the search can see a.php, b.php file or not?

 

Thanks for reading. Please give me an explanation....

My question is simple that whether the hidden files(to the users. Site users wont know it as they will be redirected without their knowledge) a.php and b.php will be visible to the search engine or not?

I know that search engines will crawl on site to get the details of the url.

if a person search for a.php in my site, will it be listed in the search results page?

from what i know,

it wont,

but just to be safe you can

create a robots.txt file that

will at least prevent google from

looking at it.

 

But if you have absolutely no link

to the actual a.php b.php c.php

pages, then there should be no

reason for the robots to find it.

 

and while the robots are on

www.example.com/dir/images/

 

they will not know that they are

actually seeing a.php or b.php or c.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.