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

How to Host Dot Net Nuke Web Site on IIS

I am Facing some problem while hosting Dot Net Nuke Site. I dont know how dot Net Nuke works, I never work on DNN. We have Old Dot Net Nuke Website Hosted on Server under domain name ABC.com/XX And now want host that site under separate domain. We…
-1
votes
1 answer

How to create custom rule for friendly url to module in Yii 2

I have module in the frontend, and I want to make a friendly url like: //yourdomain/a-zA-Z_module-controller-action-id-page-1.html such as like this…
-1
votes
2 answers

.htaccess for friendly URL

I want to make a friendly URL for one of my project. Currently my URL is http://example.com/profile.php?user=someprofile and I want to make it http://example.com/someprofile. I tried the below htaccess but my CSS and image files are not loading.…
-1
votes
1 answer

Rails friendly_id doesn't render on existing user on heroku

I am using the friendly_id gem to make my url friendly & replace id by username in the url for example. Everything works fine under development, because I was about to run (to update currents users url): User.find_each(&:save) in my rails c. But in…
-1
votes
4 answers

PHP SEO friendly with clean URL

Currently I works on to transfer my site into SEO friendly URL (in localhost), Here's the original URL with query string: http://{ip}/sitename/item.php?category=44 I want convert to: http://{ip}/sitename/item/category/44 .htaccess file (same…
conmen
  • 2,377
  • 18
  • 68
  • 98
-1
votes
2 answers

Custom Urls in Codeigniter domain.com/articlename.html

I need to make custom URL in Codeiginter to display links from domain.com/news/id/1 to domain.com/article-name.html i want it dynamic to all news id not just one link can i do it in codeiginter or not ?
fergany
  • 127
  • 1
  • 1
  • 4
-1
votes
1 answer

Prettify my URLs with PHP

I'm writing a site in PHP that I would like to have structures, nice, and pretty URLs in. I know in one site I had rules setup in the .htaccess, but I have to have some of these URL rules created dynamically, so is there a way to do that in the PHP…
Freesnöw
  • 30,619
  • 30
  • 89
  • 138
-1
votes
3 answers

How to make urls like category/5/sub_category in CodeIgniter

I want my urls to look like: www.domain.com/catalog/category_name/category_id/product_name/product_id. How should my controllers look like to accomplish this? It's ok for the Controller to have Catalog and Function category_name in it. But what will…
-1
votes
2 answers

Friendly URL with complex query

I searched for the keyword "CTO" in google and got this URL in the address bar. And I am wondering can anybody make this into a friendly…
codingbiz
  • 26,179
  • 8
  • 59
  • 96
-1
votes
1 answer

.htaccess friendly URL's

I know this topic has been discussed and beaten to death... But mine is so simple, perhaps I'm over-complicating it? I've written my share of .htaccess files, but it's always been for dynamic content. pagename.php?id=1 or whatever... But in this…
korkster
  • 37
  • 1
  • 3
-2
votes
1 answer

how to add a custom friendly URL while using AspNet.FriendlyUrls?

I Need your Help Please; I'm developing a asp.net web application using c# I used Microsoft AspNet FriendlyUrls to make url without the suffix aspx in App_Code>App_start I added the following class public static class RouteConfig { public static…
Mohamed
  • 1
  • 2
-2
votes
1 answer

Laravel making a short URL

I want to remove one part of the URL to make the url shorter in the laravel application. This is my routes definition: Route::get('/category/{slug}','CourseController@courseCategory'); Route::get('/course/{slug}','CourseController@detail'); Example…
-2
votes
2 answers

How to create seo friendly urls with php and htaccess?

I'm trying to generate seo friendly urls using a htaccess file and PHP. But it's not working. I tried the code below in localhost (running XAMPP) RewriteEngine On RewriteBase /real/ RewriteRule ^property-details/([0-9a-zA-Z]+)…
Prudhvi Sree
  • 1
  • 1
  • 1
-2
votes
3 answers

Friendly URL within a directory

I have a Wordpress installation in a domain and within a directory, I have a site developed in PHP+MySQL completely independent of the wordpress. It works alone. This site is a backoffice, so it's installed under the /backoffice/ directory. One of…
Apalabrados
  • 1,098
  • 8
  • 21
  • 38
-2
votes
1 answer

Three Variable Rewrite Rule with city,state, and zip

I'm use a rewrite rule and map: mydomain.com/miami-fl-33308/ to mydomain.com/city.php?ci=miami&st=fl&zi=33308
kelsheikh
  • 1,278
  • 3
  • 17
  • 37
1 2 3
81
82