Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I cannot seem to get the Path module to function proplery (4.2.0). mod_rewrite is enabled and works on apache (apache2). I have the path module installed, I have diff'd index.php, and have also diff'd common.inc (although It appears that I probably did not have to).
I can access the module in the site admin, and have added the following alias:
Alias: aliasname
Maps to existing URL: node/view/3
I've tried this with every possible combination I can think of; with and without trailing slashes, with beginning slash, etc. It seems to me that it should be entered as it is above.
I've also put a debug "print" into index.php:
if (isset($_GET["q"])) {
$mod = arg(0);
if (module_exist("path") and $path = path_get($_GET["q"])) {
$_GET["q"] = $path;
echo "found path!";
}
}
Which DOES print in the browser when (and only when) it's pointed to aliasname.
There are no errors in my apache error log, or in any of the error/warning logs in drupal's admin interface. It simply brings me back to my site index. I've disabled the errorducments in .htaccess for druples, and even get valid hits to my access-log:
I run cron.php, then (trying to fix something) I empty the search index db. Now when I run cron.php again don't process the old nodes (the ones which were in db before empty).
Is there any way to prevent the session ID from being added to URLs (sometimes happens after login) because Google AdSense has been indexing URLs with session ids in them, and on the Drupal access log it appears as if they are logged in.