Questions tagged [htaccess]

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

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

Redirect from Member/Register is not working

In order to prevent unwanted member registration I have set up a redirect from the member/register page using the following code in the .htaccess file: Redirect 301 /member/register http://sitexyz....
1
vote
3answers
95 views

Howto trim incoming URL's

So I've recently moved a blog from Wordpress to ExpressionEngine. Everything transferred over great (thanks to DataGrab!!). Now the one problem I'm having is in my attempt to redirect traffic from ...
0
votes
1answer
2k views

HTACCESS issues with multiple redirects

I'm having a hard time figuring out how to re-direct multiple portions of a site to the https:// version. What I have so far does work, it just randomly throws in an extra '?' sometimes? <...
1
vote
1answer
4k views

Remove question mark in URL with “Force URL query strings” enabled

in one of my sites I had to enable "Force URL query strings" because my hosting provider doesn't have "URL Segment Support" enabled. I don't have the permissions to change Apache configuration file ...
1
vote
3answers
499 views

After removing index.php from URLs, 404s on every template except homepage

UPDATE When first posting this, I didn't understand the problem. When I removed the index.php from the urls with a .htaccess file (http://ellislab.com/expressionengine/user-guide/urls/remove_index....
0
votes
1answer
2k views

ExpressionEngine 404 Not found - /index.php/products was not found

I have just begun working with ExpressionEngine. The production site is working just fine and I wanted to create a local version for dev purposes. I am receiving 404 not found errors on my localhost ...
1
vote
2answers
539 views

Removing index.php causes internal server error

Just installed EE 2.8.1, haven't renamed the system folder yet and am trying to set up the htaccess file to remove index.php from URLs. When I use the htaccess code recommended in the installation ...
0
votes
3answers
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 ...
0
votes
2answers
84 views

Control Panel won't log out, loops when logging back in randomly

I upgraded to EE 2.7.3 a few months back and recently added caching preferences to our .htaccess file for site optimization. Since these changes, I'm currently having two issues: Sometimes when I ...
1
vote
1answer
622 views

NSM htaccess generator error EE2.8.1

I'm running into what looks like an incompatibility for NSM htaccess generator with ee2.8.1 Trying to save entries will result in the following error: *Fatal error: Call to undefined function ...
0
votes
0answers
117 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 ...
1
vote
1answer
202 views

Modifying .htaccess to include or remove

Has anyone had any luck combining the new .htaccess rules for removing index.php with a rule to add (or remove) the www string? Previously, we would use the following: RewriteEngine On ...
0
votes
1answer
672 views

Accessing site without ~tilde (alternate domain using hosts file?) [closed]

I am developing a site that resides on a different server to where the current site resides. I am accessing the site via a url such as: http:// host.server.com.au/~username/ (So i am logging in via ...
3
votes
2answers
3k views

index.php removal in .htaccess doesn't work when on https

I have the following htaccess setup: <IfModule mod_rewrite.c> RewriteEngine On # force https for all URLs in /admin.php RewriteCond %{HTTPS} =off RewriteRule ^...
1
vote
1answer
99 views

Resource files are case sensitive on production server? [closed]

This seems so basic, but how would I make all of my URL's case insensitive? On my dev, everything worked fine, but on production, images are broken, resources are 404, etc. I know I could do ...
0
votes
0answers
209 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/...
0
votes
2answers
199 views

Stash static caching not ignoring POSTs like I think it should

I am using Stash static caching (and it is AWESOME). I'm using Stash 2.4.5 and EE 2.7.2. I am also using Low Search 3.0.4. So I have the {exp:stash:static} tag on my homepage, which is great. But if ...
2
votes
1answer
259 views

Remove segment and segment parts out of url

Alright I seem to hit rock bottom, and can't figure this out. I've googled and read several solutions here, and can't seem to implement them in my situation. This is probably an .htaccess solution, ...
1
vote
2answers
101 views

.htaccess rewrite issue

I had do move a functionally old EE 1.6.8 website to a new hosting. It does working so far after I changed the RewriteCond from: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...
1
vote
1answer
83 views

htaccess redirect from non query url to query url

I'm trying to redirect a url from a non-query version to a query version with EE. I can get the redirect working properly on a .php flat-file, such as: RewriteCond %{QUERY_STRING} ^$ RewriteRule ^...
2
votes
3answers
1k views

How do you remove template group from URL?

I've scouring through StackExchange looking for an answer for the last few days with no luck. These are the suggestions that I've seen without any real detail or resources: 1.) Somehow use the ...
0
votes
0answers
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 ...
1
vote
1answer
181 views

Renaming System Folder - Creates reload loop

I wanted to rename my system folder. But when I do so and point my browser to the new cp url I create a infinite reload loop and chrome goes nuts. Renamed system folder Check Renamed system url in ...
1
vote
2answers
972 views

redirect request for file download to a template first

I need to log downloads to the database, to do this I'm trying to redirect requests for downloads to a template where I can call a custom module function and save info to the db, before providing the ...
2
votes
2answers
634 views

Forcing SSL on /admin.php only

Trying to force SSL on the admin area only (/admin.php) but running into some issues. I've installed the http support add-on (http://devot-ee.com/add-ons/https-support) and the SSL certificate is up ...
1
vote
3answers
1k views

templates not being served, could it be .htaccess?

I've tried the tips here: 404 on Every Template and TPL group and here: 404 error on all templates but homepage after removing index.php I can access the index by using the default url (on my ...
2
votes
2answers
3k views

