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
1
vote
1answer
722 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
1answer
341 views

How to change JoomShopping URLs?

I have added several JoomShopping categories with respective pages. However, they have long URLs: http://ysadba.kiev.ua/component/jshopping/CATEGORY/PRODUCT.html?Itemid=0 I'd like them to look like ...
1
vote
1answer
122 views

Using SEF URLs breaks all templates

I changed both Search Engine Friendly URLs to Yes and Use URL Rewriting to Yes in Global Configuration and renamed the .htaccess.txt to .htaccess . But, now none of my templates work anymore. I have ...
1
vote
1answer
6k views

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

I'm using ALtervista to host my website. I've just installed joomla 2.5 using the auto-installation of Altervista. Exported a database in sql.gz format and imported it into my new database on ...
1
vote
1answer
651 views

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

The problem starts with my attempt to use CDN77: After installing and setting cdn plugin, all my source files' URL turn to the cdn provider's URL. Everything is working except font awesome icons, ...
1
vote
1answer
387 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/...
1
vote
3answers
302 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: ...
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 ...
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 ...
1
vote
1answer
33 views

Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

I got a issue after renaming htaccess.txt to .htaccess in the public_html folder of my Joomla 4 website (https://www.freepetsitters.com). I renamed it in order to get rid of "index.php" in ...
1
vote
1answer
150 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 ...
1
vote
0answers
88 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/...
1
vote
1answer
35 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 ...
1
vote
0answers
99 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 ...
1
vote
0answers
240 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 ...
1
vote
1answer
704 views

Redirect direct registration page access by .htaccess

I would like to redirect registration page to homepage by using .htaccess now my code is redirecting to /component/users/?view=login&Itemid=437 which is login page. I would like to make ...
1
vote
2answers
407 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
1answer
210 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] ...
1
vote
0answers
93 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
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 ...
0
votes
1answer
163 views

Subdirectories being blocked by .htaccess / Admin Tools

I am running a Joomla site and managing the dev environment using cPanel. I have set up a subdomain which I will be building the new version of the website in like so — dev.somewebsite.com (with the ...
0
votes
5answers
1k views

URL rewriting for a joomla website placed into a folder into the root public_html folder

I have my Joomla site placed into a subfolder of the root public_html folder. I have activated the url rewriting Global Option in the Joomla Admin Panel. I access to the website through the http://web....
0
votes
2answers
7k views

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

I am trying to open html and php pages directly, but it shows : 403 Forbidden Access to this resource on the server is denied! When I try www.mysite.com/dir/ index page shows up, error ...
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 ...
0
votes
1answer
52 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 ...
0
votes
1answer
347 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
1answer
604 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 ...
0
votes
1answer
120 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 ...
0
votes
1answer
990 views

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

I have Wordpress installed at example.com. I did have Joomla 3 installed at example.com/joomla. Now example.com/joomla loads a Wordpress 404 for some reason. Even example.com/joomla/index.php loads ...
0
votes
2answers
434 views

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

i have a website in joomla. I have this site hosted in a remote server. I have this joomla placed into a folder in the root public_html folder. I have activated the url rewriting Global Option in the ...
0
votes
1answer
532 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
1answer
480 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 ...
0
votes
1answer
408 views

.htaccess and localhost issue

Local dev environment Win10/XAMPP I have a number of local websites in my htdocs folder (eg. MyTestSite) that I access by visiting localhost/MyTestSite these work fine. So today I restored a (Joomla ...
0
votes
2answers
259 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
1answer
649 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....
0
votes
3answers
680 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 ...
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 ...
0
votes
0answers
44 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 ...
0
votes
1answer
242 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....
0
votes
0answers
62 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 ...
0
votes
1answer
42 views

Unable to rewrite url for frontend

I encounter some issues about the url that won't rewrite in frontend (only) of Joomla but I can't find where is the exact issue. This is the situation: I installed a quickstart package in a folder ...
0
votes
2answers
35 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
0answers
50 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
0answers
65 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 ...
0
votes
1answer
118 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
1answer
126 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
3answers
104 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 ...
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 ...
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
2