Skip to main content

Questions tagged [.htaccess-configuration]

.htaccess is a configuration file for use on web servers running the Apache Web Server software.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
73 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 ...
Nick's user avatar
  • 51
2 votes
0 answers
150 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 ...
Joe's user avatar
  • 105
1 vote
0 answers
56 views

Why is my rewriterule not working in Joomla 4

I am using Joomla 4. I have a requirement to rewrite certain URLs to a specific article (article with ID 32). This worked OK with Joomla 3 but now I am getting unexplained error 404 using the same ....
user1104799's user avatar
1 vote
0 answers
120 views

Rewrite rule in htaccess in joomla 4?

In J3 i used specific rewrite rules in .htaccess that worked fine but doesn't seem to work in J4. Here's an example : RewriteRule ^metier/([a-zA-Z0-9-_]+)\.html$ /index.php?option=com_content&view=...
Joannes De KOSTER's user avatar
1 vote
0 answers
38 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 ...
clmjfr's user avatar
  • 11
1 vote
0 answers
77 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 ...
curious-george's user avatar
1 vote
0 answers
33 views

Joomla restricted pages are redirected to 301 Moved Permanently after HTTPS redirection

I have Joomla site with a load balancer (AWS). The website is redirected to https, after redirecting home page works correctly. However, on restricted pages after login are giving the error 301 Moved ...
sourabhah's user avatar
  • 111
1 vote
1 answer
318 views

Redirection not work from non www to www(https) You configured HTTP(80) on the standard HTTPS(443) port!

I'm currently have a website which runs under https and work with no issue and I've tried to do something on my .htaccess file so that when I try http://abc.com it will redirect to https://www.abc.com ...
Petri's user avatar
  • 23
1 vote
0 answers
167 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/...
Michael Bourne's user avatar
1 vote
1 answer
60 views

Media/Template folder fills up with constantly generating css and js files with 8 random characters appended to filenames

One of my site's media/template folder continues to generate new css and js files every few days. Each file is appended with an 8-character string of random alphanumeric characters. What I expect ...
user6805702's user avatar
1 vote
0 answers
331 views

Google Search Console Crawl Anomaly in Joomla 3.x

Check the URL - no errors https://www.dach-spengler.eu/sitemap.xml https://www.dach-spengler.eu/robots.txt In the google search console, I got the error: Crawl-Anomaly Submitted Sitemaps Status ...
Cem Firat's user avatar
  • 111
1 vote
1 answer
232 views

Pretty URL to custom joomla page

I have an URL: domain.com/photos?photoId=344 and I want to make pretty URL such as: domain.com/photos/344 I tried to correct htaccess: RewriteRule ^photos/([A-Za-z0-9-]+) /photos?photoId=$1 [L] ...
user3774771's user avatar
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
David Bereihi's user avatar
0 votes
0 answers
10 views

Sitemap.xml redirect rule creates a "page not found" error

I have the need to create a sitemap.xml static URL for my dynamic sitemap Joomla component, because GTranslate requires access to /sitemap.xml I have put a redirectrule, which used to work up to a few ...
David Attard's user avatar
0 votes
0 answers
161 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 ...
wanderlusted's user avatar
0 votes
0 answers
86 views

How to redirect website from non www to www ( Windows +Wamp+Joomla)

I have an issue here where I have already added line below into .htaccess file, AllowOverride all in httpd.conf file, enabled Use URL Rewriting from Joomla, but none of those work. Did I miss out ...
Petri's user avatar
  • 23
0 votes
2 answers
139 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 ...
Baz's user avatar
  • 1
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 . ...
user27's user avatar
  • 1
0 votes
0 answers
142 views

Add rewrite rule for site login to .htaccess

I have been trying to add rewrite rule to .htaccess file but it does not seem to work. I have Joomla latest version and I am trying to do it by: # Return 403 Forbidden header and show the content of ...
10101's user avatar
  • 143
0 votes
1 answer
179 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 ...
Joe's user avatar
  • 105
0 votes
0 answers
130 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 ...
Dima's user avatar
  • 41