index.php kills SEF everytime.

Phoca SEF - redirect extension for Joomla! CMS
Wingman
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 01 Jul 2009, 23:12

index.php kills SEF everytime.

Post by Wingman »

So, my last hosting killed one of my sites...messed it all up and google just ate it up and dropped to the last page on their index :x .

:twisted: Now, I come across your product - which ROCKS!!!

One - I am looking for a module (I cannot remember where it is at) that showed up only when you had an error...like what happens when you get a 404 with your component. Which is cool. Once I find it I will share - cause if I remember you can use that customize anything - so it would be great to use that for a 404 landing page.

Second - the site that dorked up my ranking somehow set my site to work like this with Joomla SEF on -

http://www.mysite.com/index.php/anything/etc...

Notice the index.php? I tested adding index.php between any of my site using Joomla SEF and it just spits out "Junk". Also, they do show up in your component, but redirecting them doesn't work. Of course Google would have them indexed with index.php in them :cry: :D

So, okay yes, I tested it on your site and some others who are top notch developers sites and found this -

https://www.phoca.cz/phocasef or this https://www.phoca.cz/index.php/phocasef = ALL GOOD! YEAH!

So, pretty, pretty please - how did yo do that? Cause for me -

http://www.mysite.com/anything is good, but http://www.mysite.com/index.php/anything SUCKS lol :P

Anyhoo thanks for the great component. I get back to you on that module.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47912
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: index.php kills SEF everytime.

Post by Jan »

Hi, you need to enable mod_rewrite settings on your site (mod_rewrite needs to be enabled on your site)

See global configuration of Joomla!

Jan
If you find Phoca extensions useful, please support the project
Wingman
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 01 Jul 2009, 23:12

Re: index.php kills SEF everytime.

Post by Wingman »

Jan wrote:Hi, you need to enable mod_rewrite settings on your site (mod_rewrite needs to be enabled on your site)

See global configuration of Joomla!

Jan
Yeppers, they are already set to mod_rewrite and set to .htaccess and they still act funky. Oh and thank you for the response. I have two hosting companies and multiple sites that it does that with. Well, so, this is not your product and it may be an Apache issue or more than likely - ME! :roll:

I will keep searching for that solution - your product rocks. Also, I was mistaken earlier. The default "inactive" module was what I was thinking. I am thinking that it will show up via your component activating it. If so, then that can be the 404 response I am looking for...instead of trying to redirect your default landing page on the component. The one solution for making the "Index.php" the default landing page did not work for me. Hoping the "inactive" module will do the trick.

Thanks A Bunch - YOU ROCK!!!

Peace Out,
Wingman
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47912
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: index.php kills SEF everytime.

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
brentwilliams2
Phoca Member
Phoca Member
Posts: 26
Joined: 23 Aug 2009, 01:22

Re: index.php kills SEF everytime.

Post by brentwilliams2 »

Hi Jan and Wingman!

First of all, I think this component will fix all my problems - I'm so close I can taste it! I appreciate all the hard work on this great component! :twisted: So here is my problem, which I believe is related:

My site formerly used the "index.php" in the URL structure. Here is an example:
http://www.multifamilyinsiders.com/home ... oogle.html

But I changed hosts recently and we had to change the URL structure to remove the "index.php". Here is an example of the CURRENT link:
http://www.multifamilyinsiders.com/home ... oogle.html

So it's the same link, but just without the "index.php". The problem is that now I have all these links out on the Internet that no longer work since they include the "index.php". So with this in mind, I tried setting up a redirect in your system this way:

Obsolete site: index.php/multifamily-blogs/Resident-Retention-with-a-little-help-from-Google.html
New site: multifamily-blogs/Resident-Retention-with-a-little-help-from-Google.html

This does not seem to work. If I change the Obsolete site to something simple like: "resident-retention", then it works fine. This shows that the component is working overall, but just not working when I include the "index.php" in the URL for the obsolete site.

Did that make sense? Any ideas? Am I just using it incorrectly? :idea:

Thanks!!

Brent
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47912
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: index.php kills SEF everytime.

Post by Jan »

Hi, there should not be any problem with index.php, if the obsolete site includes this and new not, then there should not be any problem with redirecting, if the obsolete site goes to 404. Try to disable the Phoca SEF and see if you click on the obsolete site, if you get 404?
If you find Phoca extensions useful, please support the project
brentwilliams2
Phoca Member
Phoca Member
Posts: 26
Joined: 23 Aug 2009, 01:22

Re: index.php kills SEF everytime.

Post by brentwilliams2 »

Thanks for the response!! :D

When you say "disable Phoca SEF", do you mean in the Parameters link within the component? If so, I tried just about every combination of enabling/disabling the component & publishing/unpublishing the redirect link (same format as I showed above). Unfortunately, it's still not working... :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47912
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: index.php kills SEF everytime.

Post by Jan »

Hi, just disable only the specific link in links and then click on this obsolete link to see if you get 404 or not?
If you find Phoca extensions useful, please support the project
brentwilliams2
Phoca Member
Phoca Member
Posts: 26
Joined: 23 Aug 2009, 01:22

Re: index.php kills SEF everytime.

Post by brentwilliams2 »

I'm sorry - I wasn't clear. Yes, I disabled the link, tried the obsolete link and got a 404.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47912
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: index.php kills SEF everytime.

Post by Jan »

So if there is 404 and you have changed the code of 404 site, then it should only redirect to new site. Do you use some mod_redirect on your site, maybe there can be problem?
If you find Phoca extensions useful, please support the project
Post Reply