Skip to main content
Share Your Experience: Take the 2024 Developer Survey
4 votes
Accepted

Multilingual Joomla site with multiple domains

There is a nice free plugin Language Domains from Yireo, which allows you to switch the domain-name as soon as a specific language is selected. Each domain is bound to a language, by configuring ...
Mikan's user avatar
  • 3,007
3 votes
Accepted

How can I make a directory accessible without putting it on a menu?

Obfuscated File Name You can upload a file to the website e.g. at website.com/obfuscatedfilename.pdf and then notify users of the file location via email. Users can then download the file by ...
Neil Robertson's user avatar
3 votes

What is the best way to switch an existing Joomla site from http to https (SEO)

Keep your .HTACCESS rule, but change it to: RewriteCond %{HTTP_HOST} ^domain.fr [NC] RewriteRule ^(.*)$ https://www.domain.fr/$1 [L,R=301] In your configuration.php file, make sure these two lines ...
Michael Yaeger's user avatar
3 votes
Accepted

Site keeps browsing itself all the time

I do not see this as a Joomla issue (except the .htaccess file in Joomla root). From the small part of the log you provided in your question we can clearly read that the requests are made by ...
Zollie's user avatar
  • 2,936
3 votes
Accepted

How do I add an expires by type header for site.webmanifest?

ExpiresByType <mime-type> "access plus 1 year" The <mime-type> you need to use here is dependent on the mime-type that your server is using in the response. ie. The value of the ...
MrWhite's user avatar
  • 502
2 votes

htaccess mysteries: Can Joomla site run without .htaccess?

What is .htaccess? .htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via ...
FFrewin's user avatar
  • 19.7k
2 votes

Multilingual Joomla site with multiple domains

Try adding the following to your .htaccess file. RewriteEngine on RewriteRule ^se(.*)$ http://www.mydomain.se$1 [R=301,L] RewriteRule ^dk(.*)$ http://www.mydomain.dk$1 [R=301,L] If you only have a ...
Lodder's user avatar
  • 26.9k
2 votes

Administrator page 404 not found

I was having the same problem, and found a solution. Disable the following items: Cache public $ caching = ''; public $ cache_handler = 'file'; # (replace memcache, per file) public $ cachetime = '...
PauloBoaventura's user avatar
2 votes
Accepted

403 Forbidden Access, when accessing custom html/php files directly

You must customize this part or remove it at all: #index.php to root RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.(html?|php)\ HTTP/ RewriteCond %{REQUEST_URI} !^/administrator/ ...
Alexandr's user avatar
  • 1,130
2 votes

Using SEF URLs breaks all templates

I found the problem: The templates were not at all responsible. I am using the JCH Optimize plugin. In the Basic Options tab, there is a Use url rewrite parameter. That was the problem. When I ...
Leonardo Pinheiro's user avatar
2 votes
Accepted

Subdirectories being blocked by .htaccess / Admin Tools

The "server DNS address could not be found" message has nothing to do with the .htaccess. This simply means that the subdomain can not be resolved. You need to check your DNS setup - or maybe simply ...
FFrewin's user avatar
  • 19.7k
2 votes

How can I make a directory accessible without putting it on a menu?

If you're using Apache, you can also make a directory indexable by editing the .htaccess file in that directory. Just make a file in your directory called .htaccess. The file should contain the ...
Dan's user avatar
  • 341
2 votes
Accepted

My site downloads index.php instead of serving it if I use .htaccess

