Questions tagged [redirect]
With Redirects a visitor can be redirected to another page.
107
questions
0
votes
1
answer
38
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
33
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
140
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
62
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
378
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
109
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
73
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
315
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
2
answers
38
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
15
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 ...
1
vote
1
answer
66
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....
2
votes
1
answer
60
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'...
1
vote
2
answers
216
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
0
answers
41
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
59
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
155
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
55
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 ...
0
votes
1
answer
87
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 ...
1
vote
1
answer
310
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(...
0
votes
0
answers
89
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
132
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
2
answers
116
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
0
answers
71
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
186
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
43
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....
0
votes
1
answer
133
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; ...
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 ...
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
...
2
votes
2
answers
302
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
2
answers
107
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 ...
1
vote
1
answer
313
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 ...
1
vote
2
answers
341
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 ...
2
votes
1
answer
125
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
109
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 ...
1
vote
1
answer
383
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 ...
0
votes
1
answer
158
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
1
answer
782
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
590
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
488
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.
...
4
votes
2
answers
1k
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 ...
2
votes
1
answer
67
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
2
answers
82
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?
0
votes
2
answers
2k
views
Error loading Joomla Frontend - localhost redirect error (ERR_TOO_MANY_REDIRECTS)
I am new at using Joomla and trying to learn the program for a class I m currently taking. I apologize for asking this question again but I am still not clear based on the answer given to previous ...
1
vote
1
answer
236
views
Redirect on extension plugin with onExtensionBeforeInstall
i've created an extension plugin and i'am having issue to redirect on the trigger onExtensionBeforeInstall
Here is my code :
class plgExtensionExample extends JPlugin{
function ...
2
votes
1
answer
3k
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 ...
1
vote
1
answer
232
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 ...
2
votes
1
answer
972
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 ...
1
vote
1
answer
783
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, ...
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 ...