Jump to content


Photo

mod rewrite help


  • Please log in to reply
No replies to this topic

#1 hockmasm

hockmasm
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 06 July 2006 - 01:47 AM

i have this code in my .htaccess page:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(.*)\.mywebsite\.com$ [NC]
RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [R=301,L]

i have a webpage on my site that is www.mywebsite.com/about-us.php and i want to rewrite that page to display www.mywebsite/company-info-and-more.php.

can someone rework this code to do that?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users