Questions tagged [redirect]

With Redirects a visitor can be redirected to another page.

Filter by
Sorted by
Tagged with
1 vote
2 answers
233 views

403 Error Page Alternative for Already Registered Users

Joomla 3.9.24 There's a similar question here but it deals with changing the language string, whereas I'd like to change the page content and / or redirect. I have allowed user registration on my site ...
0 votes
2 answers
131 views

Redirect a specific page on one website to a specific page on another website

I am hoping someone may be able to help me. I am not experienced enough with .htaccess and rewrite etc to understand what is needed. I have the following already switched on in my Joomla global ...
0 votes
1 answer
97 views

How to change language in specific page using Joomla

Currently, I am creating multi-language pages with several type of languages. My home page is set for English. When I try to change the language from the second/third page, the others language will ...
0 votes
0 answers
12 views

Solidres Joomla 3 Logged in, select any Joomla menu item, erroneously returned to login page

Hi I'm a rank amateur with regard to site development experience, Last time I put one together was at least a decade ago, much has changed! Decided on Solidres for numerous reasons, not least they ...
0 votes
1 answer
140 views

How to redirect all exceptions/error to a 404 page or back to home page

I'm currently using Joomla and we have a small security vulnerability in our URI. Currently, it displays the Exception/Error directly to the user like so: You have an error in your SQL syntax; ...
1 vote
1 answer
22 views

Should I redirect all the spammy 404s?

The redirects manager picks up a tonne of 404 errors. Most of them are spammy, I would guess, attempts to find out what system I'm using and hack it. Thus, I don't really want to redirect those ...
0 votes
1 answer
119 views

Joomla admin redirects to language code after login

I've been extensively searching the web but found no useful solution and would be happy for any input. After migrating the site to a new server (Apache, no apparent changes, just newer) and adding ...
0 votes
1 answer
70 views

Force 404 error in J4 when php file called

this is related to my previous question regarding [native J4 redirects][1]. I'm looking at a workaround but my previous question is still valid. I'm using [Jbusiness][2] and where previously we could ...
0 votes
0 answers
59 views

Joomla 4.3.3 Imported Redirects not working

more of a query than anything. I've imported some redirects using the Import option in J4 but I've just noticed that if the original page still exists, the redirect does not work. It does say in the ...
2 votes
0 answers
212 views

Joomla 4: Redirect to a wished page after front-end login does not work

I am using a non-published login-menu-item. Calling this item, displays the login-module. After login, I want to redirect to the homepage, but instead it is displaying the introducing - and featured ...
2 votes
1 answer
86 views

Automatically create redirects after changing to modern routing / updating to J4. Detect and deal with old links with id

After changing to modern routing (and removing ids from urls), and/or updating a Joomla 3 site to Joomla 4, old article category links with the id at the start will 404. People seem to suggest fixing ...
1 vote
2 answers
598 views

How can I redirect all index.php from URLs to stop duplicate URLs?

My SEO team has reported duplicate URLs. I have turned on SEF URLs and I have renamed htaccess.txt to .htaccess. This does not show the index.php when I click on the link, but if I manually add it ...
0 votes
2 answers
143 views

Not correcting redirect to 404 page if url not exist

Today I caught a bug with my 404 page redirecting. If I have not existing page like this https://domain.com/blablapage, redirecting to 404 is working all good. But if user go to url https://domain.com/...
1 vote
0 answers
89 views

Joomla .htaccess redirect on multilingual site

My website has 4 languages (/en, /ka/, am/, az/) and we have a situation where we need to replace old menu aliases so that shared links on Facebook still work. The following battery of redirect rules ...
1 vote
1 answer
548 views

Joomla correct way of routing

