Forum Moderators: phranque
http://www.configureweb.com/ http://www.configureweb.com/page.php?page=about
http://www.configureweb.com/tutorial.php?tutorial=html-tutorial
http://www.configureweb.com/post.php?post=sample-post
http://www.configureweb.com/category.php?category=hosting-and-domains http://www.configureweb.com/page/about
http://www.configureweb.com/tutorial/html-tutorial
http://www.configureweb.com/post/sample-post
http://www.configureweb.com/category/hosting-and-domains RewriteRule ^page/([A-Za-z0-9-]+)/?$ page.php?page=$1 [L] <a href="page/about">About</a> www.configureweb.com/page/page/about/ [edited by: Nail_Yener at 8:53 am (utc) on Oct 7, 2011]
RewriteRule ^page/([A-Za-z0-9-]+)/?$ page.php?page=$1 [L]
<a href="page/about">About</a>
It sends to the correct page but the stylesheet is not active and links on that page become like this:
www.configureweb.com/page/page/about/
RewriteRule ^page/([A-Za-z0-9-]+)/?$ page.php?page=$1 [L]
RewriteRule is almost correct. styles/stylesheet.css from www.example.com/page.php?page=about the browser will ask for www.example.com/styles/stylesheet.css styles/stylesheet.css from www.example.com/page/foo/bar/this the browser will ask for www.example.com/page/foo/bar/styles/stylesheet.css <a href="/styles/stylesheet.css">.