Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Jun 2012
    Posts
    47
    Tokens
    0

    Default

    Yes.
    Code:
    RewriteEngine on
    RewriteRule (.*) index.php?p=$1 [PT,QSA]

  2. #12
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Quote Originally Posted by Chippiewill View Post
    I believe you can use a wildcard like so:
    Code:
    RewriteEngine On
    RewriteRule ^(.*)$ index.php?title=$1 [PT,L,QSA]
    RewriteRule ^(.*)$ index.php?p=$1 [PT,L,QSA]

    Doesn't seem to work
    Vouches
    [x][x]

  3. #13
    Join Date
    Jun 2012
    Posts
    47
    Tokens
    0

    Default

    Quote Originally Posted by Fazon View Post
    RewriteRule ^(.*)$ index.php?p=$1 [PT,L,QSA]

    Doesn't seem to work
    Both of ours should work.

  4. #14
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Just to confirm, it should be turning www.hab.net63.net/index.php?p=register into www.hab.net63.net/register right?

    If so, it's not working. If you want to check it out, you can use the above links. The .htaccess is currently:
    Code:
    Options +FollowSymlinks
    RewriteEngine on
    RewriteRule ^(.*)$ index.php?p=$1 [PT,L,QSA]
    Vouches
    [x][x]

  5. #15
    Join Date
    Jun 2012
    Posts
    47
    Tokens
    0

    Default

    Out of curiosity, can you add this to the top of the .htaccess file:
    PHP Code:
    RewriteBase 

  6. #16
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Quote Originally Posted by Nath. View Post
    Out of curiosity, can you add this to the top of the .htaccess file:
    PHP Code:
    RewriteBase 
    That seemed to do the trick!

    However the CSS isn't loading now. I tried changing the path to the .css file from lib/global.css to ./lib/global.css and ../lib/global.css but it doesn't seem to solve it.
    Vouches
    [x][x]

  7. #17
    Join Date
    Jun 2012
    Posts
    47
    Tokens
    0

    Default

    Quote Originally Posted by Fazon View Post
    That seemed to do the trick!

    However the CSS isn't loading now. I tried changing the path to the .css file from lib/global.css to ./lib/global.css and ../lib/global.css but it doesn't seem to solve it.
    The page that shows when you visit the .css file looks like a 404 if you ask me..

    Can you try putting the css file in here: http://www.hab.net63.net/lib/noty/css/

  8. #18
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Quote Originally Posted by Nath. View Post
    The page that shows when you visit the .css file looks like a 404 if you ask me..

    Can you try putting the css file in here: http://www.hab.net63.net/lib/noty/css/
    I put it there, still not working
    Vouches
    [x][x]

  9. #19
    Join Date
    Jun 2012
    Posts
    47
    Tokens
    0

    Default

    Quote Originally Posted by Fazon View Post
    I put it there, still not working
    Have you got it working yet? I see that the CSS is loading..

  10. #20
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Quote Originally Posted by Nath. View Post
    Have you got it working yet? I see that the CSS is loading..
    Nope, wasn't working. I just cleared the htaccess file for now so I can continue to work on the site (which is why the CSS is fine now)
    Vouches
    [x][x]

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •