SEO Pages for Codeigniter |
[eluser]bennyhill[/eluser]
I want my user's profile pages indexed by search engines for SEO. The current URL i have is http://baseurl/controller/method/id where id is a user's id (number). Is this Search Engine friendly? Or do I have to rewrite it like: http://baseurl/controller/method/firstname-lastname or http://baseurl/controller/method/firstna...tname.html ?? Do I use htaccess, routes, or both? Do I need to dynamically generate meta tags as well? Also when a new user create an account, do I need to manually submit this new URL to google?
[eluser]kanjimaster[/eluser]
Yes, you would get a very slight SEO bump by including the name in the URL, but don't both with the html. You would get another slight SEO bump by dynamically generating a meta description that included the name. The URL would be best handled through routes. You would treat the name as a variable passed to the method as a parameter, which you use to lookup the user's profile. Though this would require that each combination of first and last name is unique. Rather than submitting each individual profile manually to Google, do you not have an XML sitemap to which to add it (which would help with other search engines too)? |
Welcome Guest, Not a member yet? Register Sign In |