301 redirectmatch
-
I think I'm starting to loss my mind.
I have worked with regex before with very little problems how with my redirects nothing appears to be working. A little guidance is needed!
The Low down
I have a site with Joomla CMS backend.
The site is undergoing and SEO overhaul
I was simple hoping to use a 301 redirect o these old pages that are now a causing 404's
The addresses
/index.php?option=com_content&view=article&id=46&Itemid=53_blank
/shop/product.php?id_product=11
I have tried the following redirects but no avail
RedirectMatch 301 ^/shop/product.php?id_product=11$ http://www.nomitang.com/index.php/en/vm_getaway_w this does not work at all
if I remove the ?.....ending then I can simply redirect the product page but this is not what we need.
Why does RedirectMatch not register anything after the "?"?
I also tried this
RewriteCond %{HTTP_HOST} ?option=com_content&view=article&id=46&Itemid=53_blank [NC]
RewriteRule ^(.*)$ http://www.nomitang.com/ [R=301,L]But this also didn't work.
Please could someone tell me how to redirect these url's and how to deal with the extrension
Thanks
Stefan
-
Hi
I'm actually using 2.5.
I will take a look at the module but for my own piece of mind, I would like to understand how to use Redirectmatch\RewriteRule better.
Thanks
Stefan
-
Hey Stefan,
You didn’t mentioned the version of Joomla you are using at the moment so it’s difficult to come up with the exact solution but why don’t you use URL redirection module
Check this out and this might help! http://www.seoeducation.in/how-to-redirect-url%E2%80%99s-in-joomla-with-sh404sef-module
Thanks!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
What to do with old content after 301 redirect
I'm going through all our blog and FAQ pages to see which ones are performing well and which ones are competing with one another. Basically doing an SEO content clean up. Is there any SEO benefit to keeping the page published vs trashing it after you apply a 301 redirect to a better performing page?
Technical SEO | | LindsayE0 -
301 redirect homepage question
Hi If i have a homepage which is available at both www.homepage.com and www.homepage.com// should i 301 the // version to the first version. Im curious as to whether slashes are taking into consideration Thanks in advance
Technical SEO | | TheZenAgency0 -
Unique URLs for each local office 301 to parent site
I have a dentist who has multiple locations and a unique domain for each location. www.DentalCareofLacey.com www.DentalCareofSumner.com www.DentalCareofVashon.com The current plan is to setup 301s to redirect to the parent site (www.atlasdentistry.com/locations/lacey). Would there be any negative impact if we continue to purchase a unique domain for each branch office and just set it as a 301 to the parent site? Does having too many 301 redirects look too spammy to Google?
Technical SEO | | marlattts0 -
Is it OK to 301 a .jpg (image) to a .html (page) ?
I have some old images that are no longer used, but they have a few decent external links pointing to them. Can I 301 them to the page they used to be on? And if yes, will their link juice flow to the page?
Technical SEO | | GregB1230 -
Matt Cutts explains: 301 linkjuice loss is a Myth!!
Hey Guys, Finally got an answer i was looking for about 301's and link juice (pagerank) loss. Matt Cutts posted the following video on Youtube yesterday confirming there is no linkjuice (pagerank) loss from a 301 redirect. Check out Matt Cutts video and discuss the concequences and tactics here 🙂 http://www.youtube.com/watch?feature=player_embedded&v=Filv4pP-1nw watch?feature=player_embedded&v=Filv4pP-1nw
Technical SEO | | PrizeWize1 -
301 Redirect How Long until the juice passes through to new site
Hi Guys, Following on from a question i asked last week in regard to a 301 http://www.seomoz.org/q/301-redirect-have-no-ranking I was thinking that i had some kind of issue on the site, although i have gone over it with a fine tooth comb i cannot find any issue's and from the amount of reads the thread has had im sure if there was something obvious it would have been pointed out. So i am quite confident the 301 from site A to site B is fine and working as intended, so my question is how long should it take until the juice is passed From site A to Site B as its 9 weeks now and still down 85% on traffic and even text for my home page if copied into the search bar don't bring up my site Bing is fine and did not see any real traffic drops but Google is not giving me back the rankings i had prior Whenever i have done a 301 before the rankings pretty steady and i see no real loss in rankings but this time ... painful all changes in WMT made
Technical SEO | | kellymandingo
Canonical tag implemented
all Pages 301 and correct 200 response from the targeted page
Sitemap Updated
Many Links Changed from Old site to new (including DMOZ)
no Robots text Blocking directory's
Google crawling freely and regularly The strange thing is New content is indexed immediately and ranks easily, I added a page for my service in my local area and went straight to position 5 in Google however old existing content wont move, I tracked 150 keywords only 4 are top 75 Don't know what else to do so any advice would be much appreciated PS site is around 17k pages Paul0 -
Linux Server recognizing ASP Pages (301)
Greeting, I am in the process of 301 a group of pages on our site. We are thinking about switching from ASP to a Linux Server. Question 1. - Would anyone have any information of creating a Sever Spoof so that the Linux Server will recognize asp pages for a 301? Question 2 - How will this style of 301 Effect SEO rankings? Thanks, Tony
Technical SEO | | Tonyd230 -
301 redirects and OSE
We run a blog/video real estate site (yochicago.com) as one of the venues for sponsored content for our clients looking for off-page SEO and inbound links. I'm working with a client who we've linked to a handful of times in the last few weeks, but I'm not seeing any external links from our site on PRO/OSE. Come to find that our writer has been linking to http://clientsite.com, instead of http://www.clientsite.com, which is the canonical site. I wouldn't have thought that this would make a difference, and about an hour of web research seems to confirm that it shouldn't make a difference, save for losing a little bit of SEO credit. What am I missing? Any input would be appreciated.
Technical SEO | | mikescotty0