Welcome Guest, Not a member yet? Register   Sign In
Check if at root domain
#13

[eluser]Dauntless[/eluser]
My current one is this:
Code:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
</IfModule>
(It should be a standard .htaccess script to hide the index.php)


And I would still need to override base_url: I anchor() etc and those are based on base_url. I HAVE to add the subdomain to the baseurl, otherwise every link would go to the splash screen. It this possible ?


Messages In This Thread
Check if at root domain - by El Forum - 03-02-2009, 06:18 AM
Check if at root domain - by El Forum - 03-02-2009, 06:42 AM
Check if at root domain - by El Forum - 03-02-2009, 10:06 AM
Check if at root domain - by El Forum - 03-02-2009, 10:35 AM
Check if at root domain - by El Forum - 03-02-2009, 10:51 AM
Check if at root domain - by El Forum - 03-02-2009, 11:02 AM
Check if at root domain - by El Forum - 03-02-2009, 11:25 AM
Check if at root domain - by El Forum - 03-02-2009, 12:50 PM
Check if at root domain - by El Forum - 03-02-2009, 01:10 PM
Check if at root domain - by El Forum - 03-04-2009, 12:31 PM
Check if at root domain - by El Forum - 03-04-2009, 01:06 PM
Check if at root domain - by El Forum - 03-04-2009, 01:22 PM
Check if at root domain - by El Forum - 03-04-2009, 04:31 PM
Check if at root domain - by El Forum - 03-04-2009, 04:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB