So, I am working on a site, just edited my htaccess file with my domain information as follows:
# Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^good2goevents\.com [NC]
RewriteRule (.*) http://good2goevents.com/$1 [R=301,L]
I have a document with the alias contact. In my site settings, I have the suffix set as /
so if I go to
http://good2goevents.com/contact/
It just loads the homepage design, not the contact page. It doesn’t REDIRECT to the homepage... the URL says the same, but the content it’s displaying is the homepage. If I just MAKE up an alias that doesn’t actually exist on a page, the same behavior applies.
Any idea what is wrong here? I used to set this up all of the time with older ModX versions with no issues.
ModX Version: Revolution 2.0.4-pl2 Traditional
ServerOS: UNIX / Apache
MySQL Server: 5.1.50
MySQL Client: 5.0.90
PHP: 5.0.90
Browser: Firefox 3.6.12
Not sure about pdo_mysql or opcode caching. No relevant errors in the error log.
This is a clean install, the only package I’ve added is getDocuments.
I get an error in PHPMyAdmin:
Your PHP MySQL library version 5.0.90 differs from your MySQL server version 5.1.50. This may cause unpredictable behavior.