If your server downloads index.php instead of executing it, look in your .htaccess file for directive similar to AddHandler x-mapp-php5.5 .php and comment it out (put # at the begining of line)....
Mikan's user avatar
  • 3,007
2 votes
Accepted

sitemap.xml rewrite rule no longer working

Since you said it was in the root folder, try adding this below the RewriteEngine On: RewriteBase / I double checked CloudAccess's documentation and they mention that step is needed as well: https:/...
YellowWebMonkey's user avatar
1 vote

How to install Joomla in subfolder where Wordpress is installed in web root

You need to exclude the Joomla folder from WordPress's rewrite rules. In the WordPress .htaccess you would exclude /joomla See https://stackoverflow.com/questions/2322559/htaccess-wordpress-exclude-...
Dan's user avatar
  • 83
1 vote

My site downloads index.php instead of serving it if I use .htaccess

Changing the .htaccess file didn't help me, so I did the following: Access the cPanel Go to MultiPHP Manager Select your website and change the php version to any other. Check your website now (wait ...
user2378027's user avatar
1 vote

My site downloads index.php instead of serving it if I use .htaccess

An .htaccess file should be compatible with the server in order to work and to not create issues. Admin Tools .htaccess maker mentions that there is no guarantee that the produced .htaccess will work ...
FFrewin's user avatar
  • 19.7k
1 vote

Rewrite URL In joomla

You can do it like this: RewriteRule ^/?en/example/example/index.php$ en/example [R=301,L] or like this: RewriteCond %{REQUEST_URI} ^/en/example/example/index.php RewriteRule (.*) en/example [R=...
FFrewin's user avatar
  • 19.7k
1 vote
Accepted

How to change JoomShopping URLs?

Yes it redirects to the long address; in your case IMHO: you have to write a router to supporting SEF URLs in your component. I think, all you need is described here: https://docs.joomla.org/...
Tom Kuschel's user avatar
1 vote

What is the best way to switch an existing Joomla site from http to https (SEO)

This is what I use in .htaccess. It first checks if http or https, then checks if www or non-www. It will work for any domain and forces all four url variants to same one (in this case https://www.) ...
YellowWebMonkey's user avatar
1 vote

What is the best way to switch an existing Joomla site from http to https (SEO)

I use this chunk of .htaccess settings in the custom redirects section of Joomla's default .htaccess: # redirect http to https RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(.*)$ [NC] ...
David Hayes's user avatar
1 vote

No configuration file found and no installation code available. Exiting... | Not true

The error happens when Joomla can't read the configuration.php file, so it tries to check for an installation folder, but it doesn't find one. Check if the configuration.php file is not an empty file ...
itoctopus's user avatar
  • 3,226
1 vote

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

The redirect manager uses 301 redirects by default, unless you set the header type in the advanced mode Note: Always keep in mind that Joomla's redirect manager only works when the URL you are trying ...
itoctopus's user avatar
  • 3,226
1 vote

Random 403 Errors

Those 403 are on pages you are browsing, or for assets like css, js, images files etc? 403 error means, that access is forbidden for the requested file. Since you moved your site: Check your ...
FFrewin's user avatar
  • 19.7k
1 vote

Joomla 404 always redirects to homepage

I got the same issue. My problem was that "Offline mode" in Global Configuration was set to "YES". Good luck.
Alvin Konda's user avatar
1 vote

K2 URLs not working after migration to Joomla 3

When in K2 (in the Joomla admin), click on Parameters on the top right, and then click on the Advanced tab. Under Advanced SEF Settings, choose "Yes" next to Enable advanced SEF for K2 URLs and then ...
itoctopus's user avatar
  • 3,226
1 vote

How to remove the 'index.php' from URL's?

If you're using the nginx web-server, then you can use the following snippet for the nginx.conf configuration file where your Joomla! site is served from (basically, just add the if-condition after ...
cnst's user avatar
  • 111
1 vote
Accepted

Is the syntax of htaccess.txt same with .htaccess?

You have to rename htaccess.txt to .htaccess if you want the settings to take effect on your server. From the Apache documentation: .htaccess files (or "distributed configuration files") provide a ...
johanpw's user avatar
  • 13.3k
1 vote

To access to joomla site trhough http://web.es without showing into the url bar the /joomla folder name

I have not tested this but I believe you need to put the .htaccess file also in the root folder but overall it seems more commonly recommended to move your joomla directory to the root folder. Some ...
poproar's user avatar
  • 333
1 vote

.htaccess recognize string and replace it

htaccess will not give you proper result as this doesn't rewrite $_SERVER['REQUEST_URI'] so Joomla routing works with bad URI What will help is creating system plugin and replace this variable in ...
Alexandr's user avatar
  • 1,130

Only top scored, non community-wiki answers of a minimum length are eligible