Welcome Guest, Not a member yet? Register   Sign In
[Solved]: Gonna loose my job today !!! default controller redirecting url http://domain.com to http://www.domain.com. Wh
#3

[eluser]Sarfaraz Momin[/eluser]
Thanks for a prompt reply david. I do not think the issue is with htaccess since there is no rule for such redirection. Well as I defined earlier the internal pages are working with http://domain.com/category/ without rewriting the URL in the address bar to http://www.domain.com the problem stays only with the homepage. The homepage for some reason does not want to work the way I want. Even if i put http://www.domain.com/index.php it redirects to http://www.domain.com. Please help as this is getting a little more critical than I expected. The following are the contents of my htaccess file.



Code:
Options +FollowSymLinks
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|css|stylesheets|image|img|js|adminimg)
RewriteRule ^(.*)$ /index.php?$1 [L]


Messages In This Thread
[Solved]: Gonna loose my job today !!! default controller redirecting url http://domain.com to http://www.domain.com. Wh - by El Forum - 09-29-2007, 12:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB