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
Solved

URL rewrite 2.0

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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