Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 2115 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

.htaccess been stuck all day please help

Thread title: .htaccess been stuck all day please help
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
10-22-2006, 07:53 PM
#1
L146705 is offline L146705
Status: Junior Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 52
iTrader: 1 / 100%
 

L146705 is on a distinguished road

  Old  .htaccess been stuck all day please help

hi,
I have been trying to do my .htaccess all day the best I can get is this:
to
Code:
www.ebooklobby.com/details/51/Life%2520in%2520the%2520Red%2520Brigade/?id=51&title=Life%2520in%2520the%2520Red%2520Brigade
I want to get rid of the ?id=51&title=Life%2520in%2520the%2520Red%2520Briga de on the end. On the link to the page I pass the id and title parameters is there a way to remove them from the end of the url. Also I want to get rid of the %2520 characters.

The url I want is

Code:
http://www.ebooklobby.com/ebook-title/
Here is the code of the .htaccess file

Code:
RewriteEngine on 
# 
# Internally rewrite search engine friendly static URL to dynamic filepath and query 
RewriteRule /([^/]+)/([^/]+)/?$ /details.php?id=$1&title=$2 [L] 
# 
# Externally redirect client requests for old dynamic URLs to equivalent new static URLs 
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /details\.php\?id=([^&]+)&title=([^&]+)\ HTTP/ 
RewriteRule ^details\.php$  http://www.ebooklobby.com/details/%1/%2/ [R=301,L]

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed