Questions tagged [mod-rewrite]
The mod-rewrite tag has no usage guidance.
8
questions
1
vote
0
answers
114
views
Rewrites for removing index.php stopped working
After moving from one server to another the .htaccess-rewrites for removing the index.php stopped working.
Old server: PHP 5.3.27 / Apache 2.4.3
New server: PHP 5.6.6 / Apache 2.4.12
There is an ...
0
votes
1
answer
56
views
Subdomain Mapping by Proxy
Background
We are trying to map a subdomain to a regular EE template group, without changing the URL.
Assume that the 'natural' URLs to the templates would look something like this:
my-domain.com/...
0
votes
2
answers
632
views
remove index.php on Windows 2012 iis 8 using URL Rewrite
I have the latest version of EE installed on a Windows 2012 Server with the URL Rewrite module installed. I'm migrating over to this server from an older apache installation that used Mod Rewrite ...
0
votes
1
answer
65
views
.htaccess not rewriting for missing www
I need all non-www requests to redirect to www. I believe I'm doing this right, but this code is not working:
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
# If www is ...
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 %{...
0
votes
3
answers
199
views
Redirects from old site using queries to new EE site
I'm putting a new site live and need to redirect all the old pages to the relevant new ones. The issue is that the old site used PHP queries, whereas the new site doesn't.
This means that if I setup ...
3
votes
2
answers
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
1
answer
85
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 ^...