New Posts
Live Radio
Welcome guest, is this your first visit?
  • Login:
Global Gaming Events
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    PAL's Glenn Beck
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Chillin' in the Ozarks
    Posts
    2,807
    Blog Entries
    18
    Feedback Score
    22 (100%)

    Default Html to Wordpress issue

    I am moving a casino site form html to Wordpress. The html url's end with a trailing "/" and I cannot get wordpress to do that.

    I tried adding this to my .htacess file but it didn't work -

    Code:
    # rewrite pages to use a trailing slash
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteCond %{REQUEST_URI} !index.php
    #RewriteCond %{REQUEST_URI} !(.*)/$
    #RewriteRule ^(.*)$ /$1/ [L,R=301]
    I supposed I could just 301 the old url's, but would rather learn to make this work.

  2. #2
    CK
    CK is offline
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    ?
    Posts
    2,226
    Blog Entries
    2
    Feedback Score
    35 (100%)

    Default

    Here is what I have in most of mine when wordpress installs

    BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    ----------------------------------------
    Everyone says they are willing to do whatever it takes to get ahead - but yet there are so few people up at 5AM ? - Robert Herjavec
    ---------------------------------------

  3. #3
    PAL's Glenn Beck
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Chillin' in the Ozarks
    Posts
    2,807
    Blog Entries
    18
    Feedback Score
    22 (100%)

    Default

    Ok, tried that and it doesnt work either. Anyone else have an idea?

  4. #4
    MJ
    MJ is offline
    Armchair Quarterback
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    4,845
    Blog Entries
    17
    Feedback Score
    43 (100%)

    Default

    I don't buy the argument that changes URL's hurts at all, I've done this recently on a few sites and 95% of the pages are ranking in the same spots with new URLS anyways, so I'd just set up the structure exactly as you want it and apply a 301 with redirection and wash your hands of it.

    Point a few links if you are in a hurry = done. I'm sure this isn't new to you Randy, but I've seen other threads about this lately, good luck.

  5. #5
    PAL's Glenn Beck
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Chillin' in the Ozarks
    Posts
    2,807
    Blog Entries
    18
    Feedback Score
    22 (100%)

    Default

    Yeah, honestly having a trailing / is just a personal preference and I hate having a redirect file that is a mile long.. After sleeping on it, I 301'd the old url's and have decided to redo the entire structure.

    Still, I want to know how to make the end "/" show up just for future refrence

  6. #6
    PAL's Glenn Beck
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Chillin' in the Ozarks
    Posts
    2,807
    Blog Entries
    18
    Feedback Score
    22 (100%)

    Default

    Duh! Here is an easy fix -

    Add the trailing "/" to the end of your custom permalink structure


 

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. HTML > Wordpress conversion
    By Flushdraw in forum Wordpress - Web Design - Coding - Technical
    Replies: 7
    Last Post: 01-19-2010, 02:11 PM
  2. Help with Wordpress/Videos...Overlapping issue
    By jdwanchalk in forum Wordpress - Web Design - Coding - Technical
    Replies: 4
    Last Post: 11-25-2009, 09:46 AM
  3. Free Wordpress & HTML Templates From SlotsGeek.com
    By Jeremy in forum Affiliate Services
    Replies: 12
    Last Post: 08-12-2009, 05:15 AM
  4. Wordpress Deepstack Theme Issue
    By Ridge in forum Wordpress - Web Design - Coding - Technical
    Replies: 4
    Last Post: 01-19-2009, 06:25 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