• 0

My News system


Question

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

Recommended Posts

  • 0

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

  • 0

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

Link to comment
Share on other sites

  • 0


#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. :)

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.