Questions tagged [clean-url]

For questions about achieving clean-url's. Clean URL's are url's that only include easily understood words and numbers, and not meaningless variables that only a programmer would understand.

Clean URLs, RESTful URLs, user-friendly URLs or SEO-friendly URLs are purely structural URLs that do not contain a query string [e.g., action=delete&id=91] and instead contain only the path of the resource (after the scheme [e.g., http] and the authority [e.g., example.org]). This is often done for aesthetic, usability, or search engine optimization (SEO) purposes.

http://en.wikipedia.org/wiki/Clean_URL

20 questions
49
votes
5 answers

What is "shva" in Gmail's URL?

What is the following portion of a Gmail URL for? https://mail.google.com/mail/?**zx**=1efobg68r40co&**shva**=1#inbox If you change it, nothing happens!! I know Gmail is not an Open-Source program so we can't trace the code. But every website try…
Omar Al-Ithawi
  • 4,988
  • 5
  • 36
  • 47
6
votes
6 answers

Are clean URLs a backend or a frontend thing

What do you think.. are clean URLs a backend or frontend 'discipline'
Monkeytail
  • 61
  • 2
2
votes
2 answers

How to get clean GET urls for search in laravel 5.4

Currently I'm working on a project search functionality in Laravel and stuck in to get clean GET urls without any kind of JS JS will work too like when I search my form redirects me to http://jobs.localhost/search?q=hello but instead, I want…
Saad Suri
  • 1,352
  • 1
  • 14
  • 26
2
votes
1 answer

Apache mod_rewrite redirects links to localhost. How to make .htaccess to work with each site in local machine?

I've installed Xampp as a web server and want to make clean URLs for one of my projects. So I put these simple lines in .htaccess file in the root of this project: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
Mohammad Saberi
  • 12,864
  • 27
  • 75
  • 127
1
vote
1 answer

Nginx Clean url

I need clean urls for my website. Html should be removed from the url name and if a website visitor should be able to visit my website without entering .html. Can someone help me how to do this with the rewrite feature? I use the Admin Software…
user9259592
1
vote
1 answer

How to get rid of trash in Kohana Pagination urls?

i've a question on ko3 framework Pagination module. I have a route template like this: http://my-site.com/blog/1/page2 Here's the code from my bootstrap.php file: Route::set('blog', 'blog(/(/page))')->defaults(array('controller' => 'blog',…
skog
  • 31
  • 1
  • 4
1
vote
1 answer

Nginx rewrite to make a "personal URL"

I'd like to be able to make "personal URL" for our users (Facebook like), which is of course a dynamic strings. it needs to be in the root of the site, and that is why I'm having a big headache with it. The requirements that I have are: 1. I…
Trocker
  • 13
  • 3
1
vote
1 answer

Mod rewrite rule for url with get parameters

I have a domain called wwww.website.com. There, I have a subdirectory called www.website.com/register. In this directory, I have a .htaccess file, which redirect urls for example likes…
Julian Schweppe
  • 148
  • 1
  • 1
  • 10
1
vote
1 answer

Custom $_Get variable to clean url in wordpress

I am currently working on wordpress. URL 0f site is something like this example.com/dashboard-form/?din=random12. I want the url to be like this example.com/dashboard-form/random. Thanks in advance
1
vote
3 answers

how to Change a GET method URL to clean URL in php?

This is an URL that created by GET method in php to send DATA parameter to archives.html page: http://127.0.0.1/archives.html?option=com_archive&date=16-2-2014 Is there any way to clean this URL? I want to do something like this (and I can send…
user3307827
  • 556
  • 1
  • 7
  • 20
0
votes
1 answer

Help to port php function for do "clean url" to c#

Im trying to port this function to c# http://www.phpsnaps.com/snaps/view/clean-url/ I have problems to transform ""~[^-a-z0-9_]+~" (php pattern nomenclature) in regex charp nomenclature.
dlopezgonzalez
  • 4,217
  • 5
  • 31
  • 42
0
votes
0 answers

Clean URL with simple PHP function

I don't how to go about it. I have a single point of entry to my small site; presently the URL can only be accessed the old fashion way i.e ?action = anything I need a PHP function on top on my index page to be able to things like: /register …
Young Code
  • 11
  • 8
0
votes
3 answers

. htaccess not working in server

Hi My web server is Apache.I have created a sample application in my local system. It's working fine with the clean url. But when i uploaded to my Web server( Apache) it's not working. Is there is any settings in Apache? If yes what are the steps?…
Testadmin
  • 2,880
  • 9
  • 49
  • 71
0
votes
1 answer

Edits Server Error 500

RewriteEngine on RewriteRule ^home index.php [NC,L] RewriteRule ^news news.php [NC,L] Would appreciate any help on how to address this. I have created a .htaccess file for my site in order to simplify its URLs. The entire .htaccess reads as follows…
Agni Scribe
  • 252
  • 3
  • 18
0
votes
3 answers

How to remove index.php in CodeIgniter?

I have a problem. I need to remove index.php from URL in CodeIgniter framework. Anybody can help me?
1
2