By christian on Thursday, 16 January 2014
Posted in General Issues
Replies 13
Likes 0
Views 1K
Votes 0
I have created a new site and my old site was using the /index.php/page my new site has the rewrite on.
I wanted to make sure My old index.php pages were being redirected correctly and noticed that it shows /login .

I really will love to get it re-directed to my home page. How can I achieve this?

Ex. Please try this link:

mateo1820.com/index.php/videos
May I know what is the current rewrite rules for your site?
·
Thursday, 16 January 2014 03:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I have added my htaccess to the Optional information section below
·
Thursday, 16 January 2014 03:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Also my error.php page should redirects my 404 to the home page. But instead I get the /login page

<?php

header( 'Location: http://www.mateo1820.com ) ;

?>
·
Thursday, 16 January 2014 03:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, your htaccess file seems to be the default htaccess file in Joomla. Am I missing anything?
·
Thursday, 16 January 2014 03:27
·
0 Likes
·
0 Votes
·
0 Comments
·
No that is it.
·
Thursday, 16 January 2014 05:11
·
0 Likes
·
0 Votes
·
0 Comments
·
I saw this on another post not sure if this is related:

<input type="hidden" name="option" value="com_easysocial" />
<input type="hidden" name="controller" value="profile" />
<input type="hidden" name="task" value="login" />


This post:
http://stackideas.com/forums/es-login-redirect#reply-111860
·
Thursday, 16 January 2014 05:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Christian,

Sorry but I don't quite get you here. You mentioned that whenever someone accesses /index.php/item from the old urls on your old site , you want it to be redirected to /item . Am I correct? Based on your .htaccess file, there are no rules that are performing such redirects.
·
Thursday, 16 January 2014 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I want it to go the home page. It seems my old links which go to /index.php/itme keep going to /login

Why would easysocial be showing the /login instead of the home page?
·
Thursday, 16 January 2014 12:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello christian,

I believe it's because the "view" does not exist. For instance, the url of http://mateo1820.com/index.php/videos does not exist in EasySocial since we don't actually have videos. Hence it is redirecting to /login . I can help you check your current setup but I would need to back end access to the site.
·
Thursday, 16 January 2014 12:29
·
0 Likes
·
0 Votes
·
0 Comments
·
I understand that and this is the exact reason why it redirects the page but why to the login? why not the home page. Why does a user have to see the login page for a non existent page?

How can I show the home page instead. I have tried doing redirection through the .htaccess but it keeps going to the login page instead of the page I am choosing.

An example is my error.php file which it's set to go to the home page however it keeps showing the annoying login page instead.
Login info its under site details
·
Friday, 17 January 2014 01:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

The page is technically the Unity page that you have set as main item in your Joomla's menu item configuration.

Invalid links are automatically redirected to the main menu item page actually and for your case, because the Unity view is set as the main menu item, and when a user is not logged in, the unity view shows a log in box instead.
·
Monday, 20 January 2014 10:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately that's true I just dont know how I could have Unity as my homepage so it shows some posts on the home page and have the users redirect to the home page instead of unity.
I tried changing the error.php file so that my 404 will go to the home page but I guess I have not configure it right

Thank you for the truth you have shared I understand why it's doing this now I hope I can figure out the rest. Thank you.
·
Monday, 20 January 2014 15:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

You're welcome.
·
Monday, 20 January 2014 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post