Please help with WORDPRESS htaccess

Discussion in 'WordPress' started by Abiolas Gabriel, Nov 9, 2013.

  1. #1
    Formerly i created my website without WORDPRESS
    So three days ago i started redesigning my website
    with wordpress. But i have big problem with htaccess

    I want this link www dot xbizy dot com/welcome/universityyy/?tt=Bamiyan%20University

    to become this xbizy dot com/study/Bamiyan-University
     
    Abiolas Gabriel, Nov 9, 2013 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,830
    Likes Received:
    4,541
    Best Answers:
    123
    Trophy Points:
    665
    #2
    Probably not a .htaccess problem but how you are setting up your permalinks.

    Is "study" a category?
    check out the options in wp-admin/options-permalink.php

    upload_2013-11-9_21-54-22.png
     
    sarahk, Nov 9, 2013 IP
  3. Abiolas Gabriel

    Abiolas Gabriel Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    The study is not a category
    This is my php script

    <?phpinclude "../global.php"; ?>

    <?php

    $k = $_GET['c'];

    $result = mysql_query("SELECT * FROM uni WHERE country='$k' ORDER BY uni asc") ;
    echo "<div align='center'> <p><h1>List of universities in this country</h1></p>

    </div>";
    while($row = mysql_fetch_array( $result ))
    {

    $id = $row['id'];

    $name = $row['name'];
    $type = $row['continent'];
    $date = $row['date'];
    $country = $row['country'];
    $continent = $row['continent'];
    $uni = $row['uni'];

    echo "<title>$country</title>";
    echo
    "
    <p id='para1' >

    <a href='www dot xbizy dot com/welcome/universityyy/?tt=$id-".str_replace(" ","-",$uni)."'>$uni</a> <br>
    </p>

    ";

    }
    ?>
    I want to change this <a href='www dot xbizy dot com/welcome/universityyy/?tt=$id-".str_replace(" ","-",$uni)."'>$uni</a>
    to this www dot xbizy dot com/study/$id/$uni"
     
    Abiolas Gabriel, Nov 9, 2013 IP