Jump to content

url rewrite php concatenations


Luca Crippa

Recommended Posts

Well, then it sounds like you didn't set it up correctly. If you follow the instructions then I imagine it will work, I doubt the entire rewrite module is broken. You need to set it up and then write the rules so that when it receives a certain URL, it converts it to the URL that will call the correct file.

Link to comment
Share on other sites

Well, then it sounds like you didn't set it up correctly. If you follow the instructions then I imagine it will work, I doubt the entire rewrite module is broken. You need to set it up and then write the rules so that when it receives a certain URL, it converts it to the URL that will call the correct file.

Hi there,

 

so, I have a url like this:

 

/new_evento.php?eve=02#####=Concerto-di-Natale-2013

 

and I would like to rewrite it in

 

/evento/02/Concerto-di-Natale-2013

 

I used the following lines in web.config file:

 

 

<rule name="rewev">
<match url="^evento/([0-9]+)/([_0-9a-z-]+)" />
<action type="Rewrite" url="new_evento.php?eve={R:1}&######={R:2}" />
</rule>
The result is that the php page doesn't seem to catch the css file!!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...