Please help with WORDPRESS htaccess

cm88529

Registered Member
Joined
Jun 19, 2013
Messages
77
Reaction score
5
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
 
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"
 
it doesn't matter what page it is.. the htaccess redirect code is the same for anything..

if you want to change the way wordpress builds the permalinks in the php code is completely other thing..
 
Bro can you login into my wordpress and do this for me,i will be very grateful,i just started using wordpress 3 days ago.
 
Back
Top