Link to home
Create AccountLog in
Avatar of jnj_web_solutions
jnj_web_solutionsFlag for India

asked on

Rewrite URLS

Hi,

I have using this code to rewrite url.

RewriteRule   enquiry   add_enquiry.php

It seems work correct. But i want to rewrite url like this add/enquiry.  It works, but style sheeet does not support to rewrite mypage.

My original ouput is:

http://www.url.com/enquiry


Actually i want to output like below:
http://www.url.com/add/enquiry


and also i want to create dynamic url. When we add url in backend it works like this:

http://www.url.com/dynamicurl.
SOLUTION
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
B grade should be given if the solutions require you to do a good amount of extra work to resolve your problem.  It is customary to explain any grade that is not an A.
What was wrong with the answer?  Why did you give the experts a bad grade?  Please read the grading guidelines then explain what you were looking for, thanks.

https://www.experts-exchange.com/help/viewHelpPage.jsp?helpPageID=26

Looking forward to hearing what we did wrong! ~Ray