View Single Post
  #10 (permalink)  
Old 04-22-2008, 03:27 AM
tmeefpm tmeefpm is offline
New Pligger
 
Join Date: Apr 2008
Location: Barcelona, Spain
Posts: 4
Downloads: 1
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Angry

Hi:

I don't get the url 2 method working and am also waiting to solve it in order to get my website active. I want Google to index well my pages so I need this htaccess trick.

As I said in another post, I found that if you change one letter of the RewriteRule command, it works. For instance:

RewriteRule ^live/?$ live.php
with http://www.mydomain.com/live
doesn't work, 404 error (page not found).

But
RewriteRule ^livp/?$ live.php
with http://www.mydomain.com/livp
Works and executes well live.php

And
RewriteRule ^liv/?$ live.php
with http://www.mydomain.com/liv
triggers a 500 error(internal error)

I don't understand the reason why "live" doesn't work and "livp" works. Where could the system keep these words in order to fail in the first and work well in the second? I will appreciate very much if someone can enlighten this matter. Thanks.

Antonio
Reply With Quote