Trying to redirect a page to HTTPS using .htaccess, getting “too many redirects” error

Ugh, seems like I'm having a lot of htaccess issues lately. Recently moved a client site to new hosting from the cient's internal server. Their IT had setup SSL and updated the .htaccess to redirect ...
1
vote
1answer
183 views

404 on Every Template and TPL group

Trying to setup a sub-directory with a separate EE installation. All is well with the installation, I got a few templates and tpl groups setup. Whenever I try and view the template (Template manager -...
3
votes
2answers
580 views

Strict URLs / Removing one template group name

I would like to have 'strict URLs' enabled, but see I have to include the template group name in the URL for the pages to link correctly (else the 404 shows). All groups are fine but one. I have a ...
0
votes
1answer
1k views

removing index.php causes css to break

I am trying to use the recommended htaccess file to remove the index.php. but when I clear the Name of your site's index page in admin prefs the css will not load but everything else will on the ...
1
vote
1answer
414 views

Default .htaccess rewrite block for EE in a subfolder?

Is there a default .htaccess rewrite block for EE while running it in a subfolder? I have EE in /eefolder/ i.e., mydomain.com/eefolder/ with simply RewriteEngine on in the .htaccess file in that ...
2
votes
2answers
323 views

Can't add items to a cart with EE 2.7 - Expresso Store

So, I wasn't sure if this was just a version problem or something (using EE 2.7 and Store 1.6.4 - the latest). When I try to add items to my cart, they aren't successfully added and the network ...
1
vote
1answer
106 views

Set item pricing based on incoming (referer) URL

I am working on a site that sells books. There is one book that should be discounted for students of an affiliated college program. However only active students in the class can have access to the ...
1
vote
1answer
217 views

Removing index.php with add-on domain - CP urls break

I have EE Core installed in a subdirectory of my site, but it is set up as an add-on domain. I followed the official instructions to remove index.php and the urls work if I type them manually (...
2
votes
1answer
2k views

Set up of conditional redirect in htaccess

I've asked a question over at Stackoverflow thinking that it wasn't really EE related https://stackoverflow.com/questions/18229829/set-up-of-conditional-redirect-in-htaccess But now I'm not so sure ...
0
votes
2answers
15k views

Remove index.php and subdirectory in url string

I moved my site to a new hoster. Everything works fine (Images path's js css templates, all fine). I adjusted all path's with Reelocate. But all the Link in the Navigation throw back this error ...
0
votes
1answer
186 views

How can I tell EE to ignore certain directories?

We're slowly introducing sections of our site into EE. First is the blog, then other sections will follow. As a result I need to place EE in the web root, but I also need to leave existing directories ...
1
vote
0answers
169 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 ...
1
vote
1answer
857 views

Removing Directory from URL with .htaccess

I have a site setup with a template directory called “pages” so I can call to the pages with the following URL: http://sitename.com/pages/page-name However, for SEO reasons I would prefer to remove ...
4
votes
3answers
3k views

“no input file specified” - .htaccess

I'm in the process of migrating my sites to Media Temple. I need to change the htaccess file and add a '?' to successfully remove the 'index.php' from the URL. Without it I get "No input file ...
0
votes
1answer
219 views

dubbel EE installations , top root and sub folder

On the root there is an EE install with a .htaccess to remove the index.php Now there is a new installation in the www.root.be/test/newEE in the newEE there is a new EE installation for testing But ...
0
votes
1answer
515 views

Redirect URLS with disallowed key characters

I have a site that was converted to EE from a different blog platform, and I'm getting a bunch of crawl errors from previously indexed urls that now lead to a "disallowed key characters" error. The ...
0
votes
1answer
496 views

How to set EE to ignore a directory running a different application

I have another application running in a directory called "calculator" and I can't seem to get EE to ignore it. When I point to the url /calculator I get a 404. I have this in my htaccess file: <...
1
vote
2answers
395 views

Nothing seems to work to successfully remove index.php

No matter what I try, I can't seem to successfully remove index.php. I'm wondering if the host is lacking some setting in the server environment... otherwise the site hosts just fine. Here's what I'...
0
votes
1answer
1k views

301 redirect url without / to end with /

im trying to correct some URL's that dont have the / at the end, for example, expressionengine created the url without the / however, im trying to redirect whereas all my URls are consisten ...
0
votes
1answer
686 views

Easy sitemap.xml url

I've been looking for an easy way to point search engines to the sitemap.xml file in the root of the website. I've been using Google Sitemap Lite in combination with Navee or Structure. And it's ...
1
vote
1answer
307 views

URLs in MSM subsites are still using index.php in them

Is there any chance anyone has ever come across urls in subsites in MSM sites using index.php in them I am using a .htaccess file in each subfolder for that site which tries to get rid of the index....
1
vote
2answers
951 views

Remove index.php on a windows server

I have EE installed on a clients windows server but I'm having problems removing index.php from the URL This is the first time I've worked on a windows server (all precious jobs have been in apache ...
0
votes
1answer
183 views

Unexpected results using .htaccess rewrites

I'm working a multilingual site in EE and I am optimizing the URL's for SEO reasons in multi languages as well. The purpose is that people can visit the URL http://www.domain.com/nl/contact/...
0
votes
2answers
163 views

Different Domains with URL Re-Writes

I have several areas of my website which content authors want they content to be available at their own domain name for identity and advertising reasons. I want to avoid setting up additional ...