dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Need help with rewrite (.htaccess)

  1. #1
    Join Date
    Jul 2010
    Posts
    5

    Wink Need help with rewrite (.htaccess)

    Hi,

    My site is finally up but i need a help with rewriting urls.

    Site: www.computerfields.com

    As you can see all links are transferred to: www.computerfields.com/about-us

    for example, but id like to have it as www.computerfields.com/about-us/

    In .htaccess i have:

    RewriteRule ^contact-us$ /contactus.php [L]

    RewriteRule ^about-us$ /aboutus.php [L]

    RewriteRule ^our-services$ /services.php [L]

    RewriteRule ^home$ /index.php [L]

    RewriteRule ^our-products$ /products.php [L]

    I appreciate your help !

    Thank you!

  2. #2
    Join Date
    Jul 2010
    Posts
    5
    Id acctualy like to have it both ways if possible:
    www.computerfields.com/about-us
    and
    www.computerfields.com/about-us/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles