Keep pages accessible without index.php?
Keep pages accessible without index.php?
Is it possible to keep cmsimple pages online when index.php is gone (maybe renaming to something else)?
Client wants to switch to wordpress now, but in that case the good Google results of the +8yrs old cmsimple site will be lost.
Client wants to switch to wordpress now, but in that case the good Google results of the +8yrs old cmsimple site will be lost.
Re: Keep pages accessible without index.php?
XH doesn't care what the start page is called. "start.php" works just as well.
The only problem is, if the index.php is linked somewhere in the template or in the content.
But the measure above will not help you. The Wordpress pages will have different addresses in any case - and thus they are "new" pages and content for the search engines in any case.
The only possibility:
Use .htaccess to redirect all old page addresses to the new ones (301).
Re: Keep pages accessible without index.php?
tested as follows:
index.php renamed to start.php
changed every 'index.php' to 'start.php' in the software, content, templates
This works, to a certain extent..:
http://walhalles.be/2019XH/start.php -> is ok
http://walhalles.be/2019XH -> is no go...:
"Forbidden
You don't have permission to access /2019XH/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."
So, all the pages are accessible if 'start.php' is added to the url
http://walhalles.be/2019XH/start.php?Testpage this works
http://walhalles.be/2019XH/?Testpage nope
This means that all 'old' url's, that google has indexed will no longer work as soon as a new Wordpress site goes online (that one will of course need an index.php).
Where are the good old 'www.domain.com/welcome.html' pages.. In that case there would be no problem at all
index.php renamed to start.php
changed every 'index.php' to 'start.php' in the software, content, templates
This works, to a certain extent..:
http://walhalles.be/2019XH/start.php -> is ok
http://walhalles.be/2019XH -> is no go...:
"Forbidden
You don't have permission to access /2019XH/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."
So, all the pages are accessible if 'start.php' is added to the url
http://walhalles.be/2019XH/start.php?Testpage this works
http://walhalles.be/2019XH/?Testpage nope
This means that all 'old' url's, that google has indexed will no longer work as soon as a new Wordpress site goes online (that one will of course need an index.php).
Where are the good old 'www.domain.com/welcome.html' pages.. In that case there would be no problem at all
Re: Keep pages accessible without index.php?
No filename means index.php according to your server settings. But index.php belongs to your wp installation. Do a rewrite in your .htaccess for all the old addresses.
Re: Keep pages accessible without index.php?
Sounds good, but I have no idea on how to do that...
Re: Keep pages accessible without index.php?
It is exactly as manu wrote and as I wrote above.
There is no point in leaving the old CMS in place. If the content is still the same, duplicate content would be created and both sites (new and old) would be downgraded.
Redirect all old addresses with .htaccess.
So for example:
www.walhalles.be/2019XH/start.php?Testpage
will become
www.walhalles.be/Testpage (status code 301).
Search (Google) for "RewriteRule ".
We will not give you a universal guide how to switch from CMSimple_XH to Wordpress
There is no point in leaving the old CMS in place. If the content is still the same, duplicate content would be created and both sites (new and old) would be downgraded.
Redirect all old addresses with .htaccess.
So for example:
www.walhalles.be/2019XH/start.php?Testpage
will become
www.walhalles.be/Testpage (status code 301).
Search (Google) for "RewriteRule ".
We will not give you a universal guide how to switch from CMSimple_XH to Wordpress
Re: Keep pages accessible without index.php?
Of course, I understand.
Thanks for the info, much appreciated.
Thanks for the info, much appreciated.
Re: Keep pages accessible without index.php?
Sorry - a mistake has crept in here.frase wrote: ↑Fri Mar 13, 2020 4:28 pmSo for example:
www.walhalles.be/2019XH/start.php?Testpage
will become
www.walhalles.be/Testpage (status code 301).
The old address must of course be exactly the address that Google has already indexed.
Example:
www.walhalles.be/?Testpage
will become
www.walhalles.be/Testpage (status code 301)
But this only works if the new pages really already exist.
Re: Keep pages accessible without index.php?
Hallo,
301 Weiterleitung mit Parametern
In Jörgs Forum somebody had a similar question, but of course in German:Nicky wrote:Sounds good, but I have no idea on how to do that...
301 Weiterleitung mit Parametern
The old adress has to answer with status code 301, the new one with status code 200.frase wrote:Sorry - a mistake has crept in here ...