Jump to content

url rewrite??


merylvingien

Recommended Posts

Hi fellas, what the  :wtf: 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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.