.htaccess - htaccess change for redirecting Pages with Page Number -
i have migrated site better design . earlier used have lot of page numbers in new site have implemented ajax based lazy loading. result , want redirect pages page numbers main page. in need of following
to redirect url below
job.php?filter=&&strow=40
to
job.php
and 1
from url
searchresult.php?sid=1&&mainid=50&&lanid=&&maincat=singer&&link=ctry&&order=&&couid=&&strow=3
to
our_singer.php
(pls note word singer in long url, if dancer url our_dancer.php)
please me
try:
rewriteengine on rewriterule ^job\.php$ /job.php? [r,l] rewriterule ^searchresult\.php$ /our_singer.php? [r,l]
"?" @ end of target removes query string url.
Comments
Post a Comment