Haggis Veteran Posted March 5, 2013 Veteran Share Posted March 5, 2013 Ok i made a news system Mainly because i wanted to see if i could do it Ignore the actual site layout it was just thrown together so i could work on it as if it was part of a site Is there anything you would add? Anything you would change? anything you would remove? http://www.haggistech.co.uk/news guitmz 1 Share Link to comment Share on other sites More sharing options...
0 Haggis Veteran Posted March 11, 2013 Author Veteran Share Posted March 11, 2013 Thanks lol Link to comment Share on other sites More sharing options...
0 togermano Posted March 11, 2013 Share Posted March 11, 2013 tis sexy Link to comment Share on other sites More sharing options...
0 Sandor Posted March 11, 2013 Share Posted March 11, 2013 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? Link to comment Share on other sites More sharing options...
0 Haggis Veteran Posted March 11, 2013 Author Veteran Share Posted March 11, 2013 #beginRewriteEngine onRewriteRule (.*)/(.*)/ index.php?page=$1&title=$2[/CODE] Link to comment Share on other sites More sharing options...
0 Kami- Posted March 12, 2013 Share Posted March 12, 2013 #beginRewriteEngine onRewriteRule (.*)/(.*)/ 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 onRewriteCond $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. :) Haggis 1 Share Link to comment Share on other sites More sharing options...
0 Haggis Veteran Posted March 12, 2013 Author Veteran Share Posted March 12, 2013 I guess that works or your purposes, since I like to grab URI segments to determine routes I tend to use this one: RewriteEngine onRewriteCond $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? Link to comment Share on other sites More sharing options...
Question
Haggis Veteran
Ok i made a news system
Mainly because i wanted to see if i could do it
Ignore the actual site layout it was just thrown together so i could work on it as if it was part of a site
Is there anything you would add?
Anything you would change?
anything you would remove?
http://www.haggistech.co.uk/news
Link to comment
Share on other sites
31 answers to this question
Recommended Posts