additional page 301 redirecting to original page
Permalink
I have a problem which drives me crazy...
I am building a website with lots of pages. The old website was build in Wordpress and there are more than 3000 pages... And most of them are indexed by Google. So I thought it would be nice programmatically set all these pages in the database and add the old url's as additional url's. So far so good. Placing these url's is no problem. But when calling an additional url I always get a 404 page in stead of a redirecting to the original page.
As an example: the urlhttp://www.domain.com/page is the original page.
The old Wordpress url is:http://www.domain.com/category/module/?c=2&name=question...
When printing the cID of the asked page, it will show the homepage cID (1). This is because of the ? in the asked url. So, it seems to be that Concrete additional pages are ignored when having variables in the url... Asking the page shows /category/module/ and that page is not found in the database...
I have pretty url's enabled and it's important to redirect the additional pages to their originals. So does anybody know a solution on this problem?
I am building a website with lots of pages. The old website was build in Wordpress and there are more than 3000 pages... And most of them are indexed by Google. So I thought it would be nice programmatically set all these pages in the database and add the old url's as additional url's. So far so good. Placing these url's is no problem. But when calling an additional url I always get a 404 page in stead of a redirecting to the original page.
As an example: the urlhttp://www.domain.com/page is the original page.
The old Wordpress url is:http://www.domain.com/category/module/?c=2&name=question...
When printing the cID of the asked page, it will show the homepage cID (1). This is because of the ? in the asked url. So, it seems to be that Concrete additional pages are ignored when having variables in the url... Asking the page shows /category/module/ and that page is not found in the database...
I have pretty url's enabled and it's important to redirect the additional pages to their originals. So does anybody know a solution on this problem?
Thanks for your response! Yes, I have seen this add-on but adding more than 3000 pages by hand... I don't think so. When an add-on can do the trick, there must be another way to do the trick...
Does the URL re-mapping follow a pattern? What I mean, is could you set up an editor macro or a spreadsheet formula that, given the original list, will list alongside it the new list.
The URL's are get broken on the "?". When I remove the "?", the redirect goes fine... My point is that it is weird there can be added additional URL's with vars, but you can't use them... When this worked out this should be a very simple solution for (programmatically) redirecting old websites url's. What maybe can do the trick is RewriteRule in htaccess. But that's not my favorite...
http://www.concrete5.org/marketplace/addons/seo-301-redirects/...