[support] theming primary links, or absolute paths when drupal is in a sub-directory
Amanda B Hickman
amanda at velociraptor.info
Wed Oct 31 21:00:34 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Huzzah.
This is perfect. Thank you.
sander-martijn wrote:
>> RewriteCond %{REQUEST_URI} ^/drupal//.*
>> RewriteRule (.*) /$1 [L]
>>
>> I'm halfway there. Or three quarters of the way there. Nine tenths. Now
>> what I've got is that the menus link to "/drupal//news/" and the page
>> loads the content that also appears at "/news/" sitewide. Which of
>> course has forced me to realize that what I really want is not URL
>> rewrites, but actual redirects. Still, this keeps the site intact as a
>> whole so it is plenty good enough.
>
> I believe adding in an R will change it to a redirect instead of a rewrite:
>
> RewriteCond %{REQUEST_URI} ^/drupal//.*
> RewriteRule (.*) /$1 [L,R]
- --
Amanda B Hickman
(p) 917 655 2579
(s) amandabee
(a) amandahlinc
(w) http://velociraptor.info
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHKOzyrxDTsWdh5zkRAnHFAJ9X+3qtiTWQcVZTN5tW8TqnuYQztgCfdpv2
KaB3gw62AL985dpGZeiNpGE=
=qC2r
-----END PGP SIGNATURE-----
More information about the support
mailing list