.htaccess User Profile

Discussion in 'Apache' started by gio, Oct 27, 2006.

  1. #1
    hi there,

    the profile pages on my site doesnt seem to display the right Title. Take a look at http://www.articlewheel.com/profile/Gregg-Hall/364. How do i make the page title appear like this: http://www.netonesolutions.com/profile/Gregg-Hall/30 ?

    I already tried this code from this thread: http://www.articledashboard.com/forum/viewtopic.php?pid=26682#p26682
    but it didnt work for me.

    Here's my .htaccess file

    # -FrontPage-
      
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
      
    <Limit GET POST> 
    order deny,allow 
    deny from all 
    allow from all 
    </Limit> 
    <Limit PUT DELETE> 
    order deny,allow 
    deny from all 
    </Limit> 
    
    # php_flag session.use_trans_sid off
    
    RewriteEngine On 
    
    RewriteCond %{HTTP_HOST} . 
    RewriteCond %{HTTP_HOST}  !^www\. [NC] 
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1  [R,L]
    
    RewriteRule ^profile.*([^\/]+)/([0-9]+) publicprofile.php?name=$1&id=$2     
    RewriteRule ^Category\/[^\/]+/([0-9]+)      index.php?catid=$1&mode=category    
    RewriteRule ^Article/[^\/]+/([0-9]+)/?(.*)  article.php?id=$1&act=$2            
    RewriteRule ^rss/[^\/]+/([0-9]+)            rssarticle.php?id=$1                
    RewriteRule ^myarticles/(.*)$               index.php?mode=myarticles 
    
    RewriteRule ^topauthorslist/([A-Za-z]+)/([A-Za-z]+)/([A-Za-z]+)/([0-9]+)    topauthors.php?sort=$1&sorttype=$2&filter=$3&page=$4
    RewriteRule ^(.*)popularlist/          populararticles.php?page=$2
    RewriteRule ^(.*)searchresult/          indexser.php?page=$2
    Code (markup):
     
    gio, Oct 27, 2006 IP