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
4
votes
2answers
492 views

Store isn't adding products to the cart

I'm building a VERY simple store setup to demonstrate its capabilities to a client. I setup a quick and dirty EE site, added Structure, Wygwam and Store. EE and all the add-ons are current versions. I ...
7
votes
5answers
1k views

Removing part of EE urls with .htaccess or via other methods?

I've had a similar question up on Stack Overflow, but now that we've got this shiny new site, I figured I might as well bring it here. With EE 2, is it possible to remove anything other than index....
3
votes
3answers
3k views

404 error on all templates but homepage after removing index.php

I am trying to remove the index.php from my URL, and have gone through the necessary steps, and used the code below in my .htaccess file. When I navigate to the homepage, it works, but clicking on any ...
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 ...
8
votes
1answer
10k views

301 Redirects Appending Query String?

First time this has happend to me and I can't figure out how to fix my 301 redirects. The redirect is appending the rule to the end of destination/new url: Redirect 301 /products.htm http//www.domain....
7
votes
6answers
3k views

Removing index.php rewrite not working

I use the official EE rewrite rule to remove index.php. This has always worked for me just fine... until now. I am using a hosting company that I've not used before and it is acting funny. The ...
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 ...
3
votes
1answer
4k views

Adding a .htaccess redirect to https that plays nicely with existing EE .htaccess rules

I've got an extranet (mywebsite.com/extranet) and would like to make sure that just this section is always under https, even if the user types the URL without https in it. Likewise (as a bonus, if ...
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 ...
5
votes
1answer
936 views

SSL certificate on https://secure.domainname.com

my problem: If I attempt to access a https template through expression engine, I get a blank screen: https://secure.domainname.com/anyTemplateGroup/anyTemplate Solved by host (finally found this on ...
3
votes
7answers
29k views

How do I remove index.php from my URLs?

How can I remove index.php from my URLs? Please provide rationale for why the specific method should be used.
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 ...
2
votes
1answer
336 views

Redirect/prevent webmaster tools crawl errors using htacces?

Through Google webmaster tools i noticed many crawl errors. However none of the url's exists anymore but are still linked somewhere in other pages. If i surf to such url i get "Invalid GET Data" An ...
2
votes
1answer
904 views

htaccess rule for url with dot

A development installation has been set up for me that has cloned an existing site. However, the .htaccess file no longer works to remove index.php. Could this be because there is a dot in the URL? ...
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 -...
0
votes
1answer
384 views

htaccess rules for subdomains?

I am working on a site that is on a subdomain with a structure that looks like this: http://dev.domain.co/sites/project/ I would also like to remove the index.php. I looked at THIS THREAD to see if ...