Questions tagged [clean-urls]

Semantic URLs (aka Clean URLs) are purely structural URLs that do not contain a query string and instead contain only the path of the resource.

Semantic URLs (aka Clean URLs) are purely structural URLs that do not contain a query string and instead contain only the path of the resource.

Related tag's:

391 questions
0
votes
1 answer

Why don't my clean URL's work in Drupal, even though rewrite_module is present?

Hey guys. I'm asking this question here as a last resort, since I've been trying to solve the issue for almost two days now. I'm trying to enable clean URL's on my Drupal web application. I have visited several public questions such as this one, but…
PietiePoo
  • 1
  • 4
0
votes
1 answer

Htaccess clean urls code not working as I want

So here's what my htaccess clean url code look like: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{QUERY_STRING} !^myvar=0 RewriteCond %{REQUEST_URI} !\..*$ RewriteRule ^([^/]*)/?$ /$1.php?myvar=0 [QSA,L] This htaccess code permits files on…
user758287
  • 137
  • 1
  • 2
  • 8
0
votes
2 answers

Clean URL's within subdirectories

After looking a lot into stackoverflow i'm not able to figure it out. I have a website with the following structure index.php contact.php about.html forum(dir) - index.php - thread.php What i want my htaccess to do Remove .php & .html…
0
votes
2 answers

ASP.net Maintaining CurrentUICulture for bookmarks and linked urls

So I have a website that is in two different languages and I've set it up to pull text from a resources file based on CurrentUICulture. I have two link buttons that a user can click to switch between english and…
PercivalMcGullicuddy
  • 5,263
  • 9
  • 46
  • 65
0
votes
2 answers

nginx config for Drupal&Boost&ImageCache

UPD!!!: Issue discussed here is completely solved by this topic: http://groups.drupal.org/node/155564 And by detailed exploration of: Nginx configuration by Nginx&Drupal guru - António P. P. Almeida…
Stanislav Pankevich
  • 11,044
  • 8
  • 69
  • 129
0
votes
1 answer

How to change URL format with 2 parameters to clean URLs in a subdirectory?

Banging my head over the wall and can't find an appropriate solution. I have the following htaccess code in my root/main directory: RewriteOptions inherit Options +FollowSymLinks RewriteEngine on RewriteCond…
Voya7
  • 23
  • 6
0
votes
3 answers

Apache 2.2 mod_rewrite help

I am trying to get Apache 2.2 mod_rewrite to get clean urls. I have links such as
robx
  • 3,093
  • 2
  • 26
  • 29
0
votes
1 answer

Cleaning up URLs with parameters in Wordpress

I have a Wordpress site I'm developing, which needs to pass parameters in the URL. I've got to the point where www.example.com/stats/?stat-name works - it takes me to my stats-pages.php template, where I can process it. What I need to do is to clean…
0
votes
2 answers

mod_rewrite Clean URL rewriting

I'm trying to write clean url's for my website. I'm a rookie at this so forgive me. My .htaccess file currently looks like this: RewriteEngine On RewriteRule ^([a-zA-Z0-9-]+)$ something.php?query=$1 RewriteRule ^([a-zA-Z0-9-]+)/$…
0
votes
0 answers

How to make directory name different from path name in .htaccess file. (php)

Good day. I am having a little problem with my .htaccess file. In my website, I have the root directory as "Website" and the admin panel as "Website/backend". I created the htaccess to direct to "index.php"s in each folder depending on the request.…
0
votes
2 answers

How can generate this type of link?

I see a website what use resset password and the web send to your email a link with a encryption of other level, this is the link: domain.com/dshgfuigt73567345873464783tryweuygyu What type of encryption of what type of system use to can get a link…
lijultt
  • 13
  • 2
0
votes
1 answer

.htaccess file and clean Urls problem

I've been using the same .htaccess file to remove the .php extension in my sites. I can't seem to figure out what doesn't work this time. Its a new hosting provider I registered with.I tried making a simple redirect to SO to see if the file was…
seb
  • 1
  • 1
  • 2
0
votes
0 answers

Redirect url using clean url in PHP

i'm building a simple e-commerce app and i'd like to make my url's "clean". Ok, i've already done some stuff to get there but i'm getting confused now :/ My current situation: www.example.com/products On this page i've some products with their id,…
0
votes
1 answer

htaccess redirect for folder-only URL

I would like to know how a full pathname call for a pdf can be served showing only the enclosing folder URL. This is for keeping the URLs minimal while doing some logging. The file structure for each in a series of documents is…
Andante88
  • 55
  • 1
  • 1
  • 8
0
votes
0 answers

Lighttpd Clean URL's and removing everything after FQDN?

so i have figured out the regex to achieve this i just don't know how to make it work with lighttpd. regex that works for me in other places (\/admin.*$)|(\/pihole.*$) should remove everything after the 3rd / in these 2…