Welcome Guest, Not a member yet? Register   Sign In
Migrating a .HTML
#1

[eluser]blackdogfnq[/eluser]
Hi All,

I am migrating a very large (lots of html files) site over to a new Database driven CI setup.

Currently there are 280 files indexed, I have been asked to setup a mechanism to smoothly migrate the old site urls which have been indexed by Google over to the new ones.

The new urls are structured in the following way.

http://www.domain.com/?controller/variables

so my question is... how can I do it with CI ?

I am happy to setup a big list of old urls with the new location.. but how would I do this?

Many thanks!
BD
#2

[eluser]LuckyFella73[/eluser]
have a look at the user guide / URL section:
http://ellislab.com/codeigniter/user-gui.../urls.html

It is explained very well and can't be repeated in less
words via a quick post ..

btw:
Quote:The new urls are structured in the following way.

http://www.domain.com/?controller/variables

The structure more like:
http://www.domain.com/controller/method/[optional_additional_data]
#3

[eluser]Michael Wales[/eluser]
301 Redirect
#4

[eluser]blackdogfnq[/eluser]
Thanks Michael I have had a read up on that and think it is the best way forward.




Theme © iAndrew 2016 - Forum software by © MyBB