Sign in to follow this  
Followers 0

My News system

32 posts in this topic

Posted

haha nice work mate!!

Share this post


Link to post
Share on other sites

Posted

Thanks lol

Share this post


Link to post
Share on other sites

Posted

tis sexy

Share this post


Link to post
Share on other sites

Posted

Still trying to grapple with mod_rewrite on my server. Doesn't seem to apply the rules for some reason and then breaks the queries.

What you using in your htaccess?

Share this post


Link to post
Share on other sites

Posted


#begin

RewriteEngine on

RewriteRule (.*)/(.*)/ index.php?page=$1&title=$2

Share this post


Link to post
Share on other sites

Posted


#begin

RewriteEngine on

RewriteRule (.*)/(.*)/ index.php?page=$1&title=$2

I guess that works or your purposes, since I like to grab URI segments to determine routes I tend to use this one:

RewriteEngine on

RewriteCond $1 !^(index\.php|imgs|css|robots\.txt)

RewriteRule ^(.*)$ /index.php/$1 [L]

It all depends on how you want to use what comes out the other end. :)

1 person likes this

Share this post


Link to post
Share on other sites

Posted

I guess that works or your purposes, since I like to grab URI segments to determine routes I tend to use this one:


RewriteEngine on

RewriteCond $1 !^(index\.php|imgs|css|robots\.txt)

RewriteRule ^(.*)$ /index.php/$1 [L]

It all depends on how you want to use what comes out the other end. :)

so is that doing if imgs,css,robots is in the url it ignores it?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.