Home > 2013, balt., blog > Magento Remove index.php from url

Magento Remove index.php from url

Magento by default added the index,php in url .So,As per the SEO page will not get indexed properly SO here we have try to Remove index.php in url from both End Access Magento URL without index.php
For example:
http://domain.com/index.php/category to
http://domain.com/categoryThen Just follow steps
1) Login to admin section by using the URL http://domain.com/index.php/admin
2) then go to “System >> Configuration >>Web >> Search Engines Optimization” Use Web Server Rewrites : YES
3) Go to “System >> Configuration >>Web >>Secure” Use secure URL Frontend: YES
4)Then create the .htaccess file under your the magento installed folder.

If the magento installed under document root ( /home/username/public_html) then add follogig rules into .htaccess file

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

and If the magento installed under /shop or directory then add the following rules into ” /home/username/public_html/shop/.htaccess ” file.

RewriteEngine On

RewriteBase /shop/

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /shop/index.php [L]Thst's it just refresh the cache .Hope this will help!


  1. October 17, 2013 at 6:55 AM

    Woah that weblog is fantastic i prefer examining your articles. Maintain the great paintings! You realize, many are seeking round for this data, you may encourage them to greatly.

  2. October 30, 2013 at 8:45 AM

    Pretty great post. I simply stumbled upon your blog and
    wished to mention that I’ve really loved browsing your weblog posts. In any case I will be subscribing in your rss feed and I am hoping you write once more soon!

  3. December 12, 2013 at 12:01 PM

    I became proposed this web site by means of my relation. That’s not me particular whether or not this post is written by method of your ex since who else understand these specific regarding my difficulty. You will be amazing! Appreciate it!

  4. December 15, 2013 at 4:15 AM

    Whoa, great web site formatting! Precisely how lengthy have you ever been writing a blog with regard to? you made running a blog glance easy. The whole glimpse of one’s web-site can be amazing, aside from this content content!

  5. March 17, 2014 at 3:07 AM

    Remarkable problems the following. I will be extremely happy to talk to your write-up. Thank you using this program . having a look onward to feel anyone. Are you going to kindly decline me a e-mail?

  6. August 3, 2014 at 12:16 PM

    My business is genuinely amazed along with your writing capabilities and also using the composition inside your site. Is niagra any settled subject or does one customize this yourself? Regardless remain on the pleasant good quality writing, it can be unheard of to find out a good blog just like it today.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: