I have a drupal installation in the root directly of my domain with clean urls enabled. I also have a sub directory with wordpress installed. /blog/ I also have a sub directory with php scripts in it /utilities/
When I type in "http://www.domain.com/blog/a-post/" I get a 404 error from Drupal telling me that the page does not exist. same goes with "http://www.domain.com/utilities/pig/"
I know this has something to do with the ".htaccess" file. That was created when I turned on "clean urls" in Drupal.
I'm looking for information on how to set up the .htaccess file or a code snippet that i could use to tell Drupal to ignore these two directories.
You can build complex functionality in both Drupal and WordPress without ever needing to write a line of code. WordPress plugins make it easy to add features quickly. Drupal goes out of it's way to make sure site administrators can combine functionality in any way they want.
The main difference between Drupal and WordPress is that Drupal is focused on developers with more customization features, while WordPress is more beginner-friendly. Below we'll see in more detail how WordPress and Drupal stack up against each other.
Out of the box, Drupal's user permissions are also more advanced than WordPress. With Drupal, you can have site admins, content editors, individualized access to private content, and more. Drupal core also allows you to create and define your own user roles and associated permissions for each role.
WordPress is the world's most popular content management system. Originally launched as a blogging platform back in 2003, WordPress now powers 43.3% of all websites and controls a massive 65.1% of the known content management system market.
If you add
RewriteCond %{REQUEST_URI} !^/blog/.*$
RewriteCond %{REQUEST_URI} !^/utilities/.*$
below
RewriteCond %{REQUEST_URI} !=/favicon.ico
You should be fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With