Hello
I'm trying to add a "fullname" in the route in my url, and I wonder which chars I should replace? Should I use _ instead of space? and what other chars might "need" replacing?
Mostly gonna use swedish names, but some might have some strange letters, not icelandic ones though :)
/M
...
I want to pass a parameter 'A1B2C3' to a GWT application based on Google App Engine. I do it like www.example.com/index.html?key=A1B2C3. Although it's working, I'd like to use pretty URLs. Is it possible to do URL rewriting on Google App Engine? I couldn't find out how.
www.example.com/A1B2C3
instead of
www.example.com/index.html?key...
I have this sole route in my app:
routes.MapRoute(
"Default",
"{controller}/{action}/{id}",
new { controller = "Home", action = "Index", id = ""}
);
This works great for URLs like:
/Blah/Index
/Blah/Create
/Blah/Details/5
I want to add text to that last one like SO does:
...
Hi,
I have to simplify the URL. I am using liferay portal.
URL at present look like this:
http://10.11.201.144:8080/web/guest/marketing?p_p_id=EXT_6&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_EXT_6_pageName=aboutus
I need to simplify it like: http://10.11.201.144:8080/...
I'm creating a video site. I want my direct urls to a video to look like example.com/watch/this-is-a-slug-1 where 1 is the video id. I don't want the slug to matter though. example.com/watch/this-is-another-slug-1 should point to the same page. On SO, /questions/id is the only part of the url that matters. How can I do that?
...
I've defined the following route for a simple blog.
routes.MapRoute(
"Blog",
"blog/{year}/{month}/{day}",
new { controller = "Blog", action = "Index" },
new { year = @"\d{4}", month = @"\d{2}", day = @"\d{2}" }
);
The url should be able "hackable" to accomplish the following:
http://abc.com/blog/2010 -> shows all
posts in 2...
I need a help, does anyone can tell me how to change a url
"http://www.domain.com/search.php?key=+Ebooks&type=title&Submit=Search"
to
"http://www.domain.com/keyword- keyword- keyword.html".
i have written following htaccess code but its not working.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule search-(.*)-(.*)-(...
I have a form that submits a search for blogs on my site via GET.
The form works fine, but when submitted, the url on the following page reads ("Find it" is the value of my submit button):
www.example.com/search.php?sub_q=Find+it%21&q=tennis
This just isn't an aesthetically pleasing url. Is there a simple way to exclude the submit...
My app is sending users email with the following:
https://blah.chacha.com/feedback/##comment-reply-169
But for some reason, sometimes when the URL is loaded in some of the user's browsers the ## are being converted to something like:
https://blah.chacha.com/feedback/#%23comment-reply-169
Any ideas what's going on here and why?
...
Hi all!
I've got a cms-driven website, with no option to change the code. What I want to accomplish is creating friendly url's, using only apaches mod-rewrite engine.
The problem is I'm creating an infinite loop, because I first redirect the original url (index.php?id=21) to a friendly one (/friendly/) and then rewrite the '/friendly' ...
Hi,
I'm trying to rewrite the following url:
index.php?route=checkout/cart
to
/cart
using:
RewriteRule ^index.php?route=checkout/cart$ /basket [L]
However it doesn't seem to work. Anyone know what I'm doing wrong?
Thanks
...
Hi,
ASP.NET MVC web app that exposes "friendly" URLs:
http://somesite.com/friendlyurl
...which are rewritten (not redirected) to ASP.NET MVC-style URLs under the hood:
http://somesite.com/Controller/Action
The user never actually sees any ASP.NET MVC style URLS. If he requests one, we hard 404 it. ASP.NET MVC is (in this app) an i...
My host will not allow me to change the default folder of my primary domain. I have managed to Rewrite http://www.mysite.com to the real folder
public_html/mysite.com/www/
with the following code:
RewriteEngine On
RewriteRule ^$ /mysite.com/www/ [R=301,L]
This does successfully load my domain from the subfolder, but the url be...
Greetings all,
I need help combining some htaccess rewrites, these crazy regular expressions screw with my head.
So I have a folder structure something like this:
/www/mysite.com/page/member/friends.php
/www/mysite.com/page/video/videos.php
/www/mysite.com/page/messages/inbox.php
The URLs get rewritten to this:
...
Hi,
I have developed a site, which has some static pages. Like explore, home, feedback.
The link for these goes as follows
website.com/views/explore.php
website.com/index.php
website.com/views/feedback.php
I want to write a different SEO URL for each of the URL mentioned above.
Is it possible ?
i.e. for example
website.com/views/explo...
Hi to all,
i am trying to use friendly url for my categories.
Example Database
cat_id | parent_id | name | url
1 0 cat1 cat1
2 1 cat2 cat2
My approach to do is to pass the parameter cat with url value for example show.php?cat=cat1
and in .htacce...
Background: I have a website that has been built with ASP.NET 2.0 and is on Windows hosting. I now have to rewrite my site in PHP and move it into Linux hosting. I have a lot of incoming links to my site from around the web that point directly into the old .aspx-pages. The site itself is very simple, one dynamic page and five static ones...
I'm using custom post types in WordPress 3.0 to manage 'courses' (or seminars, lectures, whatever term you'd prefer to have in mind).
Now for viewing a single 'course', the url structure is;
/course/course-name/
But for multiple courses?
/courses/category/category-name/
Or...
/course-category/category-name/
Or something entirel...
Using CakePHP 1.3 there are named parameters in the URL like .../name:value/...
These are used for example by pagination links .../page:2/key:date/sort:desc/...
How to generate links with HtmlHelper::link() adding/deleting such named parameters from the current URL?
Basically I want create links to add/remove/modify the category:ID nam...
Hi there im having problem with language mappings. The way i want it to work is that language is encoded in the url like /appname/de/mycontroller/whatever
If you go to /appname/mycontroller/action it should check your session and if there is no session pick language based on browser preference and redirect to the language prefixed site....