Jump to content
  • 0
Sign in to follow this  
Followers 0

My News system

Question

Posted

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?

[url="http://www.haggistech.co.uk/news/index.php"]http://www.haggistech.co.uk/news[/url]
1 person likes this

Share this post


Link to post
Share on other sites

31 answers to this question

  • 0

Posted

Thanks lol

Share this post


Link to post
Share on other sites
  • 0

Posted

tis sexy

Share this post


Link to post
Share on other sites
  • 0

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
  • 0

Posted

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

Share this post


Link to post
Share on other sites
  • 0

Posted

[quote name='Haggis' timestamp='1363034517' post='595571596']
[CODE]
#begin
RewriteEngine on
RewriteRule (.*)/(.*)/ index.php?page=$1&title=$2
[/CODE]
[/quote]

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
  • 0

Posted

[quote name='Kami-' timestamp='1363074952' post='595572234']
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. :)
[/quote]


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.