Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What .htaccess redirection has effect on Google bot?

I made one website xyz.com using php codeigniter framework. This website has modules, so modular extension is used. Now when this website is made live, every link shows index.php. So for this we can use .htaccess for modrewrite command. Till now my knowledge was cool enough. Now when my friend who has good knowledge of SEO saw my website links, he told me that your website will not come above(lower ranks) in google.

His reason is - your every request is pased through index.php. When google crawls your site, it will be redirected again to index.php which is main drawback. As he didnt have much knowledge about codeigniter, he told to fix this index.php issue as soon as possible. So I wanna know

IS HE GIVING A VALID REASON?? if yes...so how can I solve this problem.

Anything related to this issue from your side is also welcomed, as I may not have asked complete question.

like image 395
Aakash Sahai Avatar asked Nov 14 '22 16:11

Aakash Sahai


1 Answers

Well, after your comment I can say that your friend is wrong. Google bot will never be redirected on the same page (index.php in your case). Of course is not very good that in each page url you have the "index.php" because you are losing important chars which otherwise can be used to put keywords.

Said that, your site will be indexed normally. Infact, many Joomla-based websites have the same behavior as you can see on this website (parlaritaliano.it) which is very well indexed on Google.

Anyway, I advice you to replace (using .htaccess) the index.php in every of your urls because it is better from a SEO point of view. I repeat...better, it does not will cause any Google bot loop.

like image 144
Aurelio De Rosa Avatar answered Dec 25 '22 07:12

Aurelio De Rosa