Forum Moderators: phranque
Now i get one big problem . The links/pictures/graphics of the site are in this format: <a href="index.php..." <img src=/images/header.gif .... etc. When i make the Rewriterule to transform that link above all my site content transforms in this : <a href=/moreinfo/20/index.php..." and <img scr=/moreinfo/20/images.gif .... etc. This means the entire site is messed up.
Can you guys help me with a piece of .htaccess Rewriterules? i must underline that i`m using httpd.conf not .htaccess.
Thank you!
Welcome to WebmasterWorld!
The process works the other way. Change your script to output the 'friendly' URLS, then use mod_rewrite to convert them back into the form needed to invoke your script. When you do so, it's easy to exclude images, css, and external JS files from being rewrtten by using the RewriteCond directive.
See this recent thread [webmasterworld.com].
Jim
so. let`s suppose all the links from my site are in the format:
[site.com...] , ok?
Can you teach me what`s next from here?
Jim
This thread from member jd01 may prove useful: What you don't know you need to know... [webmasterworld.com]
Jim