اردو محفل کے کوئی ایکسپرٹ نیچے لکھے سوال اور اس کے جواب کی وضاحت کرسکتا ہے۔
Do you support .htaccess? What should I know about it ?
All our servers support .htaccess by default. Usage is unrestricted, you can put any rules or php flags to .htaccess just like with paid hostings, everything will work fine.
But, there is one thing you should know about .htaccess and mod_rewrite rules:
We use virtual user home directory paths, so you can get errors when trying to setup search engine friendly URLs. If can be fixed very easy. Edit your .htaccess file and one simple line to it:
RewriteBase /
Make sure this line is placed before all the other rules (on the first line of .htaccess file). That's it. Now your rewrite rules will be working fine.
Note: if you are installing your script to some sub-directory such as www.yourdomain.com/forum/, you have to place RewriteBase /forum line to the .htaccess file which must be located in public_html/forum directory.
Do you support .htaccess? What should I know about it ?
All our servers support .htaccess by default. Usage is unrestricted, you can put any rules or php flags to .htaccess just like with paid hostings, everything will work fine.
But, there is one thing you should know about .htaccess and mod_rewrite rules:
We use virtual user home directory paths, so you can get errors when trying to setup search engine friendly URLs. If can be fixed very easy. Edit your .htaccess file and one simple line to it:
RewriteBase /
Make sure this line is placed before all the other rules (on the first line of .htaccess file). That's it. Now your rewrite rules will be working fine.
Note: if you are installing your script to some sub-directory such as www.yourdomain.com/forum/, you have to place RewriteBase /forum line to the .htaccess file which must be located in public_html/forum directory.