Sign in to follow this  
Followers 0
Haggis

My News system

32 posts in this topic

haha nice work mate!!

Share this post


Link to post
Share on other sites

Thanks lol

Share this post


Link to post
Share on other sites

tis sexy

Share this post


Link to post
Share on other sites

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

#begin
RewriteEngine on
RewriteRule (.*)/(.*)/ index.php?page=$1&title=$2
[/CODE]

Share this post


Link to post
Share on other sites


#begin
RewriteEngine on
RewriteRule (.*)/(.*)/ index.php?page=$1&title=$2
[/CODE]

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

[CODE]
RewriteEngine on
RewriteCond $1 !^(index\.php|imgs|css|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
[/CODE]

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

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]
[/CODE]

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.