We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Module: Redirect Helper Lite

Development and Programming

gaweb's avatar
gaweb
77 posts
16 years ago
gaweb's avatar gaweb

Actually I just tested it. I have not needed any redirect from my first weblog yet. And even though I select an entry it does not auto fill the destination field.

I use a lot of add-ons, I will try disabling some later today and see if that changes anything.

Thanks

Mike

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
16 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team
And even though I select an entry it does not auto fill the destination field.

It sounds like the javascript isn’t being called properly. Are the stylesheets loading? (You can compare what you see to the screenshots on this page to confirm)

       
gaweb's avatar
gaweb
77 posts
16 years ago
gaweb's avatar gaweb

Well this may have leaded me to the problem. When I viewed the pages source I found this in the header. This is from a page to add an redirect entry. Also my screen has more areas then you screen shot from your site.

<link rel='stylesheet' type='text/css' media='screen' href='http://mydomain.comsystem/modules/redirect_helper_lite/views/css/redirect_helper.css' />

[removed][removed]

When the links should read 'http://mydomain.com/system/modules/redirect……

I have removed my Index.php from my site and if you notice my system directory is merged with my domain name.

I will look into this, I know I had remove the “/” because the EE

{site_url}

was acting wrong, may need to find another solution for that problem.

Also I did try to disable some add-ons last night with no luck, but this post today should be my problem.

Will let you know.

Thanks Mike

       
gaweb's avatar
gaweb
77 posts
16 years ago
gaweb's avatar gaweb

So I removed the “/” awhile ago and so far I cannot find the reason why I did. Now that I added it back I just had to remove it from some of my templates. So far all my pages work.

My screen now looks like yours while adding new redirect. But I still cannot select any entry and the 2nd drop down does not change when I select another weblog.

Your scripts and such in the headers now point to the correct location.

See attached, the “sales” weblog is the 2nd weblog on the list, but “entries” drop down still shows my first weblogs entries. Also no matter what I select nothing populates the field.

Thanks

Mike

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
16 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

Mike

[edited my original message]

That’s quite odd. I can assist in investigating the problem but probably only by logging in myself and testing some things in your CP if you’re comfortable with that. Shoot me a private message if you’re game.

       
Blue Coast Web's avatar
Blue Coast Web
32 posts
16 years ago
Blue Coast Web's avatar Blue Coast Web

Just an FYI Erik, your current ZIP folder is broken in terms of structure. The Language folder is inside the Modules folder which makes the whole shebang crash when it’s enabled on the site.

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
16 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team
Just an FYI Erik, your current ZIP folder is broken in terms of structure. The Language folder is inside the Modules folder which makes the whole shebang crash when it’s enabled on the site.

Thanks for the heads up bcw, but….

Not exactly. The module requires version 1.6.8 of ExpressionEngine in which the language folder can comfortable reside in the module’s directory.

http://erikreagan.com/projects/docs/redirect-helper-lite/

As of ExpressionEngine 1.6.8, you can use a local language folder for your language resources, making the module easier to maintain and update.

http://expressionengine.com/docs/development/tutorial.html#language_file

       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
16 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

Erik,

Yeah, this is REALLY weird. Redirect Helper Lite was working fine until a couple days ago, and as far as i know nothing changed on the server. I’ve tried selectively disabling some of the extensions we’ve got installed, and it doesn’t seem to be anything not playing nicely…

What happens is, you type in a source and destination, as normal (or use the destination picker), and it all looks like it submits okay – but then once you submit it, all the slashes in the destination path get removed. Not in the source path, though!

See attached PNG for a screenshot of what the display looks like after a submission. (Destination should be /explore/children/sunday-school/, and that’s what got typed in.) And when you click Edit, all the slashes are indeed gone (that is, it really has stripped them in the database, not just in the display).

Redirecting “works”, in that it does in fact redirect, but of course it goes to the wrong place because there’s no slashes!

       
James Smith's avatar
James Smith
259 posts
15 years ago
James Smith's avatar James Smith

Hi Erik… Will your pro module work on php 5.1.6? I’m on Red Hat Enterprise Linux here and upgrading to php 5.2 is not a feasible option…

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
15 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team
Hi Erik… Will your pro module work on php 5.1.6? I’m on Red Hat Enterprise Linux here and upgrading to php 5.2 is not a feasible option…

I’m not 100% sure so I’ll have to check function versioning in PHP and give it a test myself.

Do you have a test environment with 5.1.6 that you could try it out on? I probably can’t actually test this until tomorrow due to my schedule today.

If you can’t test it I will certainly do so and let you know. 😊

       
James Smith's avatar
James Smith
259 posts
15 years ago
James Smith's avatar James Smith

I’ve tested lite and it won’t work for me. Not getting any error messages, just no redirection ocurring… I simply assumed this was because the stated requirement of php 5.2

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
15 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

Ah I see. What version of the module are you running and in what version of EE?

       
James Smith's avatar
James Smith
259 posts
15 years ago
James Smith's avatar James Smith

Redirect Helper 1.1.2 EE 1.6.9

…Also running MSM 1.1

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
15 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

Okay it may be the 1.6.9 part. I haven’t tested it on the latest version of EE. I’ll let you know what I find. Thanks!

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
15 years ago
Sean C. Smith's avatar Sean C. Smith

Erik,

I’ve got this working for the most part. However I’m having trouble figuring out how to get it to work with all of my blog entries. Is there any way to add a wildcard to the string to match and return?

for example (url_title would be the wild card):

domain.com/blog/site/blog/comments/url_title/

should redirect to

domain.com/blog/comments/url_title

I have dozens of blog entries but a specific example from my mint stats (a popular entry)

http://createsean.com/blog/site/blog/comments/texter-pack-for-expressionengine/ should redirect to http://createsean.com/blog/comments/texter-pack-for-expressionengine/

       
1 2 3 4 5

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.