Closed (fixed)
Project:
RobotsTxt
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2008 at 10:56 UTC
Updated:
5 Mar 2009 at 23:00 UTC
I understand the instructions say required but theoretically could we not still use it if we have url like index.php?q=page-title ? I could always create the robot.txt myself but was curious if there was a way to make this mod work without clean urls
Comments
Comment #1
hass commentedNo, this module cannot work without clean urls. Search engines try to find a robots.txt in the site root and not behind urls with params.
Comment #2
dave reidActually the module can work without clean urls enabled! In the .htaccess file of your Drupal's root directory, add the following two lines to the mod_rewrite section, immediately after the line that says "RewriteEngine on":
I have tested this myself and I hope it helps.
Comment #3
hass commentedNot sure why someone shouldn't use clean urls if mod_rewrite is available. But without mod_rewrite the module cannot work. Maybe we should write this to the readme.
Comment #4
dave reidYeah I guess that makes sense. But some people *might* have clean URL's turned off, but mod_rewrite enabled. BTW, it was already included in the README.txt that you committed. So I'm going to mark this as fixed.