Coastal Web
03-29-2006, 06:13 AM
EDIT:
Problem solved
---
Hello fine peoples...
I was hoping that someone would be able to help me out.
I've been trying to do the following:
when a user (or bot) visits this url:
www.example.com/12345
The mod rewrite sends them to:
www.example.com/view_article.php?id=1234
---
I would also settle for:
www.example.com/articles/1234
sending users/bots to:
www.example.com/view_articles.php?mode=articles&id=1234
---
I have been using the following code:
RewriteEngine on
RewriteRule ^articles/(.*)/$ /view_article.php?mode=article&id=$1
But l get a "page cannot be found" every time. If anyone would be willing to help l would greatly appreciate it :D
thanks again,
Samantha Gram
Problem solved
---
Hello fine peoples...
I was hoping that someone would be able to help me out.
I've been trying to do the following:
when a user (or bot) visits this url:
www.example.com/12345
The mod rewrite sends them to:
www.example.com/view_article.php?id=1234
---
I would also settle for:
www.example.com/articles/1234
sending users/bots to:
www.example.com/view_articles.php?mode=articles&id=1234
---
I have been using the following code:
RewriteEngine on
RewriteRule ^articles/(.*)/$ /view_article.php?mode=article&id=$1
But l get a "page cannot be found" every time. If anyone would be willing to help l would greatly appreciate it :D
thanks again,
Samantha Gram