Remove /index.php/ in SEF URL:s?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Intern
- Posts: 69
- Joined: Fri Mar 21, 2008 12:13 pm
Remove /index.php/ in SEF URL:s?
Hello. I wonder how to remove the /index.php/ in the search engine-friendly URL. I put on SEF URL:s and added suffixes but it seems as if every site or so is under index.php. How can it be that? I did make a search on the topic here but it was really hard to understand what you should do. :/
If you like Star Wars, you are very welcome to take a look at my SW website - http://www.galacticempire.se . ^^
Alla svenskar/norsker/dansker, gillar ni Star Wars/liker dere StarWars? Check the link above.
Signature rules: Literal URLs only!
Alla svenskar/norsker/dansker, gillar ni Star Wars/liker dere StarWars? Check the link above.
Signature rules: Literal URLs only!
-
- Joomla! Intern
- Posts: 69
- Joined: Fri Mar 21, 2008 12:13 pm
Re: Remove /index.php/ in SEF URL:s?
Do I have to alter the configuration.php for doing this, I thought I found someone sayign that here.
If you like Star Wars, you are very welcome to take a look at my SW website - http://www.galacticempire.se . ^^
Alla svenskar/norsker/dansker, gillar ni Star Wars/liker dere StarWars? Check the link above.
Signature rules: Literal URLs only!
Alla svenskar/norsker/dansker, gillar ni Star Wars/liker dere StarWars? Check the link above.
Signature rules: Literal URLs only!
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat May 03, 2008 8:16 pm
Re: Remove /index.php/ in SEF URL:s?
Hi,
I am also having the same problem..all the URLs are coming under index.php
for example the if the site default page is: http://www.abc.com/index.php
then all other URL's will be like this:
http://www.abc.com/index.php/catgegory-name1
http://www.abc.com/index.php/catgegory-name2
http://www.abc.com/index.php/catgegory-name3
But actually it should be
http://www.abc.com/catgegory-name1
http://www.abc.com/catgegory-name2
http://www.abc.com/catgegory-name3
The community at joomla has number of talented people who will provide a good fix for this and with that hope I eagerly await here
Thanks in advance.
I am also having the same problem..all the URLs are coming under index.php
for example the if the site default page is: http://www.abc.com/index.php
then all other URL's will be like this:
http://www.abc.com/index.php/catgegory-name1
http://www.abc.com/index.php/catgegory-name2
http://www.abc.com/index.php/catgegory-name3
But actually it should be
http://www.abc.com/catgegory-name1
http://www.abc.com/catgegory-name2
http://www.abc.com/catgegory-name3
The community at joomla has number of talented people who will provide a good fix for this and with that hope I eagerly await here
Thanks in advance.
-
- Joomla! Virtuoso
- Posts: 3173
- Joined: Sun Apr 16, 2006 12:20 am
- Location: 127.0.0.1
Re: Remove /index.php/ in SEF URL:s?
mod note: moved to administration
In Global Configuration, did you set "Use Apache mod_rewrite" to yes? (and then subsequently rename htaccess.txt to .htaccess)
In Global Configuration, did you set "Use Apache mod_rewrite" to yes? (and then subsequently rename htaccess.txt to .htaccess)
Backup, backup, backup!
The "Master" .htacess file by Nicholas http://snipt.net/nikosdion/the-master-htaccess
The "Master" .htacess file by Nicholas http://snipt.net/nikosdion/the-master-htaccess
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat May 03, 2008 8:16 pm
Re: Remove /index.php/ in SEF URL:s?
Hi,
When I set "Use Apache mod_rewrite" to yes and also renamed htaccess.txt file to .htaccess, the result is all respective URL will be correct when we hover the mouse on it, but when u click and try to land on that page then it will say oops...page not found error.
So URL looks fine now but not able to understand why they are not opening.
Any other things that we should look into?
When I set "Use Apache mod_rewrite" to yes and also renamed htaccess.txt file to .htaccess, the result is all respective URL will be correct when we hover the mouse on it, but when u click and try to land on that page then it will say oops...page not found error.
So URL looks fine now but not able to understand why they are not opening.
Any other things that we should look into?
- humvee
- Joomla! Master
- Posts: 14704
- Joined: Wed Aug 17, 2005 10:27 pm
- Location: Kent, England
Re: Remove /index.php/ in SEF URL:s?
possibly make sure var $live_site = '' is completed with your own site URL in the configuration.php file in joomla_root/ directory.
Andy
Andy
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu May 08, 2008 3:48 pm
Re: Remove /index.php/ in SEF URL:s?
I am having the same problem and wondering if someone has a solution for this
my site is http://www.ashakiran.com/asha and you click and the links and they will fail but if I remove the index.php then it works fine. I have enabled the mod_rewrite and have renamed the htaccess.txt to .htaccess
Any solutions to this?
my site is http://www.ashakiran.com/asha and you click and the links and they will fail but if I remove the index.php then it works fine. I have enabled the mod_rewrite and have renamed the htaccess.txt to .htaccess
Any solutions to this?
-
- Joomla! Virtuoso
- Posts: 3173
- Joined: Sun Apr 16, 2006 12:20 am
- Location: 127.0.0.1
Re: Remove /index.php/ in SEF URL:s?
Looked fine to me.hsvjoomla wrote:I am having the same problem and wondering if someone has a solution for this
my site is http://www.ashakiran.com/asha and you click and the links and they will fail but if I remove the index.php then it works fine. I have enabled the mod_rewrite and have renamed the htaccess.txt to .htaccess
Any solutions to this?
Backup, backup, backup!
The "Master" .htacess file by Nicholas http://snipt.net/nikosdion/the-master-htaccess
The "Master" .htacess file by Nicholas http://snipt.net/nikosdion/the-master-htaccess
- dextercowley
- Joomla! Virtuoso
- Posts: 3286
- Joined: Sun Apr 06, 2008 4:44 am
- Location: Seattle, WA, USA
Re: Remove /index.php/ in SEF URL:s?
Hi. The site http://www.ashakiran.com/asha appears to be working as desired for me (no index.php). Mark
Mark Dexter
"Well...how did I get here?"
"Well...how did I get here?"
-
- Joomla! Apprentice
- Posts: 6
- Joined: Wed Jul 02, 2008 3:56 am
Re: Remove /index.php/ in SEF URL:s?
Hi all,
http://www.secretvillasbali.com/index.p ... villa.html
This is my website and I cannot remove the index.php at all I have .htaccess on my root folder.
I have put the $livesite to my web URL.
Done every possible things that are on this forum.
Even I have tried all the combination of the configuration for SEF but no result.
When the URL is http://www.secretvillasbali.com/booking-villa.html it says
Not Found
I am using Joomla 1.5
Any help will be appreciated
http://www.secretvillasbali.com/index.p ... villa.html
This is my website and I cannot remove the index.php at all I have .htaccess on my root folder.
I have put the $livesite to my web URL.
Done every possible things that are on this forum.
Even I have tried all the combination of the configuration for SEF but no result.
When the URL is http://www.secretvillasbali.com/booking-villa.html it says
Not Found
I am using Joomla 1.5
Any help will be appreciated
- dextercowley
- Joomla! Virtuoso
- Posts: 3286
- Joined: Sun Apr 06, 2008 4:44 am
- Location: Seattle, WA, USA
Re: Remove /index.php/ in SEF URL:s?
Hi. I don't know if this is related, but it looks like you might have a file "index.html" in your root directory. Is this by design? If not, you could try deleting this file. Hope this helps. Mark
Mark Dexter
"Well...how did I get here?"
"Well...how did I get here?"
-
- Joomla! Apprentice
- Posts: 6
- Joined: Wed Jul 02, 2008 3:56 am
Re: Remove /index.php/ in SEF URL:s?
Thanks for the help
But that did not help me out.
It shows Not Found when
This is my seo settings.
But that did not help me out.
It shows Not Found when
This is my seo settings.
- dextercowley
- Joomla! Virtuoso
- Posts: 3286
- Joined: Sun Apr 06, 2008 4:44 am
- Location: Seattle, WA, USA
Re: Remove /index.php/ in SEF URL:s?
Hi. What are the contents of your .htaccess file? Mark
Mark Dexter
"Well...how did I get here?"
"Well...how did I get here?"
-
- Joomla! Apprentice
- Posts: 6
- Joined: Wed Jul 02, 2008 3:56 am
Re: Remove /index.php/ in SEF URL:s?
Oh that may be the problem
I have nothing in the .htaccess file
Its blank
Can you just suggest what should I put inside it
I have nothing in the .htaccess file
Its blank
Can you just suggest what should I put inside it
- dextercowley
- Joomla! Virtuoso
- Posts: 3286
- Joined: Sun Apr 06, 2008 4:44 am
- Location: Seattle, WA, USA
Re: Remove /index.php/ in SEF URL:s?
Hi. I think it's supposed to be the contents of the htaccess.txt file that installs in your home directory. So just find a copy of that file, rename it to .htaccess, and maybe that will fix your problem. Mark
Mark Dexter
"Well...how did I get here?"
"Well...how did I get here?"
-
- Joomla! Apprentice
- Posts: 6
- Joined: Wed Jul 02, 2008 3:56 am
Re: Remove /index.php/ in SEF URL:s?
Hi Mark,
I don't have any htaccess.txt file.
How can I get it and when I checked with other website with the same host company it didn't had the htaccess.txt either.
Can you just send me the code for the htaccess
Samir
I don't have any htaccess.txt file.
How can I get it and when I checked with other website with the same host company it didn't had the htaccess.txt either.
Can you just send me the code for the htaccess
Samir
-
- Joomla! Apprentice
- Posts: 6
- Joined: Wed Jul 02, 2008 3:56 am
Re: Remove /index.php/ in SEF URL:s?
Hi Mark,
It worked, I was doing this for more than a week.
But you saved my life mate.
I just read this post:
http://forum.joomla.org/viewtopic.php?f=432&t=304366
and when I paste the code there in my .htaccess it worked fine.
You are gr8 man.
Thanks a lot.
Samir
It worked, I was doing this for more than a week.
But you saved my life mate.
I just read this post:
http://forum.joomla.org/viewtopic.php?f=432&t=304366
and when I paste the code there in my .htaccess it worked fine.
You are gr8 man.
Thanks a lot.
Samir
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 26, 2008 9:08 pm
Re: Remove /index.php/ in SEF URL:s?
I just wanted to add that I read the comments in this post, set all the SEO settings to Yes, changed htaccess.txt to .htaccess and everything worked wonderfully. Didn't have to change var $live_site = ''; It was empty. Am running Joomla 1.5.3. Thanks!
- smart.1
- Joomla! Apprentice
- Posts: 25
- Joined: Fri Sep 15, 2006 2:50 pm
- Contact:
Re: Remove /index.php/ in SEF URL:s?
Hi
I have just a small related problem: how can I exclude an url from being rewritten? More exactly, I found out that the SEO engine is braking my RSS/Atom syndication. The bare url (.../index.php?option=com_content&view=section&id=1&Itemid=46&lang=en&format=feed&type=rss) is working fine, but when I place it on the page and activate SEO, it gets distorted and does'n work anymore. I think I know how (edit .htaccess to omit "&format=feed&type=rss" from rewriting engine), but I'm not very good with these apache commands. Can anyone help me with this?
Thanks
I have just a small related problem: how can I exclude an url from being rewritten? More exactly, I found out that the SEO engine is braking my RSS/Atom syndication. The bare url (.../index.php?option=com_content&view=section&id=1&Itemid=46&lang=en&format=feed&type=rss) is working fine, but when I place it on the page and activate SEO, it gets distorted and does'n work anymore. I think I know how (edit .htaccess to omit "&format=feed&type=rss" from rewriting engine), but I'm not very good with these apache commands. Can anyone help me with this?
Thanks
- zenalien
- Joomla! Apprentice
- Posts: 16
- Joined: Fri Apr 11, 2008 1:11 am
- Contact:
Re: Remove /index.php/ in SEF URL:s?
If ever someone come back in this thread.. I would be also intersted in a solution to exclude rss links to be rewritten....
Tahiti Full Screen VR Panoramas
http://www.direct2brain.net
http://www.direct2brain.net
-
- Joomla! Apprentice
- Posts: 10
- Joined: Sat Nov 01, 2008 7:15 am
- Location: New Zealand
- Contact:
Re: Remove /index.php/ in SEF URL:s?
I found this to be extremely helpful. It fixed all my problems.
http://extensions.siliana.com/en/sh404S ... ation.html
http://extensions.siliana.com/en/sh404S ... ation.html
- frankzusa
- Joomla! Apprentice
- Posts: 14
- Joined: Tue Mar 17, 2009 6:00 pm
Re: Remove /index.php/ in SEF URL:s?
Thank lot, it works for my website! Cheer!
-
- Joomla! Apprentice
- Posts: 13
- Joined: Sat Oct 25, 2008 1:47 pm
Re: Remove /index.php/ in SEF URL:s?
thx for this
-
- Joomla! Apprentice
- Posts: 13
- Joined: Thu Dec 08, 2005 8:31 pm
Re: Remove /index.php/ in SEF URL:s?
OK. I have all the same issues. index.php in every URL.
I have taken great care to follow all steps, 1 by 1.
No luck.
If I switch to .htaccess from htaccess.txt, the whole site goes down.
If I keep it at htaccess.txt, the site works -- but I get the infernal index.php in every dang url!
Is there another fix for this? It's got to something simpler!
Vexing.
I have taken great care to follow all steps, 1 by 1.
No luck.
If I switch to .htaccess from htaccess.txt, the whole site goes down.
If I keep it at htaccess.txt, the site works -- but I get the infernal index.php in every dang url!
Is there another fix for this? It's got to something simpler!
Vexing.
- dextercowley
- Joomla! Virtuoso
- Posts: 3286
- Joined: Sun Apr 06, 2008 4:44 am
- Location: Seattle, WA, USA
Re: Remove /index.php/ in SEF URL:s?
Hi. Is this a hosted site or a local site? You need to have the mod_rewrite service enabled in your Apache server. If you are running locally, I think you need to uncomment the line in the file C:\xampp\apache\conf\httpd.conf (on my Windows system) that reads: LoadModule rewrite_module modules/mod_rewrite.so.
If this is hosted, you need to find out with your host how to enable this module.
Hope this helps. Mark
If this is hosted, you need to find out with your host how to enable this module.
Hope this helps. Mark
Mark Dexter
"Well...how did I get here?"
"Well...how did I get here?"
-
- Joomla! Apprentice
- Posts: 13
- Joined: Thu Dec 08, 2005 8:31 pm
Re: Remove /index.php/ in SEF URL:s?
Hosted.
The thing is, I have 5 other Joomla! sites hosted on the server, no problems. The other Joomla! installations are 1.0 -- this is my first 1.5 on the server. Mod_rewrite is enabled.
So, yeah, the re-writes work no problem for earlier versions of Joomla.
The issue appears to be with 1.5. I'm stumped.
The thing is, I have 5 other Joomla! sites hosted on the server, no problems. The other Joomla! installations are 1.0 -- this is my first 1.5 on the server. Mod_rewrite is enabled.
So, yeah, the re-writes work no problem for earlier versions of Joomla.
The issue appears to be with 1.5. I'm stumped.
- dextercowley
- Joomla! Virtuoso
- Posts: 3286
- Joined: Sun Apr 06, 2008 4:44 am
- Location: Seattle, WA, USA
Re: Remove /index.php/ in SEF URL:s?
Well, I can tell you that this works in 1.5 for people, and it works locally as well if you enable the module in Apache. So I don't know why it's not working for you, but I am pretty sure it is not an across-the-board Joomla 1.5 issue. Good luck getting it sorted out. Mark
Mark Dexter
"Well...how did I get here?"
"Well...how did I get here?"
-
- Joomla! Apprentice
- Posts: 13
- Joined: Thu Dec 08, 2005 8:31 pm
Re: Remove /index.php/ in SEF URL:s?
Well, the only solution that worked --
-- I took the .htaccess file from my Joomla 1.01 installations
...deleted the 1.5 .htaccess file. Replaced it with the old htaccess file from version 1.01.
Now it works.
-- I took the .htaccess file from my Joomla 1.01 installations
...deleted the 1.5 .htaccess file. Replaced it with the old htaccess file from version 1.01.
Now it works.
- zooshh
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 25, 2009 9:24 am
Re: Remove /index.php/ in SEF URL:s?
Im quite new to joomla also php . . Is it possable to show how this should look so i can copy it please ? Also im having no problems editing the txt files . but i cant edit the php file, Im using 1 & 1 web hostinghumvee wrote:possibly make sure var $live_site = '' is completed with your own site URL in the configuration.php file in joomla_root/ directory.
Andy
Thanks
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Sep 21, 2009 3:46 am
- Location: North America
- Contact:
Re: Remove /index.php/ in SEF URL:s?
Thanks! It works just perfect.Geoff wrote:In Global Configuration, did you set "Use Apache mod_rewrite" to yes? (and then subsequently rename htaccess.txt to .htaccess)