Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Am wondering how to remove index.php from URLs, every link on my site has index.php in it, for e.g. example.com/index.php/contact-us.
Am using Drupal 8, my server is Apache and php version is 5.6, and am on Shared Hosting.
In the .htaccess file i tried to use
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
That removed the index.php but any new article wont show the images in the homepage(index.php)
I'm relatively new to Drupal 8 and I want to do something very simple, but alas... I'm a bit of a Drupal newb and can't seem to get this right.
I'm using Drupal 8 with the Bootstrap Theme. I've got a few different content types (Generic Page, Blog, etc).
What I want to do is wrap JUST the Blog content type in a couple of div tags with classes around the main content. JUST the blog content type. That's it. I've dug around in the content type settings and can't find anything that'll allow me to do this.
Need to deploy a new D8 site in a HA environment but am lacking resources that could explain options.
I saw in the settings.php file master/slave database options however I am not positive on the exact behind the scenes config needed to support a scenario such as this.
Can anyone supply personal experience or provide/point-to resources that could explain options that work well with D8 in a HA environment/configuration?
In recent days especially, my site has been bombarded with 100,000's of hits. Mostly from Russia.
Some of the articles or posts received 200 and 300,000 comments in the comment section.
I have closed commenting of course. But it seems impossible to remove that data.
Obviously I can't delete millions of comments one by one - I have tried deleting the articles they are posted to - but get this error message:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /home/rickmc45/public_html/includes/entity.inc on line 248