merylvingien Posted March 13, 2010 Share Posted March 13, 2010 Hi fellas, what the am i doing wrong here lol Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteRule ^articles/([a-z0-9]+)/?$ articles.php?urltitle=$1 [NC,L] if i am correct which i obviously am not that should write a url to www.somesite.com/articles/some-text-here Can anyone help me out here cause it aint working lol Quote Link to comment Share on other sites More sharing options...
cags Posted March 14, 2010 Share Posted March 14, 2010 At a guess you need to either add.. RewriteBase / ...at the top, or place a forward slash at the start of the target path. Quote Link to comment Share on other sites More sharing options...
merylvingien Posted March 14, 2010 Author Share Posted March 14, 2010 I think its something to do with the fact that the domain name isnt pointing at the server right now. Ive tested this on another site which is live and used the server link and no rewrites will work on that either. I didnt realise that it would only work when the full domain name is used! Or am i incorrect in thinking this? Quote Link to comment Share on other sites More sharing options...
cags Posted March 14, 2010 Share Posted March 14, 2010 To be honest I couldn't possibly tell you if you are correct or not because I don't know what your talking about. For accurate help you need to provide... The exact code you have in your rewrite rules/conds The url you are typing in the address bar The url of the page you wish to be displayed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.