Questions tagged [friendly-url]

A friendly URL is a website address that does not contain a query string or complex strings in the URI, instead relying on a human-readable, SEO-friendly resource path after the website authority (e.g. https://www.stackoverflow.com/questions/tagged/friendly-url).

A friendly URL is a website address that does not contain a query string, instead relying on a human-readable, SEO-friendly resource path after the website authority (e.g. https://www.stackoverflow.com/questions/tagged/friendly-url).

Most of the time it is achieved with the help of a Rewrite Engine, such as mod_rewrite for Apache or mod_rewrite for Lighttpd. Many content management frameworks have the ability to generate friendly URL's built in.

1221 questions
0
votes
3 answers

mod_rewrite and pretty urls

What I'm trying to achieve: 1) http://localhost/en/script.php?param1=random is mapped to http://localhost/script.php?param1=random&language=English This has to work always. 2) http://localhost/en/random/text/here will be mapped to…
Peeter
  • 9,282
  • 5
  • 36
  • 53
0
votes
1 answer

Friendly url creation FLUID

I'm developping a TYPO3 extension (TYPO3 6.2) and I'm trying to create a link with parameters. My working link is like this: ........./?param1=val1¶m2=val2 Now I'm trying to make this url more friendly and want to show it as:…
Franky
  • 19
  • 3
0
votes
1 answer

ASP.Net Webforms - how to get the friendly URL for the currently executing page

I have enabled friendly URLs in my application by having the following line: routes.EnableFriendlyUrls(); in my App_Start/RouteConfig.cs file. I would like to get the Friendly URL of the currently executing page. I know that I can always the…
Moiz Tankiwala
  • 6,070
  • 7
  • 38
  • 51
0
votes
1 answer

Reject (Hard 404) ASP.NET MVC-style URLs

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…
user2189331
0
votes
1 answer

put search terms on friendly url

I have used a jQuery plugin to slug strings used in a search form. So I send to backend a friendly url with the slug terms used in the search by the user. The problem is when the backend can´t find the term on database, and I need to show a message…
0
votes
1 answer

Databinding inside frendly url

This is inside a repeater. Databinding does not work inside the friendlyurl but works fine outside. ProductName works but not ProductID. Friendly url works fine if i hardcode the ProductID
  • Madde Persson
    • 413
    • 1
    • 6
    • 26
  • 0
    votes
    1 answer

    Getting issue in SEO Friendly URL in PHP

    I am getting issue in .htaccess when I am trying to open any page though seo-friendly URL, then getting "Object Not Found" issue. Below is my code in .htaccess: RewriteEngine On RewriteRule (.*)/$ page.php?&page_id=$1 What I…
    Vijay V.
    • 568
    • 2
    • 8
    • 24
    0
    votes
    3 answers

    Php - parsing url to friendly (Using regexp)

    Using regex I need convert this string url. %s To get a output format like this:
    Joseph
    • 13
    • 1
    • 5
    0
    votes
    2 answers

    Where to store the complete url in a cms?

    I'm creating a cms and have not yet settled on the matter of where to store the complete url for a given page in the structure. Every page have a slug (url friendly name of the page) and every page has a nullable (for top-level pages) parent and…
    loraderon
    • 4,658
    • 2
    • 32
    • 35
    0
    votes
    1 answer

    Fix razor WebPages with friendly URL returning 404 error

    I have a website written as razor ASP.Net code wit the extension .cshtml. I wrote the site using WebMatrix and the site runs fine when i run it on web martix's "LocalHost". The links and all my code work, but as soon as I try to run the website from…
    Noah
    • 9
    • 8
    0
    votes
    1 answer

    Internet Explorer .htacces issue with friendly URLs

    So I built a MODx site that is hosted on site5. In the system settings I enabled friendly URLs and everything works fine on FF, Chrome, and Safari but for some reason it isn't working properly in Internet Explorer. For instance, normally when you go…
    user3817824
    • 81
    • 1
    • 4
    0
    votes
    1 answer

    remove extension in URL on an iis server

    I have pages set up with razor code to use a consistent layout on every page. I don't want the pages url to display with the .cshtml tag How can I do this. I use JQuery, JavaScript, HTML, CSS, ASP.net (web Pages Logic) EX URL; http://…
    Noah
    • 9
    • 8
    0
    votes
    1 answer

    asp.net FriendlyUrl is duplicating # tag

    I have a simple link with a # tag in the menu. Assemble It works fine from other pages and the FriendlyUrl forms URL as; localhost/Video/#assemble The problem comes when the same menu item is…
    Chi Row
    • 1,106
    • 7
    • 18
    0
    votes
    2 answers

    rewriting single url help

    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
    Rich
    • 209
    • 1
    • 4
    • 6
    0
    votes
    1 answer

    Mod_rewrite returning spaces in url

    Hello guys I am having issues with one of my sites. Today I deiced to change all my urls to something more presentable. The issue I am having now how to get rid of the spaces. Here is how the link looks right now…
    st0rm
    • 29
    • 6