Results 1 to 2 of 2

I'm trying to SEO one of my sites..

This is a discussion on I'm trying to SEO one of my sites.. within the Off-Topic & Chit Chat forums, part of the Focus on Members category; hello guys, this is what I've done so far, made the htaccess file with Options +FollowSymLinks RewriteEngine on RewriteRule index-act-(.*)-id-(.*)\.htm$ ...

  1. #1
    Senior Member Brandon Sheley's Avatar
    Real Name
    Brandon Sheley
    Join Date
    Oct 2005
    Location
    Kansas
    Posts
    2,348
    Liked
    20 times
    Blog Entries
    1

    Smile I'm trying to SEO one of my sites..

    hello guys,

    this is what I've done so far,

    made the htaccess file with

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule index-act-(.*)-id-(.*)\.htm$ index.php?act=$1&id=$2

    and this allows me to make the links like

    Code:
    http://gametrump.com/index.php?act=play&id=39
    
    to work as.
    
    http://www.gametrump.com/index-act-play-id-39.htm
    so, is there something I can put in the htaccess to make the links always appera as the re-written ones ?

    thanks
    -Brandon
    My forums: General Forums | Admin Talk (running xenforo)

  2. #2
    rob
    rob is offline
    Senior Member rob's Avatar
    Real Name
    Rob
    Join Date
    Oct 2005
    Location
    Eastbourne, UK
    Posts
    982
    Liked
    2 times
    do yourself a favour and just use
    Code:
    http://www.gametrump.com/play-id
    to be passed to the following script:
    http://gametrump.com/index.php?act=play&id=[id]
    By the way, the .htaccess wont change you links for you. The htaccess file deals purely with handling the rewritten links - passing the requests to the real file.

    You will need to edit your PHP files directly to make them output links in your chosen format.

    Hop this helps.
    Rob - SEO Specialist

Similar Threads

  1. Replies: 0
    Last Post: 02-08-2006, 05:23 AM
  2. Replies: 2
    Last Post: 11-20-2005, 06:40 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
  •