SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    removing index.php from url

    I have a magento site which has index.php appended to the url you click on. I googled a lot to find the solution and i did what i could find.To clear my my doubts i uploaded htaccess file fresh copy from magento copy and made the url rewrite in configuation>system>web to yes and clear the cache too but still it put index.php in url.I have also double checked secure and unsecure link to see if it contain any index.php which it doesn't I can do all what i can to do research and applied it but no change. What can i do or what can be wrong?
    All those who wander aren't lost.

  2. #2
    SitePoint Wizard bronze trophy Jeff Mott's Avatar
    Join Date
    Jul 2009
    Posts
    1,264
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    I took a look at the magento htaccess file, and it looks like it should do exactly what you want. We might need to access and troubleshoot your actual installation to find out why it isn't working.
    "First make it work. Then make it better."

  3. #3
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jeff Mott View Post
    I took a look at the magento htaccess file, and it looks like it should do exactly what you want. We might need to access and troubleshoot your actual installation to find out why it isn't working.
    And how would you do that
    All those who wander aren't lost.

  4. #4
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    Quote Originally Posted by Jeff Mott View Post
    I took a look at the magento htaccess file, and it looks like it should do exactly what you want. We might need to access and troubleshoot your actual installation to find out why it isn't working.
    I found the solution. it was the store scope.
    All those who wander aren't lost.

  5. #5
    SitePoint Member
    Join Date
    Jan 2013
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello, you should do 301 redirection code in .htaccess then index.php URL is redirect permanently on Main URL mean Homepage.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •