Welcome Guest, Not a member yet? Register   Sign In
help with URL strings
#1

[eluser]pdxbenjamin[/eluser]
I've been searching for how to enable the 3rd part of a url string, but I must not know what it's called.
I have this...

http://site.com/controller/view/#3

I'm using Coda Tabs 2 and I want to be able to directly link to a tab, #3 specifically or #2 or whatever.

This is my .htaccess ... but I'm not even sure where to look to make that last bit work.
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]
    
    RewriteCond %{REQUEST_URI} ^application.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
</IfModule>


Thanks,




Theme © iAndrew 2016 - Forum software by © MyBB