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

htaccess url rewrite many links and protect css and js files

I want to rewrite my links but with multi styles here is i want i want to be look like Info cms is my Rewrite Base Cats style http://www.site.com/catname Post Style http://www.site.com/anycatname/posttitle Pages…
Mona Abdelmajeed
  • 686
  • 1
  • 9
  • 19
0
votes
2 answers

Install modx in a subfolder

I like my webspace tidy :) Therefore if my root-folder is html/ I would like to install modx (version 2.2) in the subdirectory html/modx/ For my website-visitors everything should be the same as if I would have installed modx in the root folder…
speendo
  • 13,045
  • 22
  • 71
  • 107
0
votes
3 answers

Creating search engine friendly URL's in ASP.NET MVC

I would like to develop URL's which look like the following: http://mysite.com/products/1/best-product-in-the-world Where all i need to get to the proper record is the following route: http://mysite.com/products/1 When I add the product…
jn29098
  • 1,405
  • 1
  • 15
  • 25
0
votes
2 answers

How to make friendly url in liferay

I have my portlet placed in a page and the portlet is rendering with the values from the url parameters. but I need to hide the values and show friendly url.. check this…
mridul4c
  • 8,197
  • 3
  • 19
  • 28
0
votes
1 answer

SEO Friendly URLs when developing with HTML 5 & JSON for "Run Anywhere"

I'm just starting out on a WORA project: Front end: HTML5 / JSON; Back end: .NET MVC API. I'm looking for some pointers on how to develop so that the site has SEO friendly URLS. Obviously this is fine if the front end is .NET as you can use…
Ben Drury
  • 1,356
  • 2
  • 16
  • 34
0
votes
2 answers

Friendly URLs and allowing users to have control over them

I have a CI application with a CMS and I have been wondering how I can give the user control over the urls for their blog articles they will publish. I understand about the routes.php file but I'm just wondering how I can allow the user to change…
green_arrow
  • 1,257
  • 7
  • 21
  • 37
0
votes
2 answers

Mod_rewrite - how to 301 redirect an old URL to a new one

I need to grab some of my website's old URLs and do a 301 redirect to the new ones, since they are already indexed and we don't want to loose relevance after the change. The old URL is in fact very ugly and for some reason everything I try to do to…
Marcos Buarque
  • 3,318
  • 8
  • 44
  • 46
0
votes
1 answer

how to simple rebuild all aliases (friendly urls) to make them based on pagetitles? (MODX Revolution)

I was creating a lot of documents and sub-documents on the documents-tree. But on Frontend Page there are their frendly url based on IDs. How to simple update that aliases and rewrite them to based on pagetitle? Iwas trying to put to…
quardas
  • 651
  • 3
  • 10
  • 23
0
votes
2 answers

Apache htaccess re-write URL rules?

I want to create URL re-write rules for following URL in htaccess. http://example.com/vedios/category/fun/ -> http://example.com/vedios/category.php?cat=fun http://example.com/vedios/category/fun/?show=popular ->…
djmzfKnm
  • 26,679
  • 70
  • 166
  • 227
0
votes
2 answers

Generating pages from a database

I'm looking for some help understanding how to generate pages from a database to create a catalog of items, each with different URLs. All I can seem to find through google are products that will do this for me, or full e-commerce solutions. I don't…
Nona Urbiz
0
votes
1 answer

.htaccess pretty url issue

I'm changing mydomain.com/directory/?name=lorem&action=posts to mydomain.com/directory/lorem/posts But I'm now trying to add one called "other" so I would like to get…
Frank
  • 1,844
  • 8
  • 29
  • 44
0
votes
2 answers

Modrewrite for product pages working but for categorie pages not

I got the following modrewrite script: RewriteCond %{ENV:space_replacer} !^$ RewriteRule ^.*$ %{ENV:space_replacer} RewriteRule (.*)/(.*)$ product.php?categorie_url=$1&product_url=$2 THIS ONE ABOVE IS WORKING: ->…
Rens Tillmann
  • 474
  • 2
  • 7
  • 21
0
votes
3 answers

modx revo friendly urls

Just started to use MODX Revo. When I make new document in MODX(Revo), fill its alias (for example 'TESTALIAS') and trying to get mydomain/TESTALIAS I'm receiving mistake 404. Using nginx and php-fpm, FURLs are ON in .htaccess So what am I doing…
265
  • 143
  • 2
  • 2
  • 7
0
votes
1 answer

.htaccess mod_rewrite pretty URLs with subdomain

I'm trying to get my URLs from this: hxxp://m.newsite.com/index.php?id=12345 To this: hxxp://m.newsite.com/12345 The trouble I have is I have a shared hosting account and I'm hosting a new domain, so the above URL w/subdomain is technically…
0
votes
1 answer

Generating dynamic pretty urls via .htaccess file

I'm attempting to generate dynamic 'pretty URLs' via .htaccess so that http://mysite.com/episode.php?episode=1 will become http://mysite.com/1, however obviously I want this to be applicable to all episode numbers between a potential range of 1 -…
Ryan
  • 767
  • 3
  • 9
  • 31