Go Back   Webmaster Forum > Development > Web Development
REMOVE the ads below !
Reply
 
LinkBack Thread Tools
  # 1 (permalink)
Old
Senior Geek
Posts: 591
Join Date: Jan 2008
iTrader: (0)
Location: Craiova
.htaccess ? - 02-06-2008

I have this site : SITE
i don't know how to make this modification
from
Quote:
jocurionline.li/game/1406/Hate-that-Frog.html
2
Quote:
jocurionline.li/Jocuri/Hate-that-Frog.html
How you see i wanna change game/1406 with Jocuri
PLS help me

Last edited by ISRdesign : 02-06-2008 at 10:56 AM.
Reply With Quote
  # 2 (permalink)
Old
Senior Geek
Posts: 591
Join Date: Jan 2008
iTrader: (0)
Location: Craiova
02-07-2008

Nobody nothing?
Reply With Quote
  # 3 (permalink)
Old
The Computer Addict !
Posts: 2,091
Join Date: Feb 2007
iTrader: (0)
Location: Bhopal (MP, India)
02-07-2008

Try to put the following code in the .htaccess file of your document root.

Code:
RewriteEngine On

RewriteRule ^game/1406/(.*)$ Jocuri/$1
I can't guarantee that this given code will work.
I'm no expert in .htaccess and rewrites.
Reply With Quote
  # 4 (permalink)
Old
Senior Geek
Posts: 591
Join Date: Jan 2008
iTrader: (0)
Location: Craiova
02-07-2008

oki have seend a tutoial with somethink like this and i've asked one of my friend and he told me like 1406 is the id of the game and i can't delete it
Reply With Quote
  # 5 (permalink)
Old
Junior Geek
Posts: 84
Join Date: Feb 2008
iTrader: (0)
02-24-2008

link not working
Reply With Quote
  # 6 (permalink)
Old
Newbie
Posts: 22
Join Date: May 2008
iTrader: (0)
05-14-2008

Link not working here also
"http://jocurionline.li/"
Reply With Quote
  # 7 (permalink)
Old
Newbie
Posts: 43
Join Date: May 2007
iTrader: (0)
Location: San Francisco, CA
06-15-2008

I'm learning url rewriting and i'll try to help you out here..

RewriteEngine On
RewriteRule ^game/1406/Hate-that-Frog.html$ Jocuri/Hate-that-Frog.html [R]

this should work if you don't need any parameters..
Reply With Quote
  # 8 (permalink)
Old
Newbie
Posts: 13
Join Date: Aug 2008
iTrader: (0)
08-13-2008

These should both work...

Quote:
Originally Posted by Shadab View Post
Try to put the following code in the .htaccess file of your document root.

Code:
RewriteEngine On
 
RewriteRule ^game/1406/(.*)$ Jocuri/$1
I can't guarantee that this given code will work.
I'm no expert in .htaccess and rewrites.
Quote:
Originally Posted by QueenZ View Post
I'm learning url rewriting and i'll try to help you out here..

RewriteEngine On
RewriteRule ^game/1406/Hate-that-Frog.html$ Jocuri/Hate-that-Frog.html [R]

this should work if you don't need any parameters..
If you want to replace the number then replace it with "([0-9]+)" and then increment the access number:

Code:
RewriteRule ^game/([0-9]+)/(.*)$ Jocuri/$1/$2
[/code]

I would consider myself quite experienced with rewriting rules so if you need to give me the info and I'll write it for you


Databloc - cPanel Web Hosting
Read user reviews here and here.
Reply With Quote
Reply


Thread Tools



PSD to HTML

vBulletin®, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. | SEO by vBSEO | Skin developed by vBStyles.com