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.
By edcross99 on
The site is setup for clean URLs and they work on a local test host but once I have placed it on 1and1 server I can no longer access the pages with the clean URLs i.e. mywebsite.com/mypage. If I try it results in an error 500. I can only access pages using the mysebsite.com/?q=mypage format. Is there an additional setting required for 1and1?
Comments
add to htaccess
add this line to the top of your .htaccess file.....
AddType x-mapp-php5 .php
Find and uncomment the line
Find and uncomment the line below in your .htaccess file.
I moved from Drupal Gardens to 1and1 and had to do both the PHP 5 comment here and this below. All works great now. It's so easy only took 8 hours to figure out.
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
RewriteBase /
Thanks, it works in 1and1.
Thanks, it works in 1and1. Anyway try to search another hosting provider...
Thanks. worked for me
Thanks. worked for me
Thanks.
Thanks, work for me https://www.drupal.org/node/1286880#comment-5063396