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
2 answers
499 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 ...
Stuart McCoy's user avatar
  • 1,146
7 votes
5 answers
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....
Linda Antonsson's user avatar
3 votes
3 answers
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 ...
hyphen81's user avatar
  • 699
0 votes
2 answers
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 ...
KSPR's user avatar
  • 455
8 votes
1 answer
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....
Siebird's user avatar
  • 4,815
7 votes
6 answers
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 ...
Matt Fordham's user avatar
5 votes
1 answer
947 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 ...
Lloyd Hill's user avatar
4 votes
3 answers
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 ...
Niall Thompson's user avatar
3 votes
2 answers
597 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 ...
ccdavies's user avatar
  • 455
3 votes
7 answers
30k 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.
Richard Frank's user avatar
3 votes
1 answer
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 ...
Stephen's user avatar
  • 1,349
2 votes
1 answer
337 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 ...
Visual's user avatar
  • 139
2 votes
1 answer
1k 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? ...
Andrew's user avatar
  • 393
1 vote
1 answer
184 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 -...
DarkMantis's user avatar
0 votes
2 answers
216 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 ...
Gary Reckard's user avatar
0 votes
1 answer
387 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 ...
MelPax615's user avatar