Welcome Guest, Not a member yet? Register   Sign In
htaccess help
#1

[eluser]kongfjong[/eluser]
Hey out there

As I'm new to Code Igniter, I wanted to make a htaccess file, that removes the index.php? part of the uri. I found the following guide http://codeigniter.com/wiki/mod_rewrite/ which works great.

The thing is though, that I already have a htaccess file with the following content:

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^footballground.dk$
RewriteRule ^(.*)$ "http\:\/\/www\.footballground\.dk\/$1" [R=301,L]

This is content generated by my site-providers control panel, and redirects all requests for footballground.dk to www.footballground.dk as wanted to make sure, that all users arrive at the www version of the domain.

But I'm failing to mix the two different contents and I'm hoping you can help.

So, I still want to get rid of the index.php? part of the uri and still want every user to end up at the www version of the domain Smile


Messages In This Thread
htaccess help - by El Forum - 02-24-2011, 10:31 AM
htaccess help - by El Forum - 02-24-2011, 10:40 AM
htaccess help - by El Forum - 02-24-2011, 11:13 AM
htaccess help - by El Forum - 02-24-2011, 11:20 AM
htaccess help - by El Forum - 02-24-2011, 12:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB