Results 1 to 18 of 18
  1. #1
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default getting the index.php out of the url

    I'm new with this and was hoping someone could help.

    First.. I'm with godaddy.com for my web hosting.
    Second.. I used Joomla 3.3 to create and maintain my site.

    I've tried several things to get rid of the 'index.php' from my url and showing up in google searches but it won't work for me.

    I've tried all the method I've seen posted on the internet like adding in code and using url rewriting but still have the issue.
    http://joom3.zemplate.com/faq/106-ho...php-in-the-url

    If anyone else used godaddy and joomla... do you know if I can fix this pesky issue? I might have to 'live with it'.. but don't want to if there is something I can do.

    Thanks.

  2. #2
    offyourface is offline Private Member
    Join Date
    February 2007
    Posts
    155
    Thanks
    103
    Thanked 127 Times in 71 Posts

    Default

    Quote Originally Posted by sunsation72 View Post
    I'm new with this and was hoping someone could help.

    First.. I'm with godaddy.com for my web hosting.
    Second.. I used Joomla 3.3 to create and maintain my site.

    I've tried several things to get rid of the 'index.php' from my url and showing up in google searches but it won't work for me.

    I've tried all the method I've seen posted on the internet like adding in code and using url rewriting but still have the issue.
    http://joom3.zemplate.com/faq/106-ho...php-in-the-url

    If anyone else used godaddy and joomla... do you know if I can fix this pesky issue? I might have to 'live with it'.. but don't want to if there is something I can do.

    Thanks.
    I think the htaccess snippet is the right way to achieve this. Below is what I use, you are welcome to try that and see if it works. You will want to replace yoursite.com on both lines below to the exact url of your site.

    HTML Code:
    # disable directory browsing
    Options All -Indexes
    
    # redirect index.htm and index.html to / (do this before non-www to www)
    
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.html?\ HTTP/
    RewriteRule ^(.*)index\.html?$ http://www.yoursite.com/$1 [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php?\ HTTP/
    RewriteRule ^(.*)index\.php?$ http://www.yoursite.com/$1 [R=301,L]
    It might be a good idea for you to paste what you already have in your htaccess file here if this doesn't work. I believe the code I pasted also achieves redirecting non www to the www version, so without seeing what's already included in your htaccess file, the above could create problems for you. Please save a backup of your current htaccess file prior to making any changes so you can easily revert back if the above code doesn't work or you get errors.

    Just so you know I' am no guru. I do a lot of copying and pasting and muttle through things like a lot of others. I'm sure someone else will chime in for you here if this doesn't work. The main thing with the above code is if you already have the code to redirect your site from non www to www version, then you will want to delete that first along with the code you have in there that isn't working to redirect index.php. Then paste my code in, change yoursite.com to your exact url, save your changes and let us know how it goes.

    Hope that helps.

  3. The Following User Says Thank You to offyourface For This Useful Post:

    Top Online Casinos (8 March 2015)

  4. #3
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default

    Thanks. I gave that a try but got this message... The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    I'm thinking it's perhaps godaddy.com that has something turned off that I need to do the rewriting or something?

    Hmmm.. Any thoughts?

    Susan



    Quote Originally Posted by offyourface View Post
    I think the htaccess snippet is the right way to achieve this. Below is what I use, you are welcome to try that and see if it works. You will want to replace yoursite.com on both lines below to the exact url of your site.

    HTML Code:
    # disable directory browsing
    Options All -Indexes
    
    # redirect index.htm and index.html to / (do this before non-www to www)
    
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.html?\ HTTP/
    RewriteRule ^(.*)index\.html?$ http://www.yoursite.com/$1 [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php?\ HTTP/
    RewriteRule ^(.*)index\.php?$ http://www.yoursite.com/$1 [R=301,L]
    It might be a good idea for you to paste what you already have in your htaccess file here if this doesn't work. I believe the code I pasted also achieves redirecting non www to the www version, so without seeing what's already included in your htaccess file, the above could create problems for you. Please save a backup of your current htaccess file prior to making any changes so you can easily revert back if the above code doesn't work or you get errors.

    Just so you know I' am no guru. I do a lot of copying and pasting and muttle through things like a lot of others. I'm sure someone else will chime in for you here if this doesn't work. The main thing with the above code is if you already have the code to redirect your site from non www to www version, then you will want to delete that first along with the code you have in there that isn't working to redirect index.php. Then paste my code in, change yoursite.com to your exact url, save your changes and let us know how it goes.

    Hope that helps.

  5. #4
    offyourface is offline Private Member
    Join Date
    February 2007
    Posts
    155
    Thanks
    103
    Thanked 127 Times in 71 Posts

    Default

    Yea I think you are right, if it's an apache server then I think Mod rewrite needs to be enabled. So you could ask godaddy on that. But Htaccess files are very finicky, if there is an extra character or anything out of place, it won't work.

    If it's not the mod rewrite issue, you might consider just paying a guru from odesk 10-20 bucks to figure it out instead of wasting time on it. I've been there too many times and have learned to just outsource these sort of problems instead of spending hours trying to figure it out. Although that being said it's a great way to learn things.

  6. #5
    baldidiot is offline Private Member
    Join Date
    January 2010
    Posts
    5,102
    Thanks
    433
    Thanked 2,333 Times in 1,555 Posts

    Default

    For joomla I would look at buying a license for sh404SEF: http://anything-digital.com/sh404sef...or-joomla.html

    Will remove the index.php as well as a host of other stuff (including better control over url's, various security functions...).

    Pretty much a default install for many on joomla.
    onlinegamblingwebsites.com - Formally known as goodbonusguide.

    Gambling Domains: Small clear out of some of the domains we've been hoarding - see the spreadsheet here.

  7. #6
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default

    thanks I've just installed that and will see if that helps me out. I appreciate the reply!

  8. #7
    Top Online Casinos's Avatar
    Top Online Casinos is offline Public Member
    Join Date
    March 2015
    Location
    Europe
    Posts
    189
    Blog Entries
    5
    Thanks
    148
    Thanked 208 Times in 105 Posts

    Default

    Quote Originally Posted by sunsation72 View Post
    thanks I've just installed that and will see if that helps me out. I appreciate the reply!
    How is Joomla working for you? Have you tried wordpress? If so, what are your findings? If not, perhaps you should consider trying it out if you can. No need to buy anything, no license etc. IMHO Wordpress can be seen as one of the best publishing platforms out there.. From what I've heard, it is a lot easier (perhaps better) than Joomla is.

  9. #8
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default

    I paid someone on odesk to help me .. and they tried for 3 hours or more and still can't get the index.php out. They said it's a godaddy host prob and the htaccess cache prob. Anyone else use godaddy and have this issue? It's a royal pain!
    Don’t tell me the sky’s the limit when there’s footprints on the moon.

  10. #9
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default

    Well after talking to godaddy.. turns out my site runs on a windows server therefore i need the re-write handled by a web.config file.

    I found that i had this file and once i renamed it from web.config.txt to just web.config, and turned on the re-write .. everything works.

    Life is good.
    Last edited by sunsation72; 10 March 2015 at 12:25 pm.
    Don’t tell me the sky’s the limit when there’s footprints on the moon.

  11. #10
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    34,144
    Thanks
    4,591
    Thanked 9,344 Times in 6,020 Posts

    Default

    Glad to see you got that worked out sunstation.

    There are other ways to handle this on windows servers also, such as using the isapi filter from helicon as this allows standard htaccess files.

    There is a free version but there are a few restrictions with it, but I can verify the Licensed server version works fine and allows almost seamless integration of htaccess files. (this can only be installed by a system admin)

    Rick
    Universal4

  12. #11
    DanHorvat's Avatar
    DanHorvat is offline Private Member
    Join Date
    November 2008
    Location
    Actual location may vary.
    Posts
    1,994
    Blog Entries
    3
    Thanks
    1,418
    Thanked 1,319 Times in 783 Posts

    Default

    It shouldn't be that complicated. In Joomla Global Configuration, you just enable the two SEO options "Search Engine Friendly URLs" and "Use URL Rewriting". Before doing that you rename htaccess.txt to .htaccess.

    I've developed several Joomla sites and this is one of the first things I do upon installing the template.

    Doing it manually would be a royal pain.

    SH404SEF is a good plugin with advanced features, but it isn't necessary for this. You'll use SH404SEF if you want to remove the category name from the URL or the article ID from the URL. But the SEF URLs are an inbuilt feature of Joomla.
    Professional bizdev can help you, the affiliate, to negotiate better terms with casinos. PM for details and a free evaluation of what I can do for you. All geos.

  13. #12
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default

    Quote Originally Posted by DanHorvat View Post
    It shouldn't be that complicated. In Joomla Global Configuration, you just enable the two SEO options "Search Engine Friendly URLs" and "Use URL Rewriting". Before doing that you rename htaccess.txt to .htaccess.

    I've developed several Joomla sites and this is one of the first things I do upon installing the template.

    Doing it manually would be a royal pain.

    SH404SEF is a good plugin with advanced features, but it isn't necessary for this. You'll use SH404SEF if you want to remove the category name from the URL or the article ID from the URL. But the SEF URLs are an inbuilt feature of Joomla.

    I honestly thought all that would work too.. and attempted it a few times and even paid someone to help with that. All no no avail.
    From what Godaddy tells me, it won't even look at the htaccess file. I even paid for the SH404SEF and have it installed. My issue was my site being on a windows based server and not Linux. Once I renamed the web.config.txt to web.config and then did the enabling of the SEO options everything worked fine.

    All a learning experience. If I change hosting services I will know what to do for a Linux server.
    Don’t tell me the sky’s the limit when there’s footprints on the moon.

  14. #13
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default

    Quote Originally Posted by universal4 View Post
    Glad to see you got that worked out sunstation.

    There are other ways to handle this on windows servers also, such as using the isapi filter from helicon as this allows standard htaccess files.

    There is a free version but there are a few restrictions with it, but I can verify the Licensed server version works fine and allows almost seamless integration of htaccess files. (this can only be installed by a system admin)

    Rick
    Universal4

    Thanks Rick. I'm new to this. So I'm grateful for everyone's advice. I did a lot of research about the htaccess and thought I had it all right and was so frustrated when it didn't work. All came down to windows and not knowing it wasn't on a Linux server.

    Thanks again.
    Don’t tell me the sky’s the limit when there’s footprints on the moon.

  15. #14
    Top Online Casinos's Avatar
    Top Online Casinos is offline Public Member
    Join Date
    March 2015
    Location
    Europe
    Posts
    189
    Blog Entries
    5
    Thanks
    148
    Thanked 208 Times in 105 Posts

    Default

    Hi Sunsation72,

    Just a little warning: After visiting onthegocasinos I noticed something very familiar.. Your logo.. I was like, where did I see that before? Quickly remembered it: I hope PKR poker won't mind you are using part of their logo.. I'd be very careful using it to be honest. Or better, take out the part that belongs to their logo.. Prevention is better than curing.. And using trademarked logos (or parts of it) could lead to problems..

  16. #15
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default

    Quote Originally Posted by Top Online Casinos View Post
    Hi Sunsation72,

    Just a little warning: After visiting onthegocasinos I noticed something very familiar.. Your logo.. I was like, where did I see that befothat'sre? Quickly remembered it: I hope PKR poker won't mind you are using part of their logo.. I'd be very careful using it to be honest. Or better, take out the part that belongs to their logo.. Prevention is better than curing.. And using trademarked logos (or parts of it) could lead to problems..
    Thanks for letting me know. I didn't design it. I actually paid a designer to make me a logo and didn't provide any material to them. Not my intention to make it look like anyone else's.

    I will have to look into that.
    Don’t tell me the sky’s the limit when there’s footprints on the moon.

  17. #16
    sunsation72's Avatar
    sunsation72 is offline Private Member
    Join Date
    January 2015
    Posts
    143
    Thanks
    99
    Thanked 111 Times in 62 Posts

    Default

    Yes just checked and that icon is the same. Thanks for letting me know. When I'm home i Will change it and give a mouthful to the twerp on who charged me for this. not happy.
    Don’t tell me the sky’s the limit when there’s footprints on the moon.

  18. #17
    Top Online Casinos's Avatar
    Top Online Casinos is offline Public Member
    Join Date
    March 2015
    Location
    Europe
    Posts
    189
    Blog Entries
    5
    Thanks
    148
    Thanked 208 Times in 105 Posts

    Default

    Quote Originally Posted by sunsation72 View Post
    Yes just checked and that icon is the same. Thanks for letting me know. When I'm home i Will change it and give a mouthful to the twerp on who charged me for this. not happy.
    Look at it this way: This is how bad it gets.. Luckily you were / are still on time to change it before receiving a nasty letter from PKR..

    So, instead of being unhappy, be happy!!



    I'm glad I was able to inform you on this.

  19. #18
    Top Online Casinos's Avatar
    Top Online Casinos is offline Public Member
    Join Date
    March 2015
    Location
    Europe
    Posts
    189
    Blog Entries
    5
    Thanks
    148
    Thanked 208 Times in 105 Posts

    Default

    I've just re visited your site. The new logo looks great. Well done taking it so serious. Hats off.

Posting Permissions

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