-3

my url is

http://altikalti.com/down.php?folderpath=53/143&imageid=29&file=17Mar2014-murzuq-band-ghat-festival-libya(altikalti.com).jpg&new

output url:

http://altikalti.com/53/143/29/17Mar2014-murzuq-band-ghat-festival-libya(altikalti.com).jpg

How can i do.. if any changes in panel setting then you can also suggest me thank u for reading... Have a good day

Hiren Raiyani
  • 754
  • 2
  • 12
  • 28

2 Answers2

0

This question has been asked several times already.

By searching with the keywords friendly url htaccess you can find this discussion that give an answer on the subject :

Friendly Url .htaccess

Or this one, especially for images :

Friendly URL for images

You can still follow this blog post for more complete examples :

http://surefirewebservices.com/tutorials/friendly-url-tutorial-pt1

Community
  • 1
  • 1
Ian Letourneau
  • 415
  • 5
  • 17
0

Create .htaccess file into root folder (e.g. http://altikalti.com/ location)

RewriteEngine On    
RewriteRule ^(.*)/(.*)/(.*)/(.*) http://altikalti.com/down.php folderpath=$1/$2&imageid=$3&file=$4&new [L]

If you're not in production environment, you can check if mod-rewrite is enabled by

RewriteEngine On
RewriteRule ^(.*) http://www.google.com/ [L, R=301]

If it work every request should be redirect to google.com, which mean the first script should work and do the job for you.

Chanon
  • 476
  • 1
  • 5
  • 11