pal_20007 Posted September 7, 2011 Share Posted September 7, 2011 hello, sorry for posting my questin twice i have shared hosting account with godaddy and i want use htaccess file i made the file with 79 line and its about 4kb my questions 1- if i use this htaccess, its slow down my website ? 2- because i am in shared hosting, is it better to use htaccess anyway (even if its slow my web) because if i did not use it another one in the same server may use it ? 3- how to set rewriterule to redirect page if (querystring id=1) then redirec to index.php?cars if querystring id=2 then redirect to index.php?mobiles and so ... ? thanks in advanced Quote Link to comment https://forums.phpfreaks.com/topic/246606-3-htaccess-questions-please-help-me/ Share on other sites More sharing options...
JKG Posted September 8, 2011 Share Posted September 8, 2011 wont slow it down. http://www.generateit.net/mod-rewrite/ should help Quote Link to comment https://forums.phpfreaks.com/topic/246606-3-htaccess-questions-please-help-me/#findComment-1266898 Share on other sites More sharing options...
cags Posted September 8, 2011 Share Posted September 8, 2011 Having .htaccess files disabled on the server can improve performance, however the chances are you don't have control of that. Will there be a performance hit by using one? Possibly. Will you notice it? No. Quote Link to comment https://forums.phpfreaks.com/topic/246606-3-htaccess-questions-please-help-me/#findComment-1267040 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.