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
1 answer

URL issues, after a link is clicked on via email -- What's the deal? ##

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…
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
0
votes
1 answer

ASP.NET Friendly urls - drawbacks?

I currently have a large scale web application and I'm investigating the possibility of using the impressive ASPNET.FriendlyUrls package from NuGet…
Rob
  • 6,819
  • 17
  • 71
  • 131
0
votes
1 answer

Liferay same friendly url for action and render method

I would like to define same friendly url for render and action method in liferay. in Friendly-url.xml is /create/{parent} {parent}
karci10
  • 375
  • 3
  • 15
0
votes
1 answer

Silverstripe 3, ProductCatalog - friendly URL and Sub Categories

I am creating a product catalog using this Silverstripe Module: https://github.com/luisdias/silverstripe-productcatalog Which is based on this module https://github.com/arambalakjian/DataObject-as-Page I have an issue that friendly URLs are…
pinkp
  • 445
  • 2
  • 12
  • 30
0
votes
1 answer

How to read properly full path of .htaccess GET in PHP?

I'm having a trouble while I'm trying to read the full path of my website address, using .htaccess friendly URL. The point is this: I have an htaccess, which has this: RewriteRule ^(.*)$ index.php?loadpage=$1 [L] What this code actually does, is…
0
votes
2 answers

to write htaccess code for friendly url

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…
akku
  • 71
  • 5
0
votes
3 answers

URL Rewriting confusion

I got a webpage that has the following URL: localhost/Minecraft-User-Info/player/?user=matthijs110 Now I want it to localhost/Minecraft-User-Info/player/matthijs110 So without ?user=matthijs110 I tried different ways, but it doesn't seem to work.…
Matt
  • 69
  • 7
0
votes
1 answer

SEO friendly URL how to best way

I have url like the follow: http://new2.silentdivers.com/links.php?lang=en What will be the best way to do SEO freindly URL? Any help needed. lang=en could be, lang=ge, lang=fr etc
Simon Vetterli
  • 161
  • 3
  • 13
0
votes
2 answers

ModX friendly url has a bad format

Sorry, this is probably a very basic question, but I'm new to ModX and haven't been able to find an answer. I am trying to get friendly urls working, but right now, all my urls are showing up…
0
votes
1 answer

How to do URL rewriting in PHP and .htaccess files

In my PHP projects there are several types of URLs like: example.com/f/a/somefile.php?a=x example.com/f/a/somefile.php?a=x&b=y example.com/f/a/somefile.php?a=x&b=y&c=z …
ershad
  • 35
  • 1
  • 6
0
votes
1 answer

Customize URL in rails

I have a blog that use authentication and where users are able to create posts my post is generated via scaffold and want that users when want to edit a posts they will redirected to something like this…
Loenvpy
  • 899
  • 1
  • 10
  • 30
0
votes
1 answer

url rewrite using Nginx in front of an apache

I'm trying to figure out how to re-write urls using nginx in front of an apache. I am new to a set up like that and after an extensive research I couldn't figure it out. I am trying to enable seo friendly urls in a prestashop 1.6.0.6 installation…
0
votes
1 answer

How to parameterize column B value when column A value is absent in rails for a friendly URL?

I have a Product model which has several columns out of which two columns are :first_name and :last_name. How would I parameterize value of column B(:last_name) when the value of column A(:first_name) is absent or blank. I tried two methods below…
Subrat Rout
  • 95
  • 2
  • 16
0
votes
2 answers

Creating friendly urls to dynamic resources in struts2

I have a struts2 application with a single page that may show one of a number of values stored in a database. The application is for a school with many departments and each department has many programs. The department page is accessed using a url…
Vincent Ramdhanie
  • 102,349
  • 23
  • 137
  • 192
0
votes
2 answers

Matching patterns in URL with a language similar to regexp, but specific for URLs

I use matching URLs in a part of my code. Now I use regular expressions for this. This is fine, but does not always produces "nice", simply readable patterns. Is there any language defined for matching URLs? It should be like this:…
fifigyuri
  • 5,771
  • 8
  • 30
  • 50