Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

redirect 301

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi - I need to redirect www.swansea9lines.com to www.s9lecotrams.com.

I'm using the following command in .htaccess:
Redirect 301 / www.s9lecotrams.com

It works fine if I key in only the swansea9lines domain, but I need a wild card so that requests for ANY page on the old domain are redirected to the new one.

I've found several examples of how to do this via Google, but I must be getting the syntax wrong because they are not working for me.

I've even tried the .htaccess generator with no luck.

Can anybody out there point me in the right direction?

Thanks

Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Ian,

Are the urls the same apart from the domain?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul - no, the sites are completely different...
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Paul - I've managed to do it be redirecting each of the pages individually.

Not too painful, and there weren't many of them:

Redirect 301 /home.html www.s9lecotrams.com/index.php

Redirect 301 /web_links_nav/aims.html www.s9lecotrams.com/index.php

etc…

Thanks

Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Ian

Just see your post, and you may have solved this already, but here is an article see from our main host which covers the main points of moving domain much better than me dribbling on!

www.tsohost.com/blog/how-to-switch-domain-name-without-damaging-seo

It has a few helpful hints and tips.

I hope it helps with your Welsh site transfer.

Regards Ian
  • iafdesign's Avatar
  • iafdesign
  • LIfetime Developer - Big Bamboo
  • 393 posts
  • 153 Thanks
  • Karma: 58
The administrator has disabled public write access.
Hi Ian - thanks for this.

Yup - solved it, as above, but in a heath robinson sort of way.

Thanks for the link, I'll check it out anyway, and I'm sure it will help me sometime, if not others.

Ah, the Welsh sites! The trouble with working for a charity is they send more and more work my way, none of which I can charge for :-)

Best wishes

Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Thanks Ians :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Ian,

I work with charities as well - they are charities but I'm not - I myself do charge for some work that I do

It may be below market rate sometimes but some charities do pay their own staff very well indeed

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul

I should stop whinging and get on with it!

These guys are great, and trying to help the community. I really enjoy helping them :-)

Sometime though, especially when they change their minds…

Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
And they have absolutely NO money...
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
ah that is fair enough in that case :)

I'm working on a dog charity site in Spain - run by entirely by volunteers and choosing a domain name is a nightmare :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
We too like to help out, and get involved in quite a few "not-for-profits/charity/community" projects, and many operate with little to no money. It is a privilege to live and work in our area, so try to give back.Trying to avoid scope creep is a challenge with these types of setup and managing volunteers is sometimes like herding cats! I had a discussion only this week about how we could do this better.

Well done both, it is good you can share the Joomla love, what is often straight forward for us is daunting for some! What goes around comes around.

I know a bit about the train projects, being based in Wales and heavily involved in tourism, less familiar with Spanish dogs though....
  • iafdesign's Avatar
  • iafdesign
  • LIfetime Developer - Big Bamboo
  • 393 posts
  • 153 Thanks
  • Karma: 58
The administrator has disabled public write access.
:-)
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Yep herding cats is spot on

I've hired and equipped a member of staff to handle some of the copy (my mum with a new laptop)

So hopefully that should help on that front

I've recently adopted 2 dogs from Spain (another one on the way) so I'm trying to give back

Good luck everybody with their charity projects :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
one of our not-for-profits has a wood fired pizza oven
.... so there is some return of investment!!!!
  • iafdesign's Avatar
  • iafdesign
  • LIfetime Developer - Big Bamboo
  • 393 posts
  • 153 Thanks
  • Karma: 58
The administrator has disabled public write access.
Envy :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers