× Here you can get community support related to ReDJ.

Unable to Redirect

  • Kanefire
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago - 11 years 8 months ago #828 by Kanefire
Unable to Redirect was created by Kanefire
After days of reading through rewrite rules and conditions and having no luck, I came across this extension and hoped for the best... but alas, not yet. Please help.

I had a j1.5 build in a subdirectory, deleted entire site, built new j2.5 site and placed in root.
None of the old pages are in existence.
Old pages were dynamic (no SEFs), new pages are static (SEFs)
I have disabled Joomla redirect plugin

I need

from
mysite.com/dir/index?filename

to

mysite.com/filename

In the "from url" field I place

/dir/index?filename

In the "to url" I place

(http://)www.mysite.com (without paranthesis)

I clear cache, refresh browser, but when I go to old url, I still get 404...
I have tried every option available.
Last edit: 11 years 8 months ago by Kanefire. Reason: fix url formatting

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #831 by admin
Replied by admin on topic Unable to Redirect
Hi,
maybe you just miss to escape special chars like "?" with a backslash "\" (From URL field is a regular expression). Try this:
From URL: ^/dir/index\?filename
To URL: http://{siteurl}/{queryfull}

Just a note. In your old URL "filename" is a query. If not, you should post a real full old URL example (just replace the real domain with a dummy one if you prefer).

Kind regards,
Luigi
The following user(s) said Thank You: Kanefire

Please Log in or Create an account to join the conversation.

  • Kanefire
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 7 months ago #839 by Kanefire
Replied by Kanefire on topic Unable to Redirect
Thanks kind sir, that was exactly the solution I needed...heading to the review section of the JED now!

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #844 by admin
Replied by admin on topic Unable to Redirect
You are too kind.

Best regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.161 seconds