So in the quest to abolish the www from my URL, I seemed to have broken Movable Type comments.
I added the following to my .htaccess file:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.trevordavis.net$ [NC]
RewriteRule ^(.*)$ http://trevordavis.net/$1 [R=301,L]
That means whenever anyone tried to go to www.trevordavis.net, they were redirected to trevordavis.net.
My co-worker, Adrian, told me today that when he was trying to add a comment to one of my entries, he got an error that said "No entry_id". After much googling, I finally determined it was because of the URL rewriting. I could not really find a solution, but I finally went into the mt-config.cgi file and found out that when I had setup the site, I set it up with www.trevordavis.net. For some reason, this broke the comments. I changed it to trevordavis.net, and my quest to abolish the www continues.
Categories
Recent Articles
May 2012
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 |
2 Comments
Adrian
03.12.2007Righteous!
Jessi
05.14.2007Your site is perfect!
——-
Too late, comments are closed!
Don’t worry, you can email me or contact me on Twitter.