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
1
vote
2 answers

Using index.html in their own folder for each page to get clean URLs

I was wondering if their was anything wrong with making each webpage as an index.html in its own folder to achieve clean URLs. You just link to the directory and the index.html is automatically served without a mod_rewrite. For example instead of…
apokaliptis
  • 424
  • 1
  • 4
  • 12
1
vote
1 answer

Tomcat, Groovy and clean urls

I'm trying to get Groovy running inside Tomcat with clean urls. Since my knowledge of Tomcat's url mapping and filters is quite limited, I'm running into a brick wall. What I'd like is to create a front-controller called index.groovy that handles…
Luke
  • 20,878
  • 35
  • 119
  • 178
1
vote
1 answer

Clean URLs Drupal 7

Drupal newbie here! So I enabled Clean URLs by checking the box for enabling clean URLs under the configuration. Ir works, as in there's no 'q=' and '?' in the URL but when I create a node the URL for it is given as example.com/node/x where x is a…
unknownDude
  • 33
  • 1
  • 6
1
vote
2 answers

How to create Clean URL for every page using .Htaccess?

I'm currently in the progress of creating a huge website, but instead of the regular URLs I'd like to use Clean / User Friendly URLs. I have been searching on how could I basically tailor these Apache Mod Rewrite rules for my needs, howere I could…
Radical_Activity
  • 2,618
  • 10
  • 38
  • 70
1
vote
1 answer

.htaccess redirect a clean image url

I am trying to do clean URLs for images, where the url also contains a description of the image (for seo purposes). The only important part of the file name is the start and the extension. I am trying to get like image URLs such…
Justin Levene
  • 1,630
  • 19
  • 17
1
vote
3 answers

Drupal 7 Clean URLs won't enable

On my installation the checkbox is visible to enable clean URLs. When you check it and click Save, it reloads the page with the checkbox no longer checked. Why is this? FYI you can access the page using the clean URL version:…
Rick Donohoe
  • 7,081
  • 6
  • 26
  • 38
1
vote
1 answer

Remove all unrewritten GET parameters from urls with htaccess

I've noticed in Webmaster Tools a lot of urls have parameters added on, either on purpose or accidentally and it's looking like Google thinks these are separate pages. All of my urls are rewritten and none contain any questions marks ?, yet I see…
Dan
  • 11,914
  • 14
  • 49
  • 112
1
vote
3 answers

Drupal URLs not working

I am using Drupal 7 and suddenly my URLs don't work anymore. I upgraded Apache and PHP, but that was my only change. It were just minor version changes. Now my problem. When I access my main url, let's say http://example.com, I get a page not found…
koesie10
  • 572
  • 4
  • 17
1
vote
1 answer

Clean URL htaccess

I want to make my website links to be changed from that http://www.example.com/index.php?a=page&b=about to that http://www.egysocial.tk/about and i want to redirect my old URL to the new one. Thanks
Zuckerberg MFSN
  • 101
  • 1
  • 1
  • 6
1
vote
2 answers

How to set up Clean url for Drupal with Nginx in localhost

I setup a nginx server in my localhost So now I want to enable clean url for this server (Change localhost/drupalsite/?q=abc to localhost/drupalsite/abc) I have tried some tutorials but thet don't work for…
tunghk_54
  • 135
  • 1
  • 4
  • 14
1
vote
2 answers

How to direct multiple clean URL paths to a single page?

(Hi! This is my first time asking a question on Stack Overflow after years of finding answers here... Thanks!) I have a dynamic page, and I'd like to have fixed URLs that point to different states of that page. So, for example:…
windthorst
  • 38
  • 3
1
vote
1 answer

Looking for answer about Clean URLs that I have not found thus far

I am looking to clean up my URLs and I am having the most difficult time. I have an Apache server on GoDaddy. Not sure if hosting is the problem. I've uploaded many .htaccess files and none have worked. Goal: I am trying to eliminate ".php"…
Ken
  • 11
  • 1
1
vote
1 answer

heroku docpad paged cleanurls 404 error

Tell me, why has stopped working paged or cleanurls plugin. Rather, paging works, but gives 404 page. The only problem on heroku. Example: altyncev.ru/posts Config And posts file in my repo. Global changes are not made. Heroku logs ^…
npofopr
  • 94
  • 6
1
vote
2 answers

Custom CodeIgniter route regex

Trying to improve a custom codeigniter route regex that I have created. Essentially the purpose of the custom route is to create a cleaner/shorter URL for client profile pages which have the format of clients/client-slug, for example:…
Bill Dami
  • 3,205
  • 5
  • 51
  • 70
1
vote
1 answer

mod_rewrite /foo to /index.php?id=foo AND /foo/foo2 to /index.php?id=foo/foo2

I have a problem with mod_rewrite. I want to redirect those URIs in the title. I use the following rule RewriteEngine on RewriteCond $1 !^(folders not to be redirected e.g. css|images) RewriteCond $1 !^(.*).(file extension e.g.…
Julius Rickert
  • 410
  • 3
  • 13