Welcome Guest, Not a member yet? Register   Sign In
Controller VS Seo
#2

[eluser]CroNiX[/eluser]
If you have a route like
Code:
$route['contact'] = 'site/contact';
Then make all of your links just point to "contact" for the url, and not "site/contact".
If you have both kinds of links on your site, then they will both be cataloged. Google will only catalog links that are actually on your site. If you never link to "/site/contact", then google will never know about it.

Routes don't "redirect". They don't issue a 301 redirect header to tell the browser that the requested resource has permanently changed locations. They just take the requested url and execute something other than "controller/method/params" like how CI handles them by default.

In the meantime, yes I'd set up a 301 redirect in your htaccess.
Code:
Redirect 301 /site/contact http://yoursite.com/contact


Messages In This Thread
Controller VS Seo - by El Forum - 02-01-2014, 06:16 AM
Controller VS Seo - by El Forum - 02-01-2014, 12:13 PM
Controller VS Seo - by El Forum - 02-01-2014, 12:16 PM
Controller VS Seo - by El Forum - 02-01-2014, 01:04 PM
Controller VS Seo - by El Forum - 02-02-2014, 05:56 AM
Controller VS Seo - by El Forum - 02-02-2014, 07:15 AM
Controller VS Seo - by El Forum - 02-03-2014, 04:29 AM
Controller VS Seo - by El Forum - 02-03-2014, 02:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB