Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [.htaccess-configuration]

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

0
votes
1answer
41 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
2answers
30 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
1answer
86 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
0answers
310 views

.htaccess 500 Internal Server Error (Joomla 3.8.x w/ Docker)

Normally, on my Windows machine, all website pages work with my .htaccess and htaccess.txt files with SEF enabled. However, I get a 500 Internal Server Error on all pages when I run the application ...
0
votes
1answer
76 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
1answer
2k views

Joomla htaccess file

I have some old links (old platform) and I want to redirect them to the new ones. I have both old and new links but I can figure it how to modify the .htaccess file. Everything I try causes a 500 ...
1
vote
2answers
143 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
2answers
128 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
1answer
48 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 ...
3
votes
1answer
55 views

Impossible to set my joomla site timezone to Pacific/Tahiti (hosted in UTC)

I have exactely the same issue like in this post. For a Joomla site online booking (Joomla + Yootheme + Vik Appointment) I need Pacific/Tahiti default timezone and I still have UTC despite all my ...
0
votes
1answer
639 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 ...
1
vote
2answers
397 views

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

If I use Admin Tools to create a .htaccess file the site downloads the index.php file instead of serving it. What setting causes this, why does it occur, can it be fixed, and what are the ...
0
votes
3answers
56 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
60 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 ...
2
votes
2answers
62 views

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

I want users to be able to download a file from my Joomla website, but I don't want the URL posted anywhere on my site. How can I make a file downloadable without adding any links to it from my site?
1
vote
1answer
397 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
168 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
55 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
197 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
61 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 ...
5
votes
3answers
445 views

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

What is the best way to switch an existing Joomla site from http to https (SSL), technically and also from an SEO approach. 1st, i had a rule in my htaccess but it was not perfect : RewriteCond %{...
1
vote
1answer
3k 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 ...
2
votes
1answer
311 views

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

First of all, this is not the same question as can be found here: (Redirect URLs using Redirect component or .htaccess). What I want to know is what HTTP Status Code (for e.g. 301, 302, 303, etc...) ...
2
votes
1answer
367 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 ...
1
vote
1answer
392 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
2answers
257 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
187 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
5answers
548 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
1answer
256 views

Default landing page without language suffix

I have a multilanguage Joomla website. How can i achieve that, when someone types url of my page it will always bring him to : www.mysite.com ? In current scenario: a suffix is always added to my ...
0
votes
1answer
290 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
3k 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
1answer
177 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
291 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
176 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
289 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/...
4
votes
2answers
157 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 ...
5
votes
1answer
403 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
291 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 - ...
4
votes
3answers
2k 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
202 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
305 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
536 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
206 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
506 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
3k 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
1k 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
703 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-...
1
vote
1answer
6k 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
296 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-...