This is in my Controller. Currently, I am redirecting using the inherited function setRedirect(URL_TO_REDIRECT_TO). public function redirectTo($layout){ $this->setRedirect('index.php?option=...
1 vote
1 answer
68 views

Exception for .htacess

I'm using Joomla 4. In the configuration, URL-Rewrite is set to yes. I think that's what caused this line: Return 403 Forbidden header and show the content of the root home page RewriteRule. * Index....
1 vote
2 answers
44 views

Forwarding to the item page after the creation of the item via front end editing

I wrote a small joomla 4 component and made it possible to create a new item in the frontend. After creating a new item, Joomla core components usually redirects to a list view. But I want to redirect ...
1 vote
0 answers
19 views

Redirect component adding strings to new URL

I have a Joomla 3.10.5 site that has recently been reorganized, so we are redirecting the old broken links to their new locations. However, every day when I reopen the component, the new URLs that I ...
0 votes
1 answer
10k views

Redirect an anchor link to a new URL

I'm trying to redirect link 1 to link 2: 1: http://mysite.com/resources#english 2: http://myothersite.com/collections/a-course-in-miracles-books As you can see, link 1 is an anchor and it seems ...
3 votes
1 answer
2k 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
1 answer
68 views

How to redirect in software after logout

I am seeking a way to trigger a redirect on user logout. One obvious way to do this seems liable to cause problems. The event of logout can be used to trigger a plugin using the event onUserLogout. It'...
0 votes
0 answers
42 views

Link options when redirecting

good day When creating a new record in the component, a link is sent to the admin's mail http: //localhost/index.php? option = com_aepetitions & view = editpetition & task = editpetition.edit &...
2 votes
0 answers
63 views

Getting no login prompts when trying to access private content, getting "Page not found" instead

I have private content on the site, and I want "non-registered" users to be redirected to the login page when they try to access the private content, without using any extensions. I have ...
1 vote
1 answer
222 views

Is there a way to redirect the Joomla! Administrator login?

When I login on the front end I have the ability to choose where that login goes to. On the backend is there a way to choose this? Currently it goes to the dashboard but I'd prefer to make it go to a ...
1 vote
1 answer
59 views

Joomla apply SEF route from template's index.php file

I am having a problem recently is that- I am creating a Joomla Site Template and for a specific condition, the template redirects to http://mydomain.com/index.php?templateStyle=10&tmpl=custom. Now ...
1 vote
1 answer
346 views

Where does JControllerLegacy::redirect() redirect to?

I'm trying to understand the tutorial at https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Adding_a_view_to_the_site_part, but I don't understand the last line of code ($controller->redirect(...
2 votes
2 answers
307 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 ...
0 votes
1 answer
165 views

Any way to redirect (301) pages for unpublished articles/links (404)?

I am wondering if where is any way in joomla to solve following issue: I am having URLs (articles) which may have been externally linked Now I want to disable this links (unpublish) but if I ...
0 votes
0 answers
92 views

Custom component: different redirect when changing language/logging in

I inherited a site with a custom component: an agenda viewer. When I click on an agenda-item from the list and then login (via login module) or change the language, I am not redirected to the agenda ...
1 vote
0 answers
143 views

FIX or REPLACE: User profile page does not redirect to the requested page after forced password reset

I work on a custom Joomla! 3.x module. After registration, users would access my module by clicking a link in an email. I force users to change password at first login, so when they click the link, ...
0 votes
1 answer
40 views

How to prevent "unvalidated redirects"?

I'm trying to harden a Joomla site (v3.9.13). The security team have raised an issue regarding redirects. They require that there should be a whitelist of addresses to which the website can redirect. ...
0 votes
0 answers
72 views

Redirect administrator login page of multiple Joomla websites hosted in Apache server

I have around 10 Joomla websites hosted on Apache server. The admin URLs are similar to below patterns. http://m1.aa.example.com/administrator http://m2.aa.example.com/administrator . ...
1 vote
0 answers
191 views

One joomla to serve as multi-domain/multi-site with subdomains (vhost)?

I am trying to solve the requirement to move some parts of the website to subdomains. But I do not want to split the website into multiple joomla instances My first idea was to use 301 redirects for ...
0 votes
0 answers
46 views

How to tell ReDJ to redirect all except given paths (negate /path1 and /path2)?

I am struggeling with ReDJ to configure redirection. I want to redirect all URLs except given once. e.g. https://www.example.com/something https://www.example.com/something/abc https://www.example....
5 votes
3 answers
1k 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 ...
1 vote
1 answer
386 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
0 answers
29 views

Can’t rename indexed pages with /2-uncategorised/2018-19-05-56 by Redirect component

I’ve renamed all joomla articles with right name URL. But I can’t do it with Redirect Joomla Component. It doesn’t redirect all renamed files: https://mywebsite.com/2-uncategotised/2018-19-05-56 ...
0 votes
1 answer
3k views

301 Permenant Redirect joomla :too many redirects

I have a server with multiple websites in same place Scenario is as belows ABC/123 ABC/456 ABC/789 The 123 is pointed to www.123.com The 456 is pointed to www.456.com The 789 is pointed to www.789....
1 vote
2 answers
344 views

How to fix empty Itemid's like https://www.joomla.org/?Itemid=

Google has indexed an URL on my site like this: https://www.joomla.org/?Itemid= This results in strange page of course. Try it with your own site! What would be the best way to redirect this to the ...
1 vote
1 answer
340 views

Problem with IIS rewrite non-www to www and https

I've been trying for a few hours now to set up a non-www to www redirect on IIS 8.5 and am failing miserably. I am able to get the home page to force www but all other pages fail. I'm not really an ...
0 votes
2 answers
114 views

How to change the site language by country IP

I try create system plugin for auto change language by IP. I don't have idea how to correctly write code so as not to receive an infinite loop of redirection requests. My code class ...
0 votes
1 answer
627 views

Default landing page without language suffix

I have a multilanguage Joomla website. How can I configure my site so that when someone types any url, it will always bring them to: www.mysite.com ? Currently, a suffix is always added to my site ...
1 vote
3 answers
8k 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 ...
2 votes
1 answer
132 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 ...
0 votes
1 answer
815 views

Redirect loop when https

I added ssl-certificate on my Joomla web-site. My actions: Add certificate data to hosting In configuration check SSL for entire site In configuration.php rewrite live_site as https://mysite.com ...
2 votes
1 answer
591 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 ...
1 vote
2 answers
489 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. ...
3 votes
2 answers
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. ...
2 votes
1 answer
397 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
1 answer
68 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 ...