On Sun, Jul 31, 2016 at 1:52 AM, Kamran Mir Hazar <firstname.lastname@example.org
I want to use the same database. If I change URL, it will effect the old
spip site as well. Right?
You are right.
But you don't have to use the same database, because your goal is to
redirect the old articles to their copy on the new site.
There are thousants of artcles in my SPIP site, Can I use 301 redirection
with a single line?
with .htaccess it's easy :
Redirect 301 /subdirectory/ http://www.domain.com/
when you change the url format, spip just adds another redirection.
On Sun, Jul 31, 2016 at 1:07 AM, Gilles Vincent <email@example.com>
of course it's better to change the url format (because you will start
from fresh on the new website). SPIP will manage that for you.
You can create 301 redirections with htaccess rules
(/sub/spip.php?article12 => /spip.php?article12).
And you can also customize the url management so that
/sub_directory/spip.php?article12 redirects to /Article-title.html
(it's better because you only use one 301, instead of 2 with htaccess +
proper url format)
On Sat, Jul 30, 2016 at 10:52 PM, Kamran Mir Hazar <
My SPIP site is in a sub-directory. In the root directory, I have now
the old static one designed by simple html. I want to move all old html
files to a sub-directory, and move SPIP site to the root.
If I move, search engines may not index all SPIP pages including
articles that are created since 2007. Of course, I will work with google
webmaster tools. But is there any solution from SPIP end to get indexed
faster? I’ll probably change URLs from spip.php?article12 to
Titre-de-l-article.html -Rubrique-.html or Titre-de-l-article Rubrique.
firstname.lastname@example.org - http://listes.rezo.net/mailman/listinfo/spip-en