All Questions
Tagged with .htaccess-configuration joomla-3.x
45 questions
2
votes
0
answers
80
views
Very slow HTTP response times possibly due to SEF rules in htaccess
Im running Joomla 3.X and can't seem to pinpoint why I'm getting such high HTTP response times.
I think I narrowed it down to the SEF rules in my .htaccess
I ran some tests and thought to post my ...
1
vote
0
answers
40
views
Error 0 after moving Joomla site to subfolder
As told in the title, I just moved my 3.9 Joomla site to a subfolder on my apache server.
Unfortunately when I'm trying to access it, I get this error
"syntax error, unexpected '}', expecting end ...
1
vote
0
answers
80
views
Help: Joomla routing and pass-through redirects
I have a little project integrating a 3rd party application, which seems pretty easy and straight forward for the most part.
However, it requires some internal Routing to be set in place, in order to ...
2
votes
1
answer
72
views
Why is Joomla redirecting from example.com to example.com/example.com?
I was advised to post here from Stack Overflow
We need help. We're running an ad campaign and realized that a lot of paid traffic was landing on a 404 not found page.
The issue is caused by auto-...
2
votes
1
answer
950
views
Making /joomla subdirectory the website root AND forcing HTTPS
Setting up a Joomla site on Apache 2.4 on a Synology Disk Station. Joomla is unavoidably installed in a subdirectory of the web root (/web/joomla) and unfortunately do not have access to the Apache ...
0
votes
0
answers
166
views
.htaccess redirect causes invalid security token when logging in thru email link
I wanted to eliminate duplicate content by redirecting all requests to https://www... by using the below .htaccess entry:
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a ...
1
vote
1
answer
762
views
Invalid security token locks out users trying to log in through an email link
I ran into the below problem that blocks my users to log into my site:
When the user needs to log in she gets a notification email with a button that links to the below address:
https://www....
1
vote
0
answers
173
views
Custom htaccess rewrites with PT flags
I'm attempting to add a custom RewriteRule in the default htaccess file in Joomla 3, but not having any luck getting it to work.
The end goal is to create a URL with a wildcard subpage, like site.com/...
0
votes
0
answers
75
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
.
...
0
votes
1
answer
292
views
htaccess to hide Joomla in public_html -> subfolder
I installed Joomla using a quickstart package and store the files in a subfolder (named: jml) in public_html/jml. I normally use the following commands to rewrite the url from https://www.test.com/jml ...
2
votes
0
answers
156
views
Homepage of multilingual site not working anymore after removing index.php (404); all other sites working
So I removed the "index.php" - part from the URL in Joomla in the following way:
Change the htaccess.txt - file name to .htaccess via FTP
Set the URL-rewrite Option in the Joomla Configuration ...
0
votes
1
answer
183
views
Remove index.php - file on multlilingual Joomla Site
As supported by various posts, I did :
change the htaccess.txt - file name to .htaccess via FTP
set the URL - Rewrite Option in the Joomla Configuration Options to "YES"
Result:
- index.php is ...
0
votes
1
answer
439
views
Custom 404 page
I am having trouble with custom 404 page,
So I have been trying to get the custom 404 page to work but I have problem making it work right. All the methods that are described everywhere :
make ...
0
votes
1
answer
844
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
...
1
vote
2
answers
496
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
1
answer
615
views
sitemap.xml rewrite rule no longer working
We use a base build template for most of our site builds, and until a few months ago we have not had a problem re-writing the sitemap url to sitemap.xml. The rule we use is:
RewriteRule ^sitemap.xml$...
0
votes
1
answer
146
views
Shorten some URLs and show them to the user in another format
I have some sections of my web in joomla that are accessed like this:
http://miweb.com/index.php?option=com_component&view=contracts&ff=1&id=20977&token=8f8c54a3ce165332fd59f17319ba
...
1
vote
2
answers
608
views
.htacces replace all underscores with hyphens
I am having a struggle trying to get my .htaccess to remove all underscores from an url. I have a lot of old aliases in my articles and they are all with underscores. I have searched for a sollution, ...
1
vote
3
answers
715
views
Multiple Slashes in URL
I'm having a bit of a strange problem on a couple of Joomla sites and I'm not really sure where to start with figuring out what the problem is.
When I crawl the site with Screaming frog, I am getting ...
0
votes
1
answer
133
views
Rewriting single URL - Multiple attempts without result
I'm looking for some specific advise - I am removing Joomsef from one of my sites as the support is poor and I need to rewrite some specific url's generated by the widgetkit component as the core sef ...
0
votes
3
answers
162
views
All anchor tags take me back to home page
I'm trying to create some accessibility Skip links to be used with screen readers. I added the links at the top of the body tag and I added a corresponding anchor tag to both the main navigation and ...
1
vote
1
answer
811
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
0
answers
109
views
how to use mod_rewrite in joomla backend
how i can change the displayed address
administrator/index.php?option=com_content&view=article&layout=edit
to
administrator/content/article/edit
by using htaccess file in joomla
2
votes
1
answer
769
views
htaccess mysteries: Can Joomla site run without .htaccess?
I was trying to understand .htaccess file. I learned some directives and added them on my htaccess.txt file but things weren't going as I expected. To test whether I put the contents on right file, I ...
0
votes
1
answer
650
views
.htaccess recognize string and replace it
I would like that .htaccess recognize string in my url and replace it with another.
Previously I used SEO components, but today I want to use Joomla native seo, and I have different structure of my ...
0
votes
1
answer
638
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 ...
4
votes
2
answers
615
views
Multilingual Joomla site with multiple domains
I have Joomla site with native language system and my site looks like this:
www.mydomain.pl
www.mydomain.pl/en/
www.mydomain.pl/de/
www.mydomain.pl/se/
www.mydomain.pl/dk/
I have domain www.mydomain....
1
vote
1
answer
421
views
301 redirect non-www to www in subdirectories
I am in a unique situation where I have multiple instances of Joomla setup under my primary domain in different subdirectories.
For example:
mydomain.com = Joomla instance
mydomain.com/...
3
votes
2
answers
184
views
Offering different content to different clients
In an Intranet I have two groups of clients, each well known by their IP address. I want to present Joomla module A for clients from both groups, module B only for the clients of group 1 and module C ...
4
votes
1
answer
770
views
Stopping a redirect in .htaccess
This is a real novice question regarding .htaccess files. I have read up on it but I really have no clue.
We have a site called originalsite.com.au that is redirecting to www.examplesite.org.au (see ...
0
votes
2
answers
309
views
Redirect to home if someone tries to access com_users or frontpage editing (.htaccess, web.config)
I would like to redirect any trafic which tries to acces com_users (any view) or the frontpage editing (index.php?option=com_content&view=form&layout=edit) to the frontpage.
I don't want to ...
0
votes
1
answer
740
views
Redirect links from main to subdomain
I move part of my site to subdomain and want that link of that component redirect to subdomain. I want if user come to site with moved component link he will redirect to subdomain.
https://domain....
1
vote
1
answer
5k
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 ...
2
votes
3
answers
2k
views
Remove index php add language code in the url
I built international site and it adds language code to the end of the urls: www.site.com/index.php/en/ I enabled SEF urls and url rewriting in global configuration, I tried many .htaccess snippets to ...
3
votes
2
answers
1k
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%...
4
votes
6
answers
18k
views
Administrator page 404 not found
I can't access administrator's page; it returns 404 error not found. Although when I rename .htaccess to htaccess.txt, admin page works, but the whole site returns 404 error not found. When I rename ...
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
423
views
Search component pointing to wrong SEF URLs in Joomla 3
My search component is pointing to the wrong URLs. When the user clicks on them, they're redirected to the home page.
For example, the search returns:
http://cursos.portal-gestao.com/9-excel/...
3
votes
2
answers
595
views
Joomla and PHP versions
I work on a number of Joomla sites for clients, across multiple (differing) hosting environments. This can be a pain when troubleshooting as some of the hosts are running old versions of PHP (5.2) and ...
0
votes
0
answers
131
views
URL Rewrite stopped working
on joomla 3.3.6 some weird thing happened: the url's are not being rewritten to SEF. Everything is enabled and all. The weird thing is that the menus on site are rewriting their URL's and link to SEF ...
1
vote
1
answer
170
views
Rewriting .htaccess into apache config
I have got myself a vserver.
I just thought off rewriting the context of the .htaccess (RewriteRules etc.) into
my /etc/apache2/sites-availabe/domain.conf .
Does this work?
Or does the .htaccess ...
0
votes
2
answers
4k
views
Included .htaccess file causes admin folder to redirect to index.php
I've just enabled the included .htaccess file for Joomla 3.3.6 and now when I try to log on to the control panel it redirects to index.php in the root. By commenting it out I've narrowed it down to ...
2
votes
1
answer
4k
views
Leverage browser caching
Following htaccess code is available at siteground for Leverage browser caching. My question is that I want to set images expiration time for 1 week and css and scripts expiration time for 2 days. ...
3
votes
1
answer
14k
views
Joomla remove index.php - redirect to homepage .htaccess
Following is my .htaccess, SEF and Use rewriting enable in global config. But i can still access my home page with two urls; for instance: www.example.com and www.example.com/index.php.
Am I doing ...
10
votes
5
answers
8k
views
How to remove the 'index.php' from URL's?
I was wondering if it is possible to remove the 'index.php' that is shown in every URL.