Remove index.php from the URL |
While surfing through the Internet I saw many videos that show how to remove index.php from the URL.
Why should we do that? Only because of the beauty? CodeIgniter has not already installed that from HOME if that is important and necessary? By the way , despite the videos I haven't got it.
You normally do it to get nicer and more search friendly URLs on your website.
To remove the index.php file from your URL you need to
Example of code in your .htaccess file Code: <IfModule mod_rewrite.c> http://www.codeigniter.com/userguide3/ge...x-php-file
Removing index.php from the url will gives your site a better chance to get displayed while using search engines
04-16-2015, 08:14 PM
(This post was last modified: 04-16-2015, 08:15 PM by alenn. Edit Reason: Added SEO guidelines ) (04-16-2015, 02:12 AM)gadelat Wrote: No it won't, that's a myth.Removing "index.php" can shorten the URL length, and for the sake of cleaner/pretty URL. Will removing index.php improve SEO of your site? Found magento SEO article https://blog.udemy.com/magento-seo/ saying that removing index.php will improve the search ranking. How true is that? I'll based on Google SEO guidelines as I use google search engine most of the time (99.99% of the time): https://support.google.com/webmasters/answer/76329 So teh answer is YES! Removing index.php will improve your site SEO! Whenever possible, shorten URLs by trimming unnecessary parameters. Added SEO guidelines for reference: http://static.googleusercontent.com/medi...-guide.pdf |
Welcome Guest, Not a member yet? Register Sign In |