Jump to content

cxer

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

cxer's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi The Little Guy To remove the file name and its extention, you have to write php script or use mod_rewrite module. I want to show you mod_rewrite,apache module.To use this module you have a apache server,and there is a .htaccess file your host. You modify this file to change URLs.You can write and examine that rules , RewriteEngine On RewriteBase / RewriteRule ^school/images/(.*)$ images/$1 RewriteRule ^school/(.*).html index.php?id=$1 After this rule you can use www.xxx.com/school/1.html so you hide your .php extension if you want remove extensions complately,use that RewriteEngine On RewriteBase / RewriteRule ^(.*) index.php?id=$1 then you can use www.xx.com/1 for example. take care,bye
  2. Hi [b]glenelkins[/b] if you still have problem,this is the solution [b]RewriteEngine On RewriteBase / [b]RewriteRule ^prefabrik/images/(.*)$  images/$1[/b] RewriteRule ^prefabrik/(.*).html      index.php?id=$1[/b] and if you use two variables solution changes like that, [b]RewriteEngine On RewriteBase / RewriteRule ^prefabrik/tekkat/images/(.*)$  images/$1 RewriteRule ^prefabrik/tekkat/(.*).html      /index.php?id=26&pl=$1[/b] take care,bye :)
  3. hi, i wrote some rules at below but my images are not viewing,i dont find why, if i use only one parameter this rules work RewriteEngine On RewriteRule ^prefabrik/images/(.*)$ images/$1 RewriteRule ^prefabrik/swf/(.*)$ swf/$1 RewriteRule ^prefabrik/pix/(.*)$ pix/$1 RewriteRule ^prefabrik/menu/(.*)$ menu/$1 RewriteRule ^prefabrik/pages/(.*)$ pages/$1 RewriteRule ^prefabrik/(.*).html index.php?id=$1 but if wantto use two parameter my images,css and swf files are not viewing RewriteEngine on RewriteBase / RewriteRule ^prefabrik/*/images/(.+)$ images/$1 [L] ----->problem is here, RewriteRule ^prefabrik/([^/.]+)/([^/.]+)/?$ index.php?id=$1&pl=$2 the * is the problem what can i write to see my images in my pages. are there anybody help me to solve my problem? Thank you very muck.
  4. yes i agree with you,i have same problem like you and i still dont find any solve. if a experienced friend help us we will so happy  :) Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.