Solved

URL rewrite 2.0

Posted on 2013-01-21
4
334 Views
Last Modified: 2013-03-04
I am successfully using URL rewrite 2.0 (pluggin for IIS7), for example

mysite.com/content/123/ works fine and server reports url as mysite.com/content/page=123.

I'm wondering if a redirect can also be set up so all existing urls which are written like the the second one will redirect to the first one... or would this create an endless loop??
0
Comment
Question by:intoxicated_curveball
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Expert Comment

by:mwochnick
ID: 38802793
so if I'm understanding your question correctly
you currently have a rewrite working for
mysite.com/content/page=123  to mysite.com/content/123/
and you want to have
mysite.com/content/page=* to mysite.com/content/*/

Is my understanding correct?
0
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 500 total points
ID: 38803281
0
 

Author Comment

by:intoxicated_curveball
ID: 38811851
No sorry, I already have it working if the user types in mysite.com/content/*/ the server will read it as mysite.com/content/page=*

But the problem is all of the existing links that look like mysite.com/content/page=* ... if a user clicks the link it will still show as mysite.com/content/page=* and not the more semantic version mysite.com/content/page=*

so I'm wondering if I should be redirecting mysite.com/content/page=*  to mysite.com/content/*/
0
 
LVL 12

Expert Comment

by:mwochnick
ID: 38817666
So you have a rewrite working  want to setup a redirection.  You should be fine.  Here's an article explaining the difference between the two.

http://computer.yourdictionary.com/articles/what-is-the-difference-between-url-rewrite-and-redirect.html
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question