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

gjangelo’s picture

add this line to the top of your .htaccess file.....

AddType x-mapp-php5 .php

talon5’s picture

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 /

dpardo’s picture

Thanks, it works in 1and1. Anyway try to search another hosting provider...

jatorresdev’s picture

Thanks. worked for me

jatorresdev’s picture