Solved

URL rewrite 2.0

Posted on 2013-01-21
4
332 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
  • 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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