General discussions related to php
Moderators: macek, egami, gesf
by fgatlin » Fri Jun 22, 2012 2:39 pm
The .htaccess file was accidently deleted from the server. Service provider claims there are no backups.
Here is my problem. I need an htaccess file that will turn:
xxxxx.com/?action=view&cat=10391
into
xxxxx.com/Ship-Ready_Boxes/inv/10391
Any suggestions are greatly appreciated!!
-
fgatlin
- New php-forum User

-
- Posts: 6
- Joined: Wed Mar 07, 2012 9:49 pm
by johnj » Wed Jun 27, 2012 8:37 am
Try this:
RewriteRule ^?action=view&cat=10391$ /?action=view&cat=10391/ [R]
RewriteRule ^?action=view&cat=10391/$ /Ship-Ready_Boxes/inv/10391
-
johnj
- php-forum Super User

-
- Posts: 1465
- Joined: Thu Mar 10, 2011 5:07 pm
Return to PHP General
Who is online
Users browsing this forum: No registered users and 1 guest