New Posts
Live Radio
Welcome guest, is this your first visit?
  • Login:
FocalClick.com Affiliate Program
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Senior Member
    burning in a grease fire.
     

    Add as a friend
    Join Date
    May 2009
    Location
    UK
    Posts
    508
    Blog Entries
    2
    Feedback Score
    1 (100%)

    Default htaccess questions

    Hide File Extensions : mod_rewrite tutorial

    i found some code that turns

    sitename.com/page-name.php

    into:


    sitename.com/page-name

    The code is this:

    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    Options +Indexes
    RewriteEngine On
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^([^\.]+)$ $1.php [NC,L]
    </IfModule>


    Can anyone tell me to modifiy it so that there is a trailing slash, so it would be:

    sitename.com/page-name/

    Hope that makes sense, im sure its a matter of sticking in a "/" somewhere, im just not sure where.

    Thanks,

    - Andy
    "My marketing is aggressive" - Tri Nguyen

    Poker.VG | Bingo Babe | Gambling Critic

  2. #2
    Senior Member
    burning in a grease fire.
     

    Add as a friend
    Join Date
    May 2009
    Location
    UK
    Posts
    508
    Blog Entries
    2
    Feedback Score
    1 (100%)

    Default

    figured out answer, thanks.
    "My marketing is aggressive" - Tri Nguyen

    Poker.VG | Bingo Babe | Gambling Critic


 

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. HtAccess Clean Up
    By LadyHoldem in forum Wordpress - Web Design - Coding - Technical
    Replies: 8
    Last Post: 01-07-2010, 05:59 PM
  2. Need help Urgently! htaccess
    By MPC in forum Wordpress - Web Design - Coding - Technical
    Replies: 12
    Last Post: 08-13-2009, 10:57 AM
  3. Another htaccess question
    By MPC in forum Wordpress - Web Design - Coding - Technical
    Replies: 7
    Last Post: 07-31-2009, 04:54 PM
  4. htaccess problems
    By Hazo in forum Wordpress - Web Design - Coding - Technical
    Replies: 6
    Last Post: 02-05-2009, 06:30 PM
  5. htaccess help
    By sirtiner in forum Poker SEO Forum
    Replies: 5
    Last Post: 01-24-2009, 05:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin® Version 4.1.5
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0
Affiliate Program Consultant