Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
September 1, 2008 - Submit Your Web Site for the Sept 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 07, 2008, 12:58:09 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Robots.txt and SSI  (Read 326 times)
MagickCrafter
Long live VI
Intergalactic Superstar
*****
Offline Offline

Posts: 156

VI-VI-VI, the Editor of the Beast


WWW
« on: February 03, 2007, 01:26:17 PM »

Hey guys!

If I disallow /includes/ in my robots.txt, would my SSI includes still work if they included a file from /includes/?Huh  I will be using SSI to include headers and footers.  Cuz I still want the robot to index the header of the page, but I don't want it to index the page /includes/header.php.

If not is there a better way of doing this?  How would I do it via htaccess?
« Last Edit: February 03, 2007, 01:29:49 PM by MagickCrafter » Logged

http://designandprogram.com/

^^ My programming blog ^^
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #1 on: February 03, 2007, 02:05:14 PM »

Yes, your SSI includes will still work if you disallow those directories in your robots.txt file.

Let us know if you have any other questions.
Logged
MagickCrafter
Long live VI
Intergalactic Superstar
*****
Offline Offline

Posts: 156

VI-VI-VI, the Editor of the Beast


WWW
« Reply #2 on: February 03, 2007, 02:11:24 PM »

Thank you!!   Grinning

Now just to save up to get a year of lunarpages hosting Wink
Logged

http://designandprogram.com/

^^ My programming blog ^^
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM