Questions tagged [.htaccess-configuration]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
267 views

Random Joomla 403 Errors after Logging in [duplicate]

I have a joomla site that is set to registered permissions only. Currently, everything works fine after migrating it to another folder, but when my users log in and AFK for a bit of time and then come ...
2
votes
1answer
477 views

Random 403 Errors

I have a joomla site installed in a subdomain and have moved it to another folder within the same subdomain. However, I am getting random 403 errors (not able to reproduce yet) and I seem to see it if ...
4
votes
2answers
434 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
1answer
381 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
2answers
176 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
1answer
623 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 ...
2
votes
3answers
477 views

Joomla random lack of access permission

When my user tries to edit an article in frontend, he gets "403 - you don't have permission to access(#some id of article)" and when he goes back in browser and tries again usually he can get access - ...
5
votes
3answers
4k views

How can I redirect old domain to a new domain?

I am newbie on Joomla. I have bought a new domain for my site that I want to use and have my site running on two different server under the 2 domain accordingly. I need to redirect the old domain and ...
0
votes
2answers
255 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 ...
1
vote
4answers
355 views

Access Errors After Changing Addon Domain Directory Root to Joomla! Folder

First: I would consider myself an advanced beginner in terms of administration. I know enough to be dangerous to myself and my projects :) I have an addon website hosted at HostGator. The HostGator ...
1
vote
1answer
1k views

How to use images from the domain images folder for all subdomains? [closed]

I have a website with a lot of images and many of them are going to be used by two subdomains. I wanted to avoid uploading the same images twice, so I thought maybe to use the images from the domain....
1
vote
3answers
301 views

.htaccess particular query redirect?

I've got a Joomla 2.5 website and a phpbb forum together. I wanted to redirect the registration of the Joomla Website to the registration to my forum. My current registration link (in joomla 2.5) is: ...
0
votes
1answer
644 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
1answer
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
3answers
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
2answers
862 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%...
8
votes
3answers
1k views

Use Joomla redirect component to fix broken URLs

Can anyone help with using J3 redirect component to fix this kind of broken links: https://www.portal-gestao.com/whatever/whatever/9999-title-of-the-page To: https://www.portal-gestao.com/item/9999-...
4
votes
6answers
16k 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
3answers
7k 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 ...
3
votes
1answer
383 views

K2 URLs not working after migration to Joomla 3

I've just migrated to Joomla 3 and my K2 URLs are returning 404's. Before the migration this was an example of a correct URL: [url=https://www.portal-gestao.com/item/7687-o-que-significa-mass-...
2
votes
1answer
390 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
2answers
459 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
0answers
125 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
1answer
5k views

Joomla 2.5.x 403 Forbidden

I used ARTIO JoomSEF to make a change to my .htaccess file from the admin dashboard. The changes were a few 301 redirects for some old pages I had. As soon as I saved the changes I was brought to ...
0
votes
2answers
3k views

I can not exclude folder from rewrite rules

I'm running a Joomla 3.3.6 site and I'm using rewrite. I have a subfolder, that doesn't belong to the joomla site. I want to exclude this folder from the rewrite rule. This folder is also protected by ...
1
vote
1answer
143 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
3answers
675 views

Joomla 2.5 GZIP compression error

This is completely annoying... I have enabled gzip compression in Joomla system configuration I have also enabled gzip compression in the htaccess file... But every time I test http://ganeshgrow.es in ...
3
votes
2answers
4k views

“Perfect” .htaccess for Joomla 2.5

I would like to know what should I implement in my htaccess file for making my website faster and secure. What do you recommend me?
1
vote
2answers
4k views

Can't exclude subfolder from rewrite rules in Joomla

My website is made with Joomla. I've got a subfolder which contains plain html/css pages. I don't want Joomla to rewrite URLs inside this subfolder. Now, I have the page in this path: http://www....
2
votes
2answers
2k views

Spammy Referral Traffic on Joomla site

Yesterday I was looking into my Google Analytics and found some spammy refferal sites, which I want to block. Can someone please help in this regard? Following are Spam sites: ILoveVitaly.Com Priceg....
0
votes
2answers
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 ...
6
votes
4answers
15k views

500 Internal Server Error after renaming htaccess.txt to .htaccess

I'm getting 500 errors showing on my site after renaming htaccess.txt to .htaccess
1
vote
3answers
8k views

Rename htaccess on Windows

I'm developing a website using xampp on my Windows computer. But when I try to rename the file htaccess.txt to .htaccess in order to enable rewrite rules in Joomla, I get an error message: How can I ...
2
votes
1answer
2k views

Multilingual site and domains

I have a multilingual joomla site setup and would like to use a different domain for each language. So instead of "englishsite.com/en/" and "englishsite.com/fr/", I would get "englishsite.com/" and "...
1
vote
2answers
3k views

Sample htaccess.txt file for Joomla 3 with GoDaddy

GoDaddy is providing one-click installation for Joomla 2.5. If you want to implement Joomla 3.0 from scratch, FTP is the way. The reason for the same is unclear to me. I guess htaccess.txt is one ...
8
votes
2answers
4k views

How do I allow direct access to my custom .php file in a Joomla Module to be consumed from AJAX?

This is my first time ever in PHP and my first time ever with Joomla. I come from a heavy non-Web C# / .Net background. I have written a custom Joomla module that interacts with a third party ...
2
votes
1answer
3k 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
1answer
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 ...
1
vote
1answer
193 views

Optimal Apache Permissions for a Joomla website for PCI Compliance

We recently had one of our many Joomla websites fail a PCI compliance test, and our network folks are now telling us that we must "disable file_get_contents". As best as I can tell, it would be about ...
2
votes
4answers
4k views

How to remove index.php from url in multilanguage site

I have searching for removing index.php from urls. I did what many web sites say. But I still get 404 error. I think that error would not be showed if I did not use multilanguage web site. I am using ...
1
vote
1answer
313 views

Joomla security - fingerprinting attacks with htaccess

I've been playing with my htaccess file to better secure Joomla but I'm stuck at this example (reference): ## Referrer filtering for common media files. Replace with your own domain name. ## This ...
5
votes
3answers
3k views

Change http to https in source code when using SSL

I recently enabled Force_SSL on one of my Joomla sites (by enabling "Force SSL" in Global Configuration), but I run into problems with blocked content (non-SSL content) from both Google fonts and ...
1
vote
2answers
2k views

Shows blank page when creating new article or new category

I have a problem in joomla backend. When I try to create click or create anything like new article or category, it shows blank page and nothing appears, no errors shows. Since I am a beginner of ...
2
votes
3answers
424 views

Joomla 3.x and .htaccess

I have a working Joomla 3.2 website and would like to direct all non www traffic to my www address. I have tried to add the code below to my .htaccess file, which I presumed was working however it ...
2
votes
1answer
334 views

Joomla 2.5 SEF and JRequest

(Migrated this question from Stack Overflow) I am working on a client's website which is based on the Joomla 2.5 framework. With SEF turned off (the in built Joomla version) the URL is this http://(...
1
vote
2answers
289 views

Activating sef plugin throws a 404 error

A joomla website is throwing a 404 error, when I try to access it root page /index.php, but when I deactivate the joomla built-in sef plugin, the website is accessed normally (code 200). I have tried ...
3
votes
2answers
75 views

Using Extension Manager to Install Packages from a Password Protected Directory

This question is for J3.3+ I'd like to set up my extensions in a password protected directory on one web site. This will act as repository for customized extensions to be used by several other ...
10
votes
5answers
7k 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.
3
votes
1answer
366 views

I'm using sh404SEF on HostGator. What should I do with my .htaccess?

I'm new to sh404SEF, but I understand it is widely used. I host with HostGator. I'm using sh404SEF primarily to generate search engine friendly URL's. sh404SEF advertises that I can do this without ...

1
2