What is McJiffy EASy good for?
- Adding a Store to Your Site
- Domain Parking
- Stand Alone Site
What is McJiffy EASy good for?
|
How much does McJiffy EASy Cost?Absolutely nothing. McJiffy is released as an open source project under the LGPL license. |
What if I have questions about McJiffy EASy?The easiest way to get your questions answered is to use the McJiffy Forum. There you can ask question and hopefully get answers. |
NavigationActive forum topicsUser login |
re-write rule so multiple versions of the same keyword aren't indexed
Submitted by rquill on Sat, 08/16/2008 - 23:48.
I don't know how easy this is but it would be nice if there were a way so that all urls were written to lower case so you could still use capital first letters for the main keywords. I have the main keywords with a capital first letter so they look better in a menu but I've run into the problem with google indexing some lowercase and some upper case urls for example: buy/Glow+Worm+Sunglasses and buy/glow-worm-sunglasses which is a problem for SEO and when I create the custom text for the keywords in v1.3 with the capital letters. (mcJiffy treats Glow+Worm+Sunglasses.txt and glow-worm-sunglasses.txt as two different things) Thanks |
I note that your second
I note that your second example used minus signs not plus signs, which indeed will make them different.
Have a look at the php command strtolower() then use in the bit of the themes/default/index.php that displays the menu & related items to lower case the link that is created.
To remove the current ones from the google index include them in your robots.txt as a disallow, then add them to the "Remove URLs" page of Google Web master Tools
And/Or
Try dropping something like this into the top of your .htaccess file
RewriteRule ^buy/Glow+Worm+Sunglasses$ buy/glow-worm-sunglasses [L,301]
---
oops I didn't mean to use
oops I didn't mean to use dashes. sorry for the confusion.
What I want is for any capitalization to be re-written as lower case urls so that when I use capital first letters for the main keyword menu items the actual url would be in all lower case. (yet still retain the capital first letter in the menu) Is that possible?
Glow+Worm+Sunglasses and glow+worm+sunglasses result in two different urls for google indexing and for the custom text feature of McJiffy.
I'm not familiar with php or re-write rules so I'm not sure without a lot of research how one might do this. You may have to walk me through it a bit. =)
I know I could do a permanent redirect in the .htaccess file but that would just make them show up as lower case in the menu anyway. Is there a way to keep the capital first letters in the menu yet have the actual url be lower case?
Could you give me a little more direction on the strtolower() for a newbe php-er =)
thanks so much!
Perhaps I figured it out,
Perhaps I figured it out, are there any problems with this statement?
<a href="<?php echo $baseUrl ?>buy/<?php echo strtolower (urlencode($mainkey)); ?>"><?php echo $mainkey; ?></a>It seems to work but I don't know if that is the correct way to do it.
Also when I try to do a redirect in the .htaccess file like this:
RedirectPermanent /subdirectory/buy/Keyword http://www.mysite.com/subdirectory/buy/keywordI get the following in the browser window and it doesn't call the custom text (which is all in lowercase):
mysite.com/subdirectory/buy/keyword?action=buy&q=Keyword
Will search engines index the long string or just the mysite.com/subdirectory/buy/keyword like I want it to? and how can I get it to call the custom text file?
Thanks Chuck or Matt
Yup, that first bit of code
Yup, that first bit of code looks fine. Coding guru's would insist that you put the strtolower *inside* the urlencode bit but in this case it doesn't really matter. (IMHO anyhow)
As for the second, have a look at using RewriteRule with a 301 response, that will tell google that /buy/Keyword has permanently moved to /buy/keyword it will then (eventually) drop the page from it's index.
HTH
---
Thanks, I wouldn't want to
Thanks, I wouldn't want to offend the guru's tho. =)
As far as the RewriteRule I haven't had any luck getting that to work using this (with my previous keyword example):
RewriteRule ^buy/Glow+Worm+Sunglasses$ buy/glow+worm+sunglasses [R=301] it just gives a 200 response header and shows the original page.
When I use RedirectPermanent it does the 301 redirect but the url has the query string (ie.. /buy/keyword?action=buy&q=Keyword) at the end which I don't want google to pick up. any ideas why that is happening?
Try putting the RewriteRule
Try putting the RewriteRule before the other default RewriteRule and add an L to the square brackets to make it look something like [R=301,L]....the L tells it that this is the last RewriteRule, so if there is a match it doesn't try to run the other RewriteRules. Make sence?
---
http://www.dnagxxames.net/
(remove the xx to view the site)
Thanks Chuck, however that
Thanks Chuck, however that didn't seem to work. It still goes directly to the original url without the redirect. Also doesn't trigger the custom text, but neither does the RedirectPermanent when I use that method.
I have McJiffy in a subdirectory does that matter with the way that Rewrite rule is written? I do have the subdirectory designated in the .htaccess file, and all the default rewrite rules work.
Not sure if it will matter,
Not sure if it will matter, never played with RewriteRules in a subdirectory to be honest.
---
http://www.dnagxxames.net/
(remove the xx to view the site)
I recently met a gentleman
I recently met a gentleman walking around the mall wearing Beats by dre and could not resist the urge to ask him how they sounded. He was kind enough Monster Ferrari Beats Headphones to let me have Monster Beatsquick listen to his Beats headphones and to say I was impressed would be quite an understatement. Checking out the sound and experiencing them for myself made me want to write this Beats By Dr. Dre Review, so I hope if Monster Beats Headphones helps those looking for a little more information on Monster Beats Studio Headphones.