Peruttu

Troubleshoot and fix sh404SEF/Joomla/Virtuemart install ASAP

Joomla 1.5

Virtuemart

I initially had joomla's SEO settings set all to "yes". What this gave me was this URL structure

/component/virtuemart/?page=shop.browse&category_id=72

This is what I have currently indexed in the search engines, we found sh404SEF and of course wanted better URL's for virtuemart so we installed and have it working. Only problem is that sh404SEF doesn't know now to redirect

/component/virtuemart/?page=shop.browse&category_id=72

It knows how to redirect the URLs that are created when Joomla's SEO settings are set all to "no".

If I turn off Joomla SEO's setings all to "no" then I see it creates URLs of this structure

/[url removed, login to view];category_id=72&option=com_virtuemart&Itemid=1

Now this structure redirects internally correctly some how by sh404SEF properly to the correct SEF via 301 redirect. I'm guess that sh404SEF does this either in a database of flatfile because it doesn't add anything to the .htaccess file, so I'm not sure how it does this all I know is it works. But the problem is the URL structure that has been indexed by the search engines is not the one sh404SEF knows how to redirect.

So any visitors from the search engines get a 404 page on our site.

Now I know that I can create "alias" in sh404SEF, and I can manually go in a redirect 404's but we have a couple thousand URLs and I really things that would be silly to even try doing this manually.

So I'm trying to use .htaccess to fix things I got so far as creating a double 301 redirect, but that is bad for the search engines, I had to do a double because I don't know how to make a redirect with the keywords in the URL.

So far I have this in .htaccess

#This works but caues double 301 redirection, BAD

RewriteCond %{QUERY_STRING} ^page=shop\.browse\&category_id=([0-9]*)$

RewriteRule ^component/virtuemart/$ /[url removed, login to view];category_id=%1&option=com_virtuemart&Itemid=1 [R=301,L,NC]

So I thought maybe if I can do a mod_rewrite without a redirection from our indexed URLs to what sh404SEF is expecting then it will work right then, so I tried

#This does a redirect but do the wrong address I think it is triggering the rules below in the 3d party SEF section

#/[url removed, login to view]

RewriteCond %{QUERY_STRING} ^page=shop\.browse\&category_id=([0-9]*)$

RewriteRule ^component/virtuemart/$ /[url removed, login to view];category_id=%1&option=com_virtuemart&Itemid=1 [R,L]

But it doesn't work and sends you to /[url removed, login to view]

the home page which is obviously wrong.

All we want to do is redirect

/component/virtuemart/?page=shop.browse&category_id=72

Taidot: Joomla, PHP

Näytä lisää: sh404sef fix redirect, virtuemart wrong redirect, work from home that really works, work from home rules, work from home nc, work from home in nc, what is the fix, shop for joomla, l want to create a site, i will fix it, how do you fix it, get found now, fix home page, 404 works, sh404sef category_id, turn sef virtuemart, sh404sef virtuemart install, sh404sef virtuemart browse, virtuemart browse page 404, joomla htaccess sh404sef virtuemart, virtuemart sh404sef 301, sh404sef virtuemart wrong url, virtuemart better sh404sef, sh404sef redirect virtuemart, problem sh404sef virtuemart

Tietoa työnantajasta:
( 13 arvostelua ) E, United States

Projektin tunnus: #515606

5 freelanceria on tarjonnut keskimäärin 146 $ tähän työhön

jagejobs

I can Fix it, let's start.

100 $ USD 2 päivässä
(93 arvostelua)
6.8
joomore

I'm interested in this project. Let me do it to you.

80 $ USD 2 päivässä
(35 arvostelua)
4.8
sisoft

I am Prakash from Savodaya Institute of Software ([url removed, login to view]) India. We are powered by a combination of domain expertise, process skills and superior technology, to offer a predictable process outsourcing experience Lisää

250 $ USD 5 päivässä
(0 arvostelua)
0.0
aps158

Dear Madam/Sir, We have 10 Years of excellence in job providing for IT dedicated solutions for clients all over the globe that understand communicating on the Internet means more than having a website. We have a team Lisää

150 $ USD 5 päivässä
(0 arvostelua)
0.0
vagarwal

Hello, We area team of 5 person having more than 5+ year of exp in php, cakephp,joomla,magento,template designing,PSD,CSS and mysql Here are some of the recent projects undertaken by us recently. http://nons Lisää

150 $ USD 5 päivässä
(0 arvostelua)
0.0