php,html,apache,.htaccess,seo , How to avoid the multiple path to same file in php using htaccess?
How to avoid the multiple path to same file in php using htaccess?
My url is
and I want to access this by only current url. When I change the path of the index.php file, i.e.
Still, I am accessing index.php file which is a bad approach for SEO point of view because now google will index two URLs of the same file. So please help me out to fix this problem.
Add such line in your htaccess after RewriteBase
RewriteRule cbn/index.php /cbn/either/index.php [R,L]
I have three columns.The product of two columns get into third column name income_amount using codeigniter validation rule.the first column is crop_quantity and the second is per_rate controller $this->form_validation->set_rules('crop_quantity', 'Crop Quantity', 'required|numeric'); $this->form_validation->set_rules('per_rate', 'Per Rate', 'required|numeric|callback_get_product'); $this->form_validation->set_rules('income_amount', 'Income Amount', 'required|numeric');...