wahid Posted May 14, 2009 Share Posted May 14, 2009 Dear All, i am a newbie to this so can someone help me with this. When i type www.mydomain.com it opens up the homepage but displays www.mydomain.com/index.php?www in the address bar. Is thr a way so that the index.php file opens but still shows as www.mydomain.com in the address bar. Thanks for your help in advance. Link to comment https://forums.phpfreaks.com/topic/158135-how-to-make-mydomaincomindexphp-appear-as-mydomaincom/ Share on other sites More sharing options...
Brian W Posted May 14, 2009 Share Posted May 14, 2009 if index.php is your default document, it should be used automatically for www.mydomain.com But if it isn't, it is more likely some server configuration you'll have to mess with. For Apache For IIS For Other web servers btw, if it is forwarding you to www.mydomain.com/index.php with the URL string "?www", that may be a mod_rewrite issue... Link to comment https://forums.phpfreaks.com/topic/158135-how-to-make-mydomaincomindexphp-appear-as-mydomaincom/#findComment-834161 Share on other sites More sharing options...
wahid Posted May 14, 2009 Author Share Posted May 14, 2009 Thanks Brian. You are right, its forwarding it to www.mydomain.com/index.php with the URL string "?www" How do i fix this? Link to comment https://forums.phpfreaks.com/topic/158135-how-to-make-mydomaincomindexphp-appear-as-mydomaincom/#findComment-834187 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.