Sadly I do not understand how to setup "simple"...
-
webguy
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
10 years 11 months ago #2374
by webguy
Sorry for this post, but I am just not understanding how to setup "Simple" redirects.
I have an old asp site, I want to redirect certain addresses based on the folder the pages lived in like...
www.xxx.com.au/discussion_forums/
to
www.xxx.com.au/index.php/forum/index.html
And so on, I have about 10 such redirects I need to setup.
Basically, it does not matter what came after the folder/ part, if they were in that folder, I'll send them to a single redirect url.
Cheers
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 11 months ago #2375
by admin
Hi,
do not worry, I'm here to help you. Try this rule:
From URL: ^/discussion_forums/
To URL: http://{siteurl}/index.php/forum/index.html
Request only: true (checked)
The ^ means "start with" and when refered to "request only" will match any URL like:
www.xxx.com.au/discussion_forums/
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
webguy
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
10 years 11 months ago #2376
by webguy
Hi
Thanks, I tried that...
Then tried to go to one of the old main pages...
www.xxx.com.au/discussion_forums/active.asp
I just get a generic: The requested URL /discussion_forums/active.asp was not found on this server.
The plugin is active.
Case sensitive is: off
Request Only: On
Decode: off
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 11 months ago #2377
by admin
The error page that you get comes from Apache. To allow Joomla (and ReDJ) to manage these URLs you should say to Apache to pass errors to Joomla. To do this just add this line at the end of your .htaccess file:
If you do not have .htaccess just copy htaccess.txt from Joomla and rename it to ".htaccess".
The following user(s) said Thank You: webguy
Please Log in or Create an account to join the conversation.
-
webguy
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
10 years 11 months ago #2382
by webguy
Thanks heaps, that did it, tomorrow I will configure the other rules I need, but this one will take care of 99% of the errors.
Cheers
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 11 months ago #2383
by admin
Great news.
If you need more help, just advise.
Kind regards,
Luigi
The following user(s) said Thank You: webguy
Please Log in or Create an account to join the conversation.
Time to create page: 0.128 seconds