I had an article I published; I decided I wanted it to be a forum post instead, so I copied it and made a new forum post, and deleted the article.
I then decided I wanted to make the old article's URL redirect to the new forum article, so I created the usual Apache redirect in my .htaccess file. It doesn't work, because the redirected url gets this "routestring" language appended to it.
Since these are really long URLs, this is kinda hard to read, but here's the .htaccess:
When you click on a link to go to the OLD article, it does not forward to the forum post as it should, but returns "Invalid Page URL. If this is an error and the page should exist, please contact the system administrator and tell them how you got this message."
Here is the actual URL that gets sent to the browser. It is the correct forum post URL, except it has this ?routestring=xxxx (the previous URL) appended to it, which makes it malfunction.
I assume that VB is adding this, but why would that be and is there anything I can do to correct this?
I then decided I wanted to make the old article's URL redirect to the new forum article, so I created the usual Apache redirect in my .htaccess file. It doesn't work, because the redirected url gets this "routestring" language appended to it.
Since these are really long URLs, this is kinda hard to read, but here's the .htaccess:
Code:
Redirect permanent /vb/news-and-articles/news/222-video-sept-7th-open-meeting-on-removal-of-a-director https://mydomain.com/vb/forum/the-preserve-community/hoa-business/223-video-recording-of-sept-7th-2018-open-meeting
Here is the actual URL that gets sent to the browser. It is the correct forum post URL, except it has this ?routestring=xxxx (the previous URL) appended to it, which makes it malfunction.
Code:
https://mydomain.com/vb/forum/the-preserve-community/hoa-business/223-video-recording-of-sept-7th-2018-open-meeting[COLOR=#FF0000]?routestring=news-and-articles/news/222-video-sept-7th-open-meeting-on-removal-of-a-director[/COLOR]
I assume that VB is adding this, but why would that be and is there anything I can do to correct this?
Comment