We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [redirect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9
votes
1answer
2k views

Joomla Session->isActive() & session timeout redirect not working

I am trying to redirect my website to the homepage when the session expires and the user is automatically logged out (right now it gets redirected to the joomla core registration page, which I don't ...
8
votes
3answers
1k views

Use Joomla redirect component to fix broken URLs

Can anyone help with using J3 redirect component to fix this kind of broken links: https://www.portal-gestao.com/whatever/whatever/9999-title-of-the-page To: https://www.portal-gestao.com/item/9999-...
8
votes
2answers
6k views

How to redirect user with system message in Joomla 3

I know that you can achieve this by doing: JFactory::getApplication->redirect(url, message, type) but the documentation at JFactory::getApplication says it is deprecated and suggest to use ...
8
votes
2answers
4k views

How do I allow direct access to my custom .php file in a Joomla Module to be consumed from AJAX?

This is my first time ever in PHP and my first time ever with Joomla. I come from a heavy non-Web C# / .Net background. I have written a custom Joomla module that interacts with a third party ...
6
votes
1answer
2k views

Redirect to previous page after login in custom component

I want redirect users after login Current link in joomla 2.5 custom component I use this code but after login i have error 500 $user =& JFactory::getUser(); $mainframe = ...
5
votes
8answers
2k views

Hide homepage when user is logged in

When the user is logged in and trying to access the homepage I need to redirect him to certain url. So basically when authorized user gets to www.example.com he's redirected to www.example.com/...
5
votes
1answer
543 views

Modify standard redirect url after session time out

How can I modify the standard url after session time out? 'http://www.domain.com/component/users/?view=login' The loginform module for my frontend is deactivated. Instead there is a custom login form ...
4
votes
3answers
3k views

How can I redirect old domain to a new domain?

I am newbie on Joomla. I have bought a new domain for my site that I want to use and have my site running on two different server under the 2 domain accordingly. I need to redirect the old domain and ...
4
votes
3answers
957 views

Trying to Fix Hacked Site

My Joomla 3 site was recently hacked. Browsing to it with a common web browser works fine, but when you switch the user agent to a web crawler, it displays a spam page. How do I track down where the ...
4
votes
2answers
469 views

Joomla 2.5.6 infinite 303 loop (SEF)

I'm trying to migrate a Joomla 2.5.6 site from one server to another. I have used scp to copy the files one for one across and taken a mysqldump of the database so I'm sure that the new server has a ...
4
votes
1answer
160 views

Does joomla automatically populate the redirect component?

In com_redirect in the Joomla admin, there are disabled redirect entries that shouldn't be there. I'm certain that no one put them there. The column heading is "expired url". How do these get there, ...
3
votes
3answers
1k views

How do I get a menu item to send a parameter to a component?

I'm having problems creating an internal redirect using MenuItems. I've created a menu item called 'sale'. I've found the menu item in the database and the alias is 'sale'. I've set the url to /...
3
votes
2answers
742 views

com_users login redirect issue

I have a strange issue with my login redirect. It WAS working perfectly, and I'm not sure when it stopped working, but now it leads to a few issues. So I have a Menu item using com_users Login option....
3
votes
1answer
256 views

Redirects aren't working from com_redirect

I'm trying to have one url redirect to a different url, and I'm trying to get Joomla to handle it. In com_redirect in the Joomla admin, I'll add an entry for one url to be redirected to an second url,...
3
votes
2answers
749 views

Redirect URLs using Redirect component or htaccess

In Joomla 3.4 want to redirect this page: https://www.portal-gestao.com/component/k2/1422-como-i...%C3%A9tica-na-sua-empresa.html To this: https://www.portal-gestao.com/item/1422-como-i...%C3%...
3
votes
2answers
2k views

Redirect not working

I moved a site from Joomla 2.5 -> 3.6 recently, and some of the URLs in the site changed. For one critical URL I used the Joomla redirect manager to create a redirect, and it worked as expected. ...
3
votes
1answer
117 views

No password restrictions shown on register page

I enabled password restrictions on my site. The restrictions work, but the user gets no feedback if his password doesn't meet the requirements - he just gets redirected to the registration form ...
3
votes
1answer
78 views

Redirect domain during certain time of the week

Please bear with me, I am pretty new to Joomla, and I only have a slightly operational knowledge of web design. So here's what I want to do; Our church streams our sermons every sunday morning from ...
3
votes
1answer
46 views

htaccess 404 Redirect Not Working

I recently redesigned a site and there are loads of 404 pages, so to simplify things I want to add a redirect to my htaccess, redirecting any 404 pages to the home page. I though it was as simple as ...
2
votes
2answers
110 views

Redirect if userid is not found in a database table

When users login, I am trying to push them to fill their 3rd party component's Profile form properly. When they filled the form their user id is added to the "#__rbid_users" table (user id is same as ...
2
votes
2answers
84 views

How to make redirections cacheable in Joomla?

I am confused. To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required redirections cacheable if possible. Does any ...
2
votes
1answer
244 views

Submit a view instead of redirect to another view

I have 2 views namely students and student. The students view will list all the students and student view is to show the details of the student. These 2 views are accessible for all staffs in the ...
2
votes
2answers
1k views

Redirect to a menu item from controller

I have a configuration variable which a menu item type where admin can select a menu item. This is used to redirect the front end user if he doesn't have access to the view. In the component ...
2
votes
1answer
266 views

Reload admin form after save field in database

In a custom component I need the user in the edit view of an item to be able to load a field in the editor field through modal and ajax. The case is the user can fill an editor field from a text ...
2
votes
2answers
59 views

Meta tags keep being changed to m-eta

I have a Chronoforms5 form where I want to redirect to another site but when I save the form the 'meta HTTP-equiv="refresh"' line gets changed to 'm-eta'. Any suggestions how to stop this?
2
votes
2answers
227 views

Mass update single internal link

First off, I apologize if this question has been asked before, (Though I was unable to find it, if it were). My issue is that right now I have a sub menu item pointing to a article where the visitor ...
2
votes
1answer
45 views

Adding redirect to redirect component from custom component

Is it possible to add a redirect to the redirect manager from my custom components controller or model? I want my custom component to add a redirect to the redirect manager on deletion of an item. I ...
2
votes
1answer
60 views

How to use relative domain name for each jooma 3.8 websites running on the same server

Hello i run multiple joomla 3.8 websites on one server, each installed in there own directory. They are reachable from the internet via there own domain url. On dns level i used a redirect from the ...
2
votes
1answer
2k views

How can I redirect a URL to another domain?

I want foo.example.horse/short to redirect to the external URL https://some.long.org/url/that/i/want/to/redirect_to. Is there a simple way to do this from Joomla, or do I have to edit the .htaccess ...
2
votes
1answer
58 views

com_redirect is timing out (resetting list limit)

I was using com_redirect showing 100 items, when I changed it to "all," the list is too large and it times out. How can I get back to the list of 100 without uninstalling the component?
2
votes
2answers
1k views

Redirecting multilingual url

I'm having a hard time redirecting URLs on multilingual Joomla site. New site has following URL structure: http://sitename.com/[language]/[pagename].html and old site URL structure is as follows : ...
2
votes
1answer
4k views

Post-login Redirection Not Working

I wonder if anyone can help me with this redirect problem... Here's the 'Tutorials' section of my site: http://www.schoolofsugarcraft.annpickardsugarcraft.com/index.php?option=com_content&view=...
2
votes
1answer
614 views

Joomla Redirect without changing url

I am looking for a way to redirect joomla to a different page without changing the url in the address bar. We currently have a site setup that when it encounters a 404 page (eg. site.com/fake-url) it ...
2
votes
1answer
349 views

Custom Login Component - Redirecting depends from entered data

I'm administratior of several sites and have exp. with Joomla over 4 years, mostly worked with creating websites with this great builder using different modules, but haven't a lot exp. with PHP. ...
2
votes
1answer
425 views

Joomla redirect with HTTP Status Code (redirect component vs .htaccess)

First of all, this is not the same question as can be found here: (Redirect URLs using Redirect component or .htaccess). What I want to know is what HTTP Status Code (for e.g. 301, 302, 303, etc...) ...
2
votes
1answer
253 views

Redirect component is showing a lot of links with index.php at the end of URL

I keep a regular watch on the the Redirect Component and lately I have noticed a lot of 404s being registered that is a bit confusing. For instance, there is a SEF link like /books/new-book which ...
1
vote
3answers
6k views

Joomla 404 always redirects to homepage

I'm having issues getting the proper 404 page (templates/MY_TEMPLATE/error.php) to work. I've spent hours reading through and trying every example or fix listed on Stack Exchange and other sites with ...
1
vote
2answers
327 views

Joomla https redirect to different domain

I'm using Joomla 3.6.2 and I can't understand how to do a simple thing. I'm using cloudflare so I can't use the www.example.com url for https, but I need to use https:// example.com What I want is to ...
1
vote
1answer
385 views

Redirect K2 article url after alias change

I need to change the alias of a K2 article from id-alias1 to id-alias2. The issue is that search engines have already indexed the url with id-alias1 so I need to use a 301 redirect from id-alias1to id-...
1
vote
2answers
291 views

Access Denied, what am I overlooking?

Working with Joomla 3.5.1 and having an issue with pages that I've restricted to a certain permission. I send out a Newsletter that has roughly 15 stories. The first 5 are always public, but the ...
1
vote
4answers
337 views

Access Errors After Changing Addon Domain Directory Root to Joomla! Folder

First: I would consider myself an advanced beginner in terms of administration. I know enough to be dangerous to myself and my projects :) I have an addon website hosted at HostGator. The HostGator ...
1
vote
1answer
3k views

.htaccess and localhost re-direct issue

I'm quite possibly doing something very silly here however after hours of looking I though I'd ask here as no doubt somebody will spot it! Local dev environment Win7/XAMPP I have a number of local ...
1
vote
1answer
977 views

This page isn't redirecting properly when clicking a Joomla tag

When I click a tag that is assigned to at least one article I get the message: The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in ...
1
vote
1answer
104 views

Login Form Module redirects not working

Quite new to Joomla and have a problem with Login Form Redirects I’m using Joomla 3.9.4 / PHP 7.1.9 / Apache / mysql 5.7.22-22 I have a Landing Page using one Gantry/Helium template, all other pages ...
1
vote
2answers
213 views

Redirect problem

Over the last couple of years I have taken over a website made up of several parts, ie there were some traditional html pages, a php “wiki” installation and a similar php “knowledgeable” installation. ...
1
vote
1answer
205 views

Joomla K2 articles redirect

I have a lot of URLs like this: www.mywebsite.com/blog/item/1021-le-foreste.html that becomes, after SEF changes, like this: www.mywebsite.com/blog/le-foreste.html How can I write an .htaccess rule ...
1
vote
1answer
640 views

Rewrite URL In joomla

Is it possible to do the following URL rewrite (not redirect) with htaccess? mypage.com/en/example/example/index.php to mypage.com/en/example I have also enabled URL rewriting in Joomla config, ...
1
vote
1answer
147 views

Joomla return URL when login sent via email

I created following URL (that I am sending via email to the user): $form->data['redirect_url'] = urlencode(base64_encode("http://www.domain.it/" . $form->data['link_form'] . "?id_risposta=" . $form-...
1
vote
1answer
304 views

How to set up website redirects after enabling url rewriting?

I inherited a site that was not configured with url rewriting, leaving the index.php as a part of all the site's urls. I plan to implement this, but we also have over a year's worth of posts spread ...
1
vote
1answer
430 views

Redirect or add missing category alias to URL in Joomla 3.6

how can I redirect a URL in Joomla 3.6 from: domain.tld/articleid-my-seo-title.html to domain.tld/category-alias/articleid-my-seo-title.html I need to do this because Google sometimes seems to ...