Linked Questions
50 questions linked to/from How does Stack Overflow generate its SEO-friendly URLs?
3
votes
1
answer
7k
views
Asp.Net Routing - Replace white spaces %20 with dashes from URLs generated [duplicate]
Possible Duplicate:
How does StackOverflow generate its SEO-friendly URLs?
I use Asp.net 4 and Routing
I use this Route to create SEO friendly URLs for my website.
Title url paramenter is a ...
0
votes
2
answers
2k
views
ASP.NET MVC - how to replace %20 with dash? [duplicate]
Possible Duplicate:
How does StackOverflow generate its SEO-friendly URLs?
I made a simple form that contains the NAME and some other fields.
When user submits form, the following route will be ...
0
votes
1
answer
471
views
.NET MVC3 Routing URL Rewriting [duplicate]
Possible Duplicate:
How does StackOverflow generate its SEO-friendly URLs?
I have an MVC3 site for which I would like to clean up the urls that contain spaces in the names of the products.
...
226
votes
32
answers
392k
views
PHP function to make slug (URL string)
I want to have a function to create slugs from Unicode strings, e.g. gen_slug('Andrés Cortez') should return andres-cortez. How should I do that?
97
votes
5
answers
55k
views
URL Slugify algorithm in C#?
So I have searched and browsed through the slug tag on SO and only found two compelling solution:
Slugify and Character Transliteration in C#
How to convert super- or subscript to normal text in C#
...
32
votes
5
answers
12k
views
Adding ID and title to URL slugs in ASP.NET MVC
How do you redirect a request in ASP.NET MVC to its correct canonical version if part of the URL is missing?
Using Stack Overflow as an example, the site adds the question title to the end of its ...
17
votes
12
answers
11k
views
How can I create a SEO friendly dash-delimited url from a string?
Take a string such as:
In C#: How do I add "Quotes" around string in a comma delimited list of strings?
and convert it to:
in-c-how-do-i-add-quotes-around-string-in-a-comma-delimited-list-of-...
17
votes
2
answers
43k
views
How can I remove accents on a string? [duplicate]
Possible Duplicate:
How do I remove diacritics (accents) from a string in .NET?
I have the following string
áéíóú
which I need to convert it to
aeiou
How can I achieve it? (I don't need to ...
8
votes
3
answers
25k
views
A potentially dangerous Request.Path value was detected from the client (&)
I understand why this is happening but I need a work-around. I looked into some other questions on StackOverflow but none of them was helpful. I do not want disable input validation throughout the ...
2
votes
4
answers
6k
views
How do I sanitize title URIs with PHP?
I am programming a blog and I want the URIs to be the title like the question title here in stackoverflow or like wordpress.
What are the rules for sanitizing a URI?
Is there an already made code in ...
3
votes
7
answers
5k
views
What is the Best Way to Clean a URL with a Title in it
What is the best way to clean a URL? I am looking for a URL like this
what_is_the_best_headache_medication
My current code
public string CleanURL(string str)
{
str = str.Replace("!", "");
...
9
votes
1
answer
8k
views
ASP.NET MVC 400 Bad Request with URL restricted characters such as %
I'm developing an ASP.NET MVC 3 blog application using VS10 and its asp.net development server, and today I encountered the "HTTP Error 400 - Bad Request" error when I request on a blog post with a ...
3
votes
9
answers
3k
views
Remove all problematic characters in an intelligent way in C#
Is there any .Net library to remove all problematic characters of a string and only leave alphanumeric, hyphen and underscore (or similar subset) in an intelligent way? This is for using in URLs, file ...
7
votes
1
answer
3k
views
Helper to generate "friendly URL" in Razor (C#/MVC 4)
The goal
Create something that converts string to friendly string in Razor (I'm using C#/MVC4)
The problem
I have the following code:
<li>
<img
src="~/Images/Products/@Model["...
4
votes
1
answer
5k
views
How to properly encode anchor hrefs
What is the proper way to encode URLs in anchor tags in an XHTML/Strict document:
<a href="http://www.sit.com/page/<%= HttpUtility.UrlEncode("String that might contain unicode and dangerous ...