How to redirect traffic for a category URL

Discuss Search Engine Optimization in relation to Joomla! 2.5. This forum will also have discussions on SEF/SEO Joomla! 2.5 extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
twotimes
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Oct 30, 2014 4:23 pm

How to redirect traffic for a category URL

Post by twotimes » Thu Oct 30, 2014 4:32 pm

I have a url that looks like: www.mysite.com/category1/category2/xx.html

If someone manipulates the url and try to open www.mysite.com/category1/category2/ joomla deliveres a page that does not look good.

Is there any way I can redirect someone trying to open the www.mysite.com/category1/category2/ URL to lets say www.mysite.com?

Tried doing it manually in .htacces but it gets the site into a andless redirect loop. Also have sh404 installed but does not know how to set it up correct there.

Any help is appreciated!

/ralf

imarklee
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 205
Joined: Wed Aug 29, 2012 7:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: How to redirect traffic for a category URL

Post by imarklee » Fri Oct 31, 2014 4:35 pm

I believe you can setup custom redirects in SH404 so that when someone tries to access /category1/category2 , you could redirect it to a different URL.
Lead Developer,
https://stackideas.com

twotimes
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Oct 30, 2014 4:23 pm

Re: How to redirect traffic for a category URL

Post by twotimes » Sat Nov 01, 2014 3:31 pm

Yes, probably. The only problem is that I don't know how to do it :-)

Does anyone here have a clue?

/ralf

acabiya
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Thu Jul 28, 2011 11:09 pm

Re: How to redirect traffic for a category URL

Post by acabiya » Sun Nov 02, 2014 5:16 am

I'm not sure of what you want, BUT the REDIRECT command I know is:

<META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://www.yoursite.com/FileName/">

semijoomla
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Fri Oct 31, 2014 10:54 pm

Re: How to redirect traffic for a category URL

Post by semijoomla » Sun Nov 02, 2014 3:12 pm

acabiya wrote:I'm not sure of what you want, BUT the REDIRECT command I know is:

<META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://www.yoursite.com/FileName/">
Hello
This is not a good idea for this subject,
The best way is using SEO component like SH404 as "imarklee" mentioned
http://www.pagerank.ae | SEO Analyser

User avatar
maxa
Joomla! Guru
Joomla! Guru
Posts: 557
Joined: Sat Aug 27, 2005 11:07 am
Location: Sweden
Contact:

Re: How to redirect traffic for a category URL

Post by maxa » Tue Nov 04, 2014 7:04 am


twotimes
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Oct 30, 2014 4:23 pm

Re: How to redirect traffic for a category URL

Post by twotimes » Wed Nov 05, 2014 12:49 pm

Thx for the input maxa - will do it with a custom 404 page

Hiep181
I've been banned!
Posts: 38
Joined: Sun Nov 09, 2014 5:51 am
Contact:

Re: How to redirect traffic for a category URL

Post by Hiep181 » Wed Nov 12, 2014 12:44 am



Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 2.5”