URL Rewriting on godaddy hosting

PenChe

New Member
I've just uploaded my site to GoDaddy hosting and experiencing some problems with URL rewriting. Google is full of similar complains but non of the fixes that help the others did the trick for me.My .htaccess file looks like this:\[code\]DirectoryIndex index.phpAddDefaultCharset utf-8RewriteEngine onOptions +FollowSymlinks -MultiViews -Indexes RewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ /index.php?path=$1 [L,QSA]\[/code\]I get processing redirected to index.php as expected, but for http://example.com/products my $_GET array looks like this:\[code\]array( [404;http://example_com:80/products] => '')\[/code\]but should look like this:\[code\]array( [path] => '/products')\[/code\]I can't understand what this means.Here are common solutions of peoples problems found in google:
  • Add \[code\]Options +FollowSymlinks -MultiViews\[/code\]
  • Add \[code\]RewriteBase /\[/code\]
  • Add perpending slash to index.php in rewrite rule
My .htaccess had first two originally, and I added slash to index.php and waited two hours, but it's still the same.Any ideas?
 
Back
Top