Questions tagged [htaccess]

A .htaccess file is a directory-level configuration file used to override a subset of the web server's global configuration.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
411 views

htaccess rewrite

I have an endpoint that I need to rewrite semantically for various reasons. The problem is it is an API endpoint and carries POST data. If I use a 301 or 302, the redirect happens, but I lose all data ...
W3bGuy's user avatar
  • 1,610
1 vote
0 answers
153 views

Default .htaccess files and Apache 2.4 compatibility

I was just setting up a new site (2.11.2) and noticed (for the first time, I guess) that there are a few .htaccess files at various places in the code tree. They're quite simple, just a single line "...
Andy's user avatar
  • 515
1 vote
0 answers
171 views

Does Throttling affect "good" bots negatively?

Throttling limits, "the number of page requests by a single IP address within a given time interval." In the ebook Securing ExpressionEngine 2, Mark Huot writes that, "[Throttling is] one of the first ...
Daniel's user avatar
  • 23
0 votes
2 answers
320 views

ExpressionEngine Control Panel SSL HTTPS Issue

I have an issue with the HTTPS header for the ExpressionEngine control panel where the JS is being disabled. It keeps generating error messages where HTTP is being loaded over HTTPS (see below): ...
friday_james's user avatar
0 votes
1 answer
433 views

htaccess: remove trailing question mark and value after amp at the end of a url

i'd like to remove question mark and value at the end of a url ending with amp. For example, i want the following url: http://www.domain.com/category/page.html/amp?value=12 to be like this: http://...
Marko's user avatar
  • 1
0 votes
2 answers
145 views

HTTPS url just redirects back to HTTP

I have a site that's running EE 3.3 and I'm trying to change it to include the SSL certificate that's just been installed on the server. I normally can change the config or the URL settings to ...
James Cottis's user avatar
0 votes
1 answer
59 views

ExpressionEngine htaccess with password protected subdomain

I have inherited an ExpressionEngine site and need to add a password-protected subdomain. The original htaccess file in the root directory was... <IfModule mod_rewrite.c> RewriteEngine On ...
supernaut's user avatar
  • 101
0 votes
1 answer
160 views

Simple Search form action is set to main site page

I'm trying to implement simple search on our blog. Previously we'd used the Google Custom Search Engine, but since they removed the pay as you go option to remove ads, competitor ads are showing up in ...
Amanda L's user avatar
0 votes
1 answer
184 views

too many redirects EE 2.5.4

I have moved the site www.webawards.com.au and followed the information in regards to moving the existing site to a new server. I have a problem with too many 302 redirects and the hosting company ...
Helen Burgess's user avatar
0 votes
1 answer
80 views

Expression Engine 3 upgrade causing links to break

I recently upgraded a site to EE3 and the EE2 version of the site was using .htaccess to remove index.php from the URLs. For example: foo.com/content/index.php/blog is instead foo.com/content/blog ...
Tim Willis's user avatar
0 votes
2 answers
258 views

Problems removing index.php from development site

I'm trying to set up a development site with a specific development URL. The development site is a clone of a live site, but I'm not able to get the htaccess code to work to remove index.php.I've ...
Andrew's user avatar
  • 393
0 votes
1 answer
43 views

.htaccess 301 for new structure from /blog/name to /blog/article/name

The title really says it all. I am by no means an .htaccess wizard. I rebuilt the site and have an old URL of: http://domain.com/blog/whatever I need all these to redirect to: http://domain.com/...
W3bGuy's user avatar
  • 1,610
0 votes
1 answer
108 views

Password Protect a Directory with .htaccess in root directory

I've created a directory in site root and used .htaccess/passwd files to build authentication. When navigating to that secure directory on front end I'm getting the EE 404 page template. Any ideas how ...
frshjb373's user avatar
  • 273
0 votes
1 answer
2k views

Too many redirects error (htaccess)

I recently got an SSL for my website and I'm trying to set up a htaccess so whenever someone joins the site it automatically takes them to the secure version of the site, but whenever I upload my ...
TipsyDriver's user avatar
0 votes
2 answers
94 views

htaccess/redirection madness

Trying to access a google file on the server which is at http://www.norland.co.uk/googled096ea11cba5b121.html This is an ExpressionEngine build. My htaccess rules as follows: RewriteCond %{...
Cole Henley's user avatar
0 votes
1 answer
1k views

SSL Subdomain Staging Site in Subfolder is Resolving Webroot Instead

I'm trying to set up a staging subdomain in a subfolder under the webroot of the main production site for testing and deploying changes for a EE e-commerce website. I hope one or two of the more ...
oliverb's user avatar
  • 170
0 votes
0 answers
173 views

After removing index.php from URL, pages on the host server are being displayed instead of the pages that were created in EE

I wanted to remove the index.php the shows up in the URL. I used this guide: https://ellislab.com/expressionengine/user-guide/urls/remove_index.php.html The 'index.php' is removed but some pages are ...
Beni's user avatar
  • 11
0 votes
1 answer
142 views

Channel image and htaccess redirection

I'm working on a multilingual site.. Everything is working except Channel Images from DevDemon.. there is some infos and the structure -root |-index.php |-fr |-index.php |-htaccess (fr) |-en |...
Benoit L's user avatar
  • 554
0 votes
3 answers
10k views

Too many redirects when forcing https on a template group

I'm having some trouble with forcing https on a given template group. If I use the following, I get the "too many redirects" error. If I comment out my "force SSL" conditions, everything else works ...
Jean St-Amand's user avatar
0 votes
0 answers
118 views

Site error when using www. in the URL

I'm completely running stuck at the moment. In first place I had an issue that if I typed www.mydomain.nl, the user always was redirected to mydomain.nl. No idea why and I wanted to force the user to ...
Timo002's user avatar
  • 362
0 votes
0 answers
218 views

search and login redirect to home page

All of a sudden my search and member login forms always redirect to the home page rather than the redirect url or search results? Any advice what's up? {exp:member:login_form return="courses/...
Peter Eastwood's user avatar
0 votes
0 answers
33 views

Expressionengine multilangual htaccess

Having a hard time getting a multilingual site to work ( not complete getting the htaccess syntax) folder layout root - /en - /ar My htaccess is interfering with some of the system act links as ...
bomanden's user avatar
  • 243