how to make url search engine friendly making urls clean SEO
how to make url search engine friendly making urls clean SEO
Post Description: how to make url search engine friendly making urls clean seo Scripts
Post Tags:
This Post Has Been Viewed 372 Times Since Thu Feb 21, 2008 9:08 am Author
hostman with 5 replies
how to make url search engine friendly making urls clean SEO
Advertise On This Page
i frequently use this function to make mod rewrite urls, it removes special charracters from url so it can be seo friendly
function clean_url($text)
{
#### FUNCTION BY WWW.WEBUNE.COM AND WALLPAPERAMA.COM
## PLEASE DO NOT REMOVE THIS.. THANK YOU
$text=strtolower($text);
$code_entities_match = array( '"' ,'!' ,'@' ,'#' ,'$' ,'%' ,'^' ,'&' ,'*' ,'(' ,')' ,'+' ,'{' ,'}' ,'|' ,':' ,'"' ,'<' ,'>' ,'?' ,'[' ,']' ,'' ,';' ,"'" ,',' ,'.' ,'_' ,'/' ,'*' ,'+' ,'~' ,'`' ,'=' ,' ' ,'---' ,'--','--');
$code_entities_replace = array('' ,'-' ,'-' ,'' ,'' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'-' ,'-' ,'-','-');
$text = str_replace($code_entities_match, $code_entities_replace, $text);
return $text;
}
Links Related to : how to make url search engine friendly making urls clean SEO
Comments and replies About how to make url search engine friendly making urls clean SEO
::
1 ::
Reply #85354 Reply By
spammer On Mon Dec 08, 2008 1:03 pm
spammer:
hi
we are a delhi based seo company and providing seo services ( search engine
optimization) and link building for our clients. as it has become now quite popular
to outsource from india, we are also providing our services to several clients. our
aim is to provide a satisfactory work through our effort and to make our client's
site rank well in all the major search engines and to increase its link popularity,
page rank and sales too.
as seo is quite popular to increase one's sales through getting your site well rank
in the major search engines like google, myemail and msn. we always focus on return on
investment (roi) for our clients. we distinctly believe in customizing our search
engine optimization campaigns to provide high value to different audiences, market
niches keeping in mind the target audience psyche when searching on the internet. we
have the ultimate aim of increasing targeted traffic towards the client site. that's
what ultimately boosts sales or sells services. it also markets and creates brand
visibility for a site.
we also do link building. as linking is one of the most important factors in
determining your ranking with the search engines. high quality links from myemail
directory and the open directory matter most. instead of linking to thousands of
websites, we suggest linking to a few high quality links. we do not use any software
to find the links. instead we manually seek out linking partners and form strategic
alliances with them on your behalf.
we also provide our services for directory submission, article submission, mannual
extractions of email ids for link exchange or according to your business requirement
at the cheap rate you ever find and work done on time by human hand.
we customize our processes and reports based on clients' styles and guidelines. all
our work remains in the background and the end client never knows that the work has
been outsourced resulting in both savings and brand value for you and your company.
we wish you the best of luck and looking forward to a long and healthy business
relationship with you and your company.if you have any query, you can mail me
directly. we are always in service of you.
thanking you
::
2 ::
Reply #103242 Reply By
nirmal On Thu May 14, 2009 3:23 am
nirmal:
i want to ask one thing : we have an already developed site in php and want to make it seo friendly. so where should i make changes to make urls seo friendly? actully i am totally new to seo. so i want to know it in steps.
::
3 ::
Reply #103243 Reply By
nirmal On Thu May 14, 2009 3:26 am
nirmal:
u have given this function function clean_url($text)
{
#### function by webune and wallpaperama
## please do not remove this.. thank you
$text=strtolower($text); = array( '"' ,'!' ,' at ' ,'#' ,'$' ,'%' ,'^' ,'&' ,'*' ,'(' ,')' ,'+' ,'{' ,'}' ,'|' ,':' ,'"' ,'<' ,'>' ,'?' ,'[' ,']' ,'' ,';' ,"'" ,',' ,'.' ,'_' ,'/' ,'*' ,'+' ,'~' ,'`' ,'=' ,' ' ,'---' ,'--','--');
$code_entities_ = array('' ,'-' ,'-' ,'' ,'' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'-' ,'-' ,'-','-');
$text = str_replace($code_entities_match, $code_entities_replace, $text);
return $text;
}
but tell me where and in which file to add this function.
::
4 ::
Reply #103244 Reply By
nirmal On Thu May 14, 2009 3:56 am
nirmal:
i want to ask one thing : we have an already developed site in php and want to make it seo friendly. so where should i make changes to make urls seo friendly? actully i am totally new to seo. so i want to know it in steps.
::
5 ::
Reply #103245 Reply By
nirmal On Thu May 14, 2009 3:57 am
nirmal:
u have given this function function clean_url($text)
{
#### function by webune and wallpaperama
## please do not remove this.. thank you
$text=strtolower($text); = array( '"' ,'!' ,' at ' ,'#' ,'$' ,'%' ,'^' ,'&' ,'*' ,'(' ,')' ,'+' ,'{' ,'}' ,'|' ,':' ,'"' ,'<' ,'>' ,'?' ,'[' ,']' ,'' ,';' ,"'" ,',' ,'.' ,'_' ,'/' ,'*' ,'+' ,'~' ,'`' ,'=' ,' ' ,'---' ,'--','--');
$code_entities_ = array('' ,'-' ,'-' ,'' ,'' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'-' ,'-' ,'-','-');
$text = str_replace($code_entities_match, $code_entities_replace, $text);
return $text;
}
but tell me where and in which file to add